Podlove Web Player is a Podcast-optimized, HTML5-based video and audio player with Flash fallback. It supports almost every browser and also does captions, chapters and much more. Thanks to MediaElement.js for providing the foundation.
Video and audio plugin for WordPress built on the MediaElement.js HTML5 media player library. Check out mediaElementjs.com for more information on that.
This plugin is a fork of the original MediaElement.js plugin, especially enhanced for podcasting purposes.
[video src="http://mysite.com/mymedia.mp4" width="640" height="360"]
[audio src="http://mysite.com/mymedia.mp3"]
Use a WordPress-native custom field with the name "my-chapter-field" and fill it with something like this:
00:00:00.000 Introduction
00:00:57.099 First chapter title
00:10:03.104 Second chapter title
00:12:44.625 Final chapter
[audio src="http://mysite.com/mymedia.mp3" chapters="my-chapter-field"]
This location of any audio or video file
[video src="http://mysite.com/mymedia.mp4"]
You can also leave off the extention and MediaElement.js will look for all media files matching the filename (mymedia.mp4, mymedia.webm, etc.)
[video src="http://mysite.com/mymedia"]
The media type of the resource
[video src="http://mysite.com/mymedia?xyz" type="video/mp4"]
The location of the h.264/MP4 source for the video.
[video mp4="http://mysite.com/mymedia.mp4"]
The location of an MP3 file for video
[audio mp3="http://mysite.com/mymedia.mp3"]
The location of the Theora/Ogg source for the video.
[video ogg="http://mysite.com/mymedia.ogg"]
The location of the VP8/WebM source for the video.
[video webm="http://mysite.com/mymedia.webm"]
The location of the poster frame for the video.
[video poster="http://mysite.com/mymedia.png"]
The width of the video
[video width="640"]
The height of the video
[video height="264"]
Loops the video or audio when it ends
[video src="http://mysite.com/mymedia.mp4" loop="true"]
Start loading the video as soon as possible, before the user clicks play.
[video preload="true"]
Start playing the video as soon as it's ready.
[video autoplay="true"]
Disables the fullscreen button
[video src="http://mysite.com/mymedia.mp4" fullscreen="false"]
Disables the duration output
[video src="http://mysite.com/mymedia.mp4" duration="false"]
Disables the volume slider
[video src="http://mysite.com/mymedia.mp4" volume="false"]
Disables the progress bar
[video src="http://mysite.com/mymedia.mp4" progress="false"]
URL to a WebSRT captions file
[video src="http://mysite.com/mymedia.mp4" captions="http://mysite.com/mymedia.srt"]
Takes chapter string from the defined custom field and builds an interactive chapter table. Can be referenced to an external text file, too. Chapters must be written in the following format:
00:00:00.000 Introduction
00:00:57.099 First chapter title
00:10:03.104 Second chapter title
00:12:44.625 Final chapter
[audio src="http://mysite.com/mymedia.mp3" chapters="my_chapter_field"]
[audio src="http://mysite.com/mymedia.mp3" chapters="http://mychapters.com/chapters.txt"]
Basic playback options
[video src="http://mysite.com/mymedia.mp4" width="640" height="360"]
All options enabled
[video mp4="http://mysite.com/mymedia.mp4" ogg="http://mysite.com/mymedia.ogg" webm="http://mysite.com/mymedia.webm" poster="http://mysite.com/mymedia.png" preload="true" autoplay="true" width="640" height="264"]
Basic playback options
[audio src="http://mysite.com/mymedia.mp3"]
All options enabled
[audio mp3="http://mysite.com/mymedia.mp3" ogg="http://mysite.com/mymedia.ogg" preload="true" autoplay="true"]
If you have a plugin that conflicts with Podlove Web Player, you can also use the short codes
[podlovevideo src="http://mysite.com/mymedia.mp4" width="640" height="360"]
[podloveaudio src="http://mysite.com/mymedia.mp3"]
You can use Wordpress shortcodes in your templates using the do_shortcode function.
<?php echo do_shortcode('[video src="myvfile.mp4"]'); ?>
- Upload the
podlove-web-player
folder to the/wp-content/plugins/
directory - Activate the plugin through the
Plugins
menu in WordPress - Use the
[video]
or[audio]
shortcode in your post or page with the options on the front page.