All Projects → birgire → wpse-playlist

birgire / wpse-playlist

Licence: other
WordPress - Playlist shortcode with external audio or video files. Wrapper for the native playlist in WordPress.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wpse-playlist

featured-image-by-url
This plugin allows to use an external URL Images as Featured Image for your post, page & custom post types like WooCommerce Product. Includes support for Product Gallery (WooCommerce).
Stars: ✭ 28 (+64.71%)
Mutual labels:  wordpress-plugin
m3ufilter
ABANDONED - A tool that allows to filter specific items from an m3u filter designed for IPTV.
Stars: ✭ 46 (+170.59%)
Mutual labels:  playlist
disable-cart-fragments
Completely disables the AJAX cart fragments feature in WooCommerce for a huge boost in loading speed (redirect to cart page highly recommended).
Stars: ✭ 20 (+17.65%)
Mutual labels:  wordpress-plugin
simple-custom-post-order
Order posts(posts, any custom post types) using a Drag and Drop Sortable JavaScript. Configuration is unnecessary.
Stars: ✭ 18 (+5.88%)
Mutual labels:  wordpress-plugin
traduttore
🗼 A WordPress plugin to improve the I18N workflow for your own projects based on @GlotPress.
Stars: ✭ 60 (+252.94%)
Mutual labels:  wordpress-plugin
doubleclick-for-wp
WordPress plugin for serving Google Ad Manager ads
Stars: ✭ 25 (+47.06%)
Mutual labels:  wordpress-plugin
rest-api-endpoints
🌾 WordPress REST API endpoints
Stars: ✭ 31 (+82.35%)
Mutual labels:  wordpress-plugin
culqi-woocommerce
Plugin Culqi para WooCommerce (WordPress).
Stars: ✭ 12 (-29.41%)
Mutual labels:  wordpress-plugin
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (+23.53%)
Mutual labels:  wordpress-plugin
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (+505.88%)
Mutual labels:  wordpress-plugin
163MusicToSpotify
Convert your favorite 163 music playlist to Spotify
Stars: ✭ 98 (+476.47%)
Mutual labels:  playlist
create-wp-react-app
Create React WordPress plugin with no build configuration.
Stars: ✭ 56 (+229.41%)
Mutual labels:  wordpress-plugin
youtube-playlist-player
Watch and edit YouTube playlists on the desktop.
Stars: ✭ 14 (-17.65%)
Mutual labels:  playlist
lazy-load-for-comments
Lazy load WordPress default commenting system.
Stars: ✭ 17 (+0%)
Mutual labels:  wordpress-plugin
pmpro-sponsored-members
Generate a discount code for a main account holder to distribute to sponsored members.
Stars: ✭ 13 (-23.53%)
Mutual labels:  wordpress-plugin
WPCOM-Legacy-Redirector
WordPress plugin for handling large volumes of legacy redirects in a scalable manner.
Stars: ✭ 16 (-5.88%)
Mutual labels:  wordpress-plugin
wp-ban
Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
Stars: ✭ 19 (+11.76%)
Mutual labels:  wordpress-plugin
ultimate-addons-for-gutenberg
Power-up the Gutenberg editor with advanced and powerful blocks that help you build websites in minutes!
Stars: ✭ 166 (+876.47%)
Mutual labels:  wordpress-plugin
Papae.AudioManager
Papae - AudioManager is a free unity library for audio
Stars: ✭ 58 (+241.18%)
Mutual labels:  playlist
Exopite-Multifilter-Multi-Sorter-WordPress-Plugin
Display and/or sort/filter any page or post types by multiple taxonomies or terms (like post by categories and/or tags) with AJAX. Exopite multifilter, multi-sortable, multi selectable, multi filterable sortable Wordpress Plugin.
Stars: ✭ 18 (+5.88%)
Mutual labels:  wordpress-plugin

wpse-playlist

WordPress - Playlist shortcode with support for external audio and video files.

Description

