1player ======= Wordpress plugin to display videos and songs with the native HTML5 player of browsers that have it or with the help of a javascript and flash library. ### Description Wordpress can manage natively video and audio files, but when it comes to play it on your site, your need a plugin. 1player is such a plugin : when you insert a video or audio into a post, it will show a full featured HTML5 player that you can customize to your needs. You can choose to use the native HTML5 player provided by the latest browsers, or use a javascript/flash library to enhance it and provide the same level of service to older browsers. Supported libraries are [MediaElementJS](http://www.mediaelementjs.com/) and [VideoJS](http://videojs.com/), but you can easily add new ones. 1player allows you to save in the Media Library files that are not hosted in your Wordpress installation (like a CDN). You can also specify several formats and qualities for each video and asign it a poster image from the Media Library. Another feature is video or audio playlist : the same player is used to display several media, with next and prev buttons to got through the playlist. ### Extending #### Add another HTML5 (javascript) player The plugin has been designed to allow easy extensions to support other HTML5 players. Let's suppose your player is named "super_html5". You will have to create a new directory in `wp-content/plugins/1player/players/super_html5` that contains a super_html5.php with the following content : add_action('super_html5_video_render', 'super_html5_render'); function super_html5_render($args){ // $args contains video sources and player options // display HTML5 video tag ?>