Changeset 1838622
- Timestamp:
- 03/12/2018 12:58:40 PM (8 years ago)
- Location:
- fluid-player/trunk
- Files:
-
- 2 edited
-
FluidPlayerPlugin.php (modified) (6 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fluid-player/trunk/FluidPlayerPlugin.php
r1739659 r1838622 9 9 wp_enqueue_script( 10 10 'fluid-player-js', 11 self::FP_CDN_ ROOT_URL . '/fluidplayer.min.js',11 self::FP_CDN_CURRENT_URL . '/fluidplayer.min.js', 12 12 [], 13 13 false, 14 14 true 15 15 ); 16 wp_enqueue_style('fluid-player-css', self::FP_CDN_ ROOT_URL . '/fluidplayer.min.css');16 wp_enqueue_style('fluid-player-css', self::FP_CDN_CURRENT_URL . '/fluidplayer.min.css'); 17 17 } 18 18 … … 111 111 $params[static::FP_VIDEO_SOURCES] = static::prepareVideoSources( 112 112 static::extractVideos(html_entity_decode($multiResVideo)), 113 [['label' => '720', 'url' => self::FP_CDN_ROOT_URL . '/ examples/video.mp4']]113 [['label' => '720', 'url' => self::FP_CDN_ROOT_URL . '/videos/1.3/fluidplayer_480.mp4']] 114 114 ); 115 115 … … 130 130 //Autoplay 131 131 if (isset($params[static::FP_OPTIONS_AUTOPLAY_JS])) { 132 $options[static::FP_OPTIONS_AUTOPLAY_JS] = $params[static::FP_OPTIONS_AUTOPLAY_JS];132 $options[static::FP_OPTIONS_AUTOPLAY_JS] = false; 133 133 } 134 134 … … 285 285 } 286 286 287 const FP_CDN_ROOT_URL = 'https://cdn.fluidplayer.com/current'; 287 const FP_CDN_ROOT_URL = 'https://cdn.fluidplayer.com'; 288 const FP_CDN_CURRENT_URL = 'https://cdn.fluidplayer.com/current'; 288 289 289 290 const FP_ID = 'id'; … … 358 359 </video> 359 360 360 <script type="text/javascript">361 <script id="fp-container-{id}" type="text/javascript"> 361 362 362 363 var fluidPlayerPluginExtended{id} = function() { … … 367 368 ); 368 369 }; 369 370 370 (function defer() { 371 371 if (typeof(fluidPlayer) != 'undefined') { -
fluid-player/trunk/readme.txt
r1743839 r1838622 64 64 responsive="responsive"] 65 65 66 66 67 [fluid-player-multi-res-video] 67 68 [ 68 {"label": "720", "url": "http ://cdn.fluidplayer.com/current/examples/video.mp4"},69 {"label": " 360", "url": "http://cdn.fluidplayer.com/current/examples/video360.mp4"}69 {"label": "720", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_720.mp4"}, 70 {"label": "480", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_480.mp4"} 70 71 ] 71 72 [/fluid-player-multi-res-video]
Note: See TracChangeset
for help on using the changeset viewer.