This plugin allows you to use external audio or video files with the native WordPress playlist, through the use of a shortcode.

This started as an answer on WordPress StackExchange, see here, hence the name wpse-playlist.

The plugin works on PHP 5.3+ and WordPress 4.0+

Tested up to WordPress 5.8.1

It supports the GitHub Updater.

Supported shortcodes and default attributes:

[_playlist type="audio" 
               class="wpse-playlist" 
               current="true" 
               autoplay="false" 
               style="light" 
               tracklist="true" 
               tracknumbers="true" 
               images="true" 
               artists="true" 
               width="" 
               height=""
               outer="20"
               default_width="640"
               default_height="380"]
    [_track src="" 
               title="" 
               type="audio/mpeg" 
               caption="" 
               description="" 
               image="" 
               meta_artist="" 
               meta_album="" 
               meta_genre=""
               meta_length_formatted=""
               image_src="%s/wp-includes/images/media/%s.png" 
               image_width="48" 
               image_height="64"
               thumb_src="%s/wp-includes/images/media/%s.png" 
               thumb_width="48" 
               thumb_height="64"
               dimensions_original_width="300" 
               dimensions_original_height="200"
               dimensions_resized_width="600" 
               dimensions_resized_height="400"]
[/_playlist]

where one can add multiple [_track], one for each track, inside [_playlist].

The shortcodes [wpse_trac] and [wpse_playlist] are also supported, but are deprecated.

When the width and height is empty, the global $content_width is used to calculate these values.

When the playlist type is "video" the track type is automatically set to "video/mp4" as the default value.

The attributes artists, images, meta_artist, meta_album and meta_genre are only audio related.

Similarly the dimensions_original_width, dimensions_original_height, dimensions_resized_width, dimensions_resized_height are only video related.

Demo

Check it out here.

Example 1

A simple example for the audio playlist:

[_playlist]
   [_track title="Ain't Misbehavin'" src="https://github.com//s.w.org/images/core/3.9/AintMisbehavin.mp3"]
   [_track title="Buddy Bolden's Blues" src="https://github.com//s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3"]
[/_playlist]

Example 2

The vanilla audio version is generated with:

[_playlist type="audio" current="no" tracklist="yes" tracknumbers="no" images="no" artist="no"]
    [_track title="Davenport Blues" src="https://github.com//s.w.org/images/core/3.9/DavenportBlues.mp3"]
    [_track title="Dixie Blues" src="https://github.com//s.w.org/images/core/3.9/Louisiana_Five-Dixie_Blues-1919.mp3"]
[/_playlist]

Example 3

The video playlist can be generated with:

[_playlist type="video"]
    [_track caption="Live widgets previews in WordPress 3.9" src="https://github.com//s.w.org/images/core/3.9/widgets.mp4" image_src="https://github.com/wp-content/uploads/2014/04/widgets_screen.png"]
    [_track caption="Another cool video showing how live widgets previews works in WordPress 3.9" src="https://github.com//s.w.org/images/core/3.9/widgets.mp4" image_src="https://github.com/wp-content/uploads/2014/04/widgets_screen2.png"]
[/_playlist]

Any suggestions are welcomed.

Changelog

0.0.9 (2015-08-02)

- Fixed: Issue #7 by using true/false instead of 1/0 (Props: @X-PRESSIVE)

0.0.7 (2015-03-08)

- Added: New shortcodes [_playlist] and [_track].
- Deprecated: The support for the shortcodes [wpse_playlist] and [wpse_trac] will phase out. 

0.0.6 (2015-03-07)

- Added: Support for the autoplay attribute.
- Added: Support for the GitHub Updater. (Probs: @BlaineMoore)
- Added: More info in the README.md file.
- Changed: Refactored regarding late escaping.
- Changed: Replaced filter_var() with wp_validate_boolean(), so we need WordPress 4.0+.
- Fixed: Some minor adjustments.

0.0.5

- Fixed: added the missing script class to support WordPress 4.0 (Props: @ruLait)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].