{"id":727,"date":"2010-09-24T14:43:58","date_gmt":"2010-09-24T14:43:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/media-element-html5-video-and-audio-player\/"},"modified":"2018-01-16T23:11:14","modified_gmt":"2018-01-16T23:11:14","slug":"media-element-html5-video-and-audio-player","status":"closed","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/media-element-html5-video-and-audio-player\/","author":4153476,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"4.2.8","stable_tag":"4.2.8","tested":"4.9.29","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"MediaElement.js - HTML5 Audio and Video","header_author":"John Dyer","header_description":"","assets_banners_color":"","last_updated":"2018-01-16 23:11:14","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/mediaelementjs.com\/","header_plugin_uri":"http:\/\/mediaelementjs.com\/","header_author_uri":"http:\/\/j.hn\/","rating":4.2,"author_block_rating":0,"active_installs":5000,"downloads":637788,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>None<\/p>"},"ratings":{"1":"4","2":0,"3":0,"4":"4","5":"17"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1764552","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1764552","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.5","2.0.6","2.0.6.2","2.1.0","2.1.2","2.1.4","2.1.5","2.1.6","2.1.7","2.10.3","2.2.5","2.23.5","2.5.0","2.7.0","2.9.1","4.2.8"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1804081","resolution":"1","location":"plugin","width":1280,"height":720}},"screenshots":{"1":"Video player"}},"plugin_section":[],"plugin_tags":[452,206,203,444,222],"plugin_category":[34,50,59],"plugin_contributors":[78605],"plugin_business_model":[],"class_list":["post-727","plugin","type-plugin","status-closed","hentry","plugin_tags-audio","plugin_tags-flash","plugin_tags-html5","plugin_tags-player","plugin_tags-video","plugin_category-accessibility","plugin_category-media","plugin_category-utilities-and-tools","plugin_contributors-johndyer","plugin_committers-johndyer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/media-element-html5-video-and-audio-player.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/media-element-html5-video-and-audio-player\/trunk\/screenshot-1.jpg?rev=1804081","caption":"Lecteur vid\u00e9o"}],"raw_content":"<!--section=description-->\n<p>Video and audio plugin for WordPress built on the MediaElement.js HTML5 media player library. Provides Flash or Silverlight fallback players for non-HTML5 browsers. Supports iPhone, iPad, and Andriod.\nSupports MP4, OGG, WebM, WMV, MP3, WAV, WMA files as well as captions with WebSRT files.<\/p>\n\n<p>Check out <a href=\"http:\/\/mediaelementjs.com\/\">mediaElementjs.com<\/a> for more information and examples.<\/p>\n\n<h3>Typical Usage for video<\/h3>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" width=\"640\" height=\"360\"]\n<\/code><\/pre>\n\n<h3>Typical Usage for audio<\/h3>\n\n<pre><code>[audio src=\"http:\/\/mysite.com\/mymedia.mp3\"]\n<\/code><\/pre>\n\n<h3>Shortcode Options<\/h3>\n\n<h4>Alternatives<\/h4>\n\n<p>If you have a plugin that conflicts with MediaElement.js, you can also use the short codes<\/p>\n\n<pre><code>[mejsvideo src=\"http:\/\/mysite.com\/mymedia.mp4\" width=\"640\" height=\"360\"]\n[mejsaudio src=\"http:\/\/mysite.com\/mymedia.mp3\"]\n<\/code><\/pre>\n\n<h4>src<\/h4>\n\n<p>This location of any audio or video file<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\"]\n<\/code><\/pre>\n\n<p>You can also leave off the extention and MediaElement.js will look for all media files matching the filename (mymedia.mp4, mymedia.webm, etc.)<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia\"]\n<\/code><\/pre>\n\n<h4>type<\/h4>\n\n<p>The media type of the resource<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia?xyz\" type=\"video\/mp4\"]\n<\/code><\/pre>\n\n<h4>mp4<\/h4>\n\n<p>The location of the h.264\/MP4 source for the video.<\/p>\n\n<pre><code>[video mp4=\"http:\/\/mysite.com\/mymedia.mp4\"]\n<\/code><\/pre>\n\n<h4>mp3<\/h4>\n\n<p>The location of an MP3 file for video<\/p>\n\n<pre><code>[audio mp3=\"http:\/\/mysite.com\/mymedia.mp3\"]\n<\/code><\/pre>\n\n<h4>ogg<\/h4>\n\n<p>The location of the Theora\/Ogg source for the video.<\/p>\n\n<pre><code>[video ogg=\"http:\/\/mysite.com\/mymedia.ogg\"]\n<\/code><\/pre>\n\n<h4>webm<\/h4>\n\n<p>The location of the VP8\/WebM source for the video.<\/p>\n\n<pre><code>[video webm=\"http:\/\/mysite.com\/mymedia.webm\"]\n<\/code><\/pre>\n\n<h4>poster<\/h4>\n\n<p>The location of the poster frame for the video.<\/p>\n\n<pre><code>[video poster=\"http:\/\/mysite.com\/mymedia.png\"]\n<\/code><\/pre>\n\n<h4>width<\/h4>\n\n<p>The width of the video<\/p>\n\n<pre><code>[video width=\"640\"]\n<\/code><\/pre>\n\n<h4>height<\/h4>\n\n<p>The height of the video<\/p>\n\n<pre><code>[video height=\"264\"]\n<\/code><\/pre>\n\n<h4>loop<\/h4>\n\n<p>Loops the video or audio when it ends<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" loop=\"true\"]\n<\/code><\/pre>\n\n<h4>preload<\/h4>\n\n<p>Start loading the video as soon as possible, before the user clicks play.<\/p>\n\n<pre><code>[video preload=\"true\"]\n<\/code><\/pre>\n\n<h4>autoplay<\/h4>\n\n<p>Start playing the video as soon as it's ready.<\/p>\n\n<pre><code>[video autoplay=\"true\"]\n<\/code><\/pre>\n\n<h4>fullscreen<\/h4>\n\n<p>Disables the fullscreen button<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" fullscreen=\"false\"]\n<\/code><\/pre>\n\n<h4>duration<\/h4>\n\n<p>Disables the duration output<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" duration=\"false\"]\n<\/code><\/pre>\n\n<h4>volume<\/h4>\n\n<p>Disables the volume slider<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" volume=\"false\"]\n<\/code><\/pre>\n\n<h4>progress<\/h4>\n\n<p>Disables the progress bar<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" progress=\"false\"]\n<\/code><\/pre>\n\n<h4>captions<\/h4>\n\n<p>URL to a WebSRT captions file<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" captions=\"http:\/\/mysite.com\/mymedia.srt\"]\n<\/code><\/pre>\n\n<h4>Simple Video<\/h4>\n\n<p>Basic playback options<\/p>\n\n<pre><code>[video src=\"http:\/\/mysite.com\/mymedia.mp4\" width=\"640\" height=\"360\"]\n<\/code><\/pre>\n\n<h4>All Attributes Video<\/h4>\n\n<p>All options enabled<\/p>\n\n<pre><code>[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\"]\n<\/code><\/pre>\n\n<h4>Simple Audio<\/h4>\n\n<p>Basic playback options<\/p>\n\n<pre><code>[audio src=\"http:\/\/mysite.com\/mymedia.mp3\"]\n<\/code><\/pre>\n\n<h4>All Attributes Audio<\/h4>\n\n<p>All options enabled<\/p>\n\n<pre><code>[audio mp3=\"http:\/\/mysite.com\/mymedia.mp3\" ogg=\"http:\/\/mysite.com\/mymedia.ogg\" preload=\"true\" autoplay=\"true\"]\n<\/code><\/pre>\n\n<h3>Use in a template<\/h3>\n\n<p>You can use Wordpress shortcodes in your templates using the do_shortcode function.<\/p>\n\n<pre><code>&lt;?php echo do_shortcode('[video src=\"myvfile.mp4\"]'); ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>View <a href=\"http:\/\/mediaelementjs.com\/\">MediaElementjs.com<\/a> for more information.<\/p>\n\n<ol>\n<li>Upload the <code>media-element-html5-video-and-audio-player<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<li>Use the <code>[video]<\/code> or <code>[audio]<\/code> shortcode in your post or page with the options on the front page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>View <a href=\"http:\/\/mediaelementjs.com\/\">MediaElementjs.com<\/a> for more information.<\/p>\n\n<ol>\n<li>Upload the <code>media-element-html5-video-and-audio-player<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<li>Use the <code>[video]<\/code> or <code>[audio]<\/code> shortcode in your post or page with the options on the front page.<\/li>\n<\/ol><\/dd>\n<dt>Where can I find out more?<\/dt>\n<dd><p>Check out <a href=\"http:\/\/mediaelementjs.com\/\">mediaElementjs.com<\/a> for more examples<\/p><\/dd>\n<dt>What does this get me over other HTML5 players?<\/dt>\n<dd><p>Most HTML5 players offer one player to modern browsers and then a competely separate Flash player to older browser. This creates an inconsistent look and functionality.<\/p>\n\n<p>Instead, MediaElement.js upgrades older browsers, using Flash to mimic the entire HTML5 Media API. Then once all the browsers have something that looks like HTML5 Media, we build a consistent player on top using just HTML and CSS.<\/p>\n\n<p>See original blog post at <a href=\"http:\/\/johndyer.name\/post\/MediaElement-js-a-magic-unicorn-HTML5-video-library.aspx\">johndyer.name<\/a> for a full explanation of MediaElement.js<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.2.8<\/h4>\n\n<ul>\n<li>Updating to latest 4.x version<\/li>\n<\/ul>\n\n<h4>2.23.5<\/h4>\n\n<ul>\n<li>Updating to final version of 2.x line (Wordpress 4.9 will have the 4.x branch)<\/li>\n<li>Updated screenshot<\/li>\n<\/ul>\n\n<h4>2.2.5<\/h4>\n\n<ul>\n<li>Update to 2.2.5 codebase<\/li>\n<li>Support for true fullscreen in Chrome and Firefox (in addition to Safari)<\/li>\n<li>Support for 100% sizing<\/li>\n<\/ul>\n\n<h4>2.1.7<\/h4>\n\n<ul>\n<li>Skin selector (default, WMP, TED)<\/li>\n<li>Audio height and width<\/li>\n<li>Leave off the extension on the src attribute and files will be automatically detected<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>Updated to latest MediaElement.js code<\/li>\n<li>Changed scripts to use wp_enqueue_script(\"mediaelementjs-scripts\")<\/li>\n<li>Changed styles to use wp_enqueue_style(\"mediaelementjs-styles\")<\/li>\n<li>Added [mejsaudio] and [mejsvideo] as valid short codes. Wordpress's Jetpack will now take over [audio]<\/li>\n<\/ul>\n\n<h4>2.0.6.2<\/h4>\n\n<ul>\n<li>Fixed a problem with Wordpress SVN<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Updated to 2.0.6 codebase<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Lots of minor changes to JS code<\/li>\n<li>better IE6 support<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Plugin fix<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Silverlight fix<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Updated to 2.0.2 MEjs code<\/li>\n<\/ul>\n\n<h4>2.0.1.2<\/h4>\n\n<ul>\n<li>Loop fix<\/li>\n<li>Video for Everybody Syntax (Works even when JavaScript is turned off)<\/li>\n<\/ul>\n\n<h4>2.0.1.1<\/h4>\n\n<ul>\n<li>Autoplay fix<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Updated to 2.0.1 version<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Updated to 1.1.5 version<\/li>\n<li>Added options to turn controls on\/off<\/li>\n<li>Added loop option<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Updated to 1.1.2 version<\/li>\n<li>adds captions support and new style<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Updated to 1.1 of player<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed URL bug<\/li>\n<li>Fixed non-src bugs<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"MediaElement.js is an HTML5 video and audio player with Flash fallback and captions. Supports IE, Firefox, Opera, Safari, Chrome and iPhone, iPad, And &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=727"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/johndyer"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=727"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=727"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=727"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=727"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=727"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}