Changeset 1804059
- Timestamp:
- 01/16/2018 09:35:07 PM (8 years ago)
- Location:
- media-element-html5-video-and-audio-player/trunk
- Files:
-
- 2 edited
-
mediaelement-js-wp.php (modified) (9 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
media-element-html5-video-and-audio-player/trunk/mediaelement-js-wp.php
r1764544 r1804059 2 2 /** 3 3 * @package MediaElementJS 4 * @version 2.23.54 * @version 4.2.8 5 5 */ 6 6 … … 10 10 Description: Video and audio plugin for WordPress built on MediaElement.js HTML5 video and audio player library. Embeds media in your post or page using HTML5 with Flash or Silverlight fallback support for non-HTML5 browsers. Video support: MP4, Ogg, WebM, WMV. Audio support: MP3, WMA, WAV 11 11 Author: John Dyer 12 Version: 2.23.512 Version: 4.2.8 13 13 Author URI: http://j.hn/ 14 14 License: MIT … … 65 65 function mejs_register_settings() { 66 66 //register our settings 67 register_setting( 'mep_settings', 'mep_video_skin' );68 69 67 register_setting( 'mep_settings', 'mep_default_video_height' ); 70 68 register_setting( 'mep_settings', 'mep_default_video_width' ); … … 113 111 <td > 114 112 <input name="mep_default_video_type" type="text" id="mep_default_video_type" value="<?php echo get_option('mep_default_video_type'); ?>" /> <span class="description">such as "video/mp4"</span> 115 </td>116 </tr>117 <tr valign="top">118 <th scope="row">119 <label for="mep_video_skin">Video Skin</label>120 </th>121 <td >122 <select name="mep_video_skin" id="mep_video_skin">123 <option value="" <?php echo (get_option('mep_video_skin') == '') ? ' selected' : ''; ?>>Default</option>124 <option value="wmp" <?php echo (get_option('mep_video_skin') == 'wmp') ? ' selected' : ''; ?>>WMP</option>125 <option value="ted" <?php echo (get_option('mep_video_skin') == 'ted') ? ' selected' : ''; ?>>TED</option>126 </select>127 113 </td> 128 114 </tr> … … 181 167 if (!is_admin()){ 182 168 // the scripts 183 wp_enqueue_script("mediaelementjs-scripts", MEDIAELEMENTJS_DIR ." mediaelement-and-player.min.js", array('jquery'), "2.1.3", false);169 wp_enqueue_script("mediaelementjs-scripts", MEDIAELEMENTJS_DIR ."v4/mediaelement-and-player.min.js", array(), "4.2.8", false); 184 170 } 185 171 } … … 190 176 if (!is_admin()){ 191 177 // the style 192 wp_enqueue_style("mediaelementjs-styles", MEDIAELEMENTJS_DIR ."mediaelementplayer.css"); 193 194 if (get_option('mep_video_skin') != '') { 195 wp_enqueue_style("mediaelementjs-skins", MEDIAELEMENTJS_DIR ."mejs-skins.css"); 196 } 178 wp_enqueue_style("mediaelementjs-styles", MEDIAELEMENTJS_DIR ."v4/mediaelementplayer.min.css"); 179 wp_enqueue_style("mediaelementjs-styles-legacy", MEDIAELEMENTJS_DIR ."v4/mediaelementplayer-legacy.min.css"); 197 180 } 198 181 } … … 249 232 'type' => get_option('mep_default_'.$tagName.'_type'), 250 233 'preload' => 'none', 251 'skin' => get_option('mep_video_skin'),252 234 'autoplay' => '', 253 235 'loop' => '', … … 434 416 {$ogg_source} 435 417 {$captions_source} 436 <object width="{$width}" height="{$height}" type="application/x-shockwave-flash" data="{$dir}flashmediaelement.swf">437 <param name="movie" value="{$dir}flashmediaelement.swf" />438 <param name="flashvars" value="controls=true&file={$flash_src}" />439 </object>440 418 </{$tagName}> 441 419 <script type="text/javascript"> … … 473 451 function mejs_init() { 474 452 475 wp_enqueue_script( 'jquery' );476 477 453 } 478 454 -
media-element-html5-video-and-audio-player/trunk/readme.txt
r1764544 r1804059 3 3 Donate link: http://mediaelementjs.com/ 4 4 Tags: html5, video, audio, player, flash, mp4, mp3, ogg, webm, wmv, captions, subtitles, websrt, srt, accessible, Silverlight, javascript, 5 Requires at least: 2. 86 Tested up to: 4. 87 Stable tag: 2.23.55 Requires at least: 2.9 6 Tested up to: 4.9 7 Stable tag: 4.2.8 8 8 9 9 MediaElement.js is an HTML5 video and audio player with Flash fallback and captions. Supports IE, Firefox, Opera, Safari, Chrome and iPhone, iPad, Android. … … 156 156 157 157 == Changelog == 158 159 = 4.2.8 = 160 * Updating to latest 4.x version 158 161 159 162 = 2.23.5 =
Note: See TracChangeset
for help on using the changeset viewer.