Description
The plugin makes it possible to link to a playlist item using the #p<item number>
hash.
- Plays the
<item number>
- Update the history hash when next item plays or an item is selected (clicked on).
- Scrolls to top of the media element (video or audio)
Usage
Add #p<item number>
to the URL to a page with a playlist.
Demo
This will play item number 2: https://soderlind.no/playlist-demo/#p2
Installation
- Upload the plugin files to the
/wp-content/plugins/wp-link-to-playlist-item
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
FAQ
- Can I have more than one playlist on a page?
-
The plugin only supports one playlist per page.
- Does plugin support video or audio playlists?
-
The plugin supports video and audio playlists.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WP Link To Playlist Item” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP Link To Playlist Item” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.2.9
- Tested & found compatible with WP 4.7.
0.2.8
- Tested & found compatible with WP 4.6.
0.2.x
- Removed history.popstate event
- Tested code with Code Climate
- Fixed cyclomatic complexity in JavaScript code
- Replaced onload event with custom event
scroll:top
0.1
- Initial release