diff --git a/controller/frontend.php b/controller/frontend.php index bce7f7eb1..dc7a32a1a 100644 --- a/controller/frontend.php +++ b/controller/frontend.php @@ -364,8 +364,7 @@ function flowplayer_prepare_scripts() { $aConf['sticky_video'] = $fv_fp->_get_option('sticky_video'); $aConf['sticky_place'] = $fv_fp->_get_option('sticky_place'); - $aConf['sticky_width'] = $fv_fp->_get_option('sticky_width'); - + $aConf['sticky_width'] = $fv_fp->_get_option('sticky_width'); global $post; if( $post && isset($post->ID) && $post->ID > 0 ) { @@ -376,7 +375,14 @@ function flowplayer_prepare_scripts() { if( ( $fv_fp->_get_option('js-everywhere') || $fv_fp->load_hlsjs ) && $fv_fp->_get_option('hlsjs') ) { wp_enqueue_script( 'flowplayer-hlsjs', flowplayer::get_plugin_url().'/flowplayer/hls.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true ); } - + $aConf['script_hls_js'] = flowplayer::get_plugin_url().'/flowplayer/hls.min.js?ver='.$fv_wp_flowplayer_ver; + + if( $fv_fp->load_dash ) { + wp_enqueue_script( 'flowplayer-dash', flowplayer::get_plugin_url().'/flowplayer/flowplayer.dashjs.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true ); + } + $aConf['script_dash_js'] = flowplayer::get_plugin_url().'/flowplayer/flowplayer.dashjs.min.js?ver='.$fv_wp_flowplayer_ver; + $aConf['script_dash_js_version'] = '2.7'; + if( $fv_fp->_get_option('googleanalytics') ) { $aConf['analytics'] = $fv_fp->_get_option('googleanalytics'); } @@ -407,10 +413,6 @@ function flowplayer_prepare_scripts() { } } - if( $fv_fp->load_dash ) { - wp_enqueue_script( 'flowplayer-dash', flowplayer::get_plugin_url().'/flowplayer/flowplayer.dashjs.min.js', array('flowplayer'), $fv_wp_flowplayer_ver, true ); - } - } global $FV_Player_lightbox; diff --git a/flowplayer.php b/flowplayer.php index a736c503f..767e89b21 100644 --- a/flowplayer.php +++ b/flowplayer.php @@ -26,7 +26,7 @@ along with this program. If not, see . */ -$fv_wp_flowplayer_ver = '7.2.3.727.2'; +$fv_wp_flowplayer_ver = '7.2.4.727'; $fv_wp_flowplayer_core_ver = '7.2.7.1'; include_once( dirname( __FILE__ ) . '/includes/extra-functions.php' ); diff --git a/readme.txt b/readme.txt index fd4f6366f..334433169 100644 --- a/readme.txt +++ b/readme.txt @@ -357,6 +357,12 @@ Thank you for being part of the HMTL 5 mobile video revolution! == Changelog == += 7.2.4.727 - 2018/10/11 = + +* Lightbox - fixing display bugs caused by some of the floating header bars (z-index) +* HLS - using HLS.js instead of HLS.light.js as it had issues with some of the EXT-X-BYTERANGE streams +* Site speed improvements - allowing FV Player Pro to load Dash JS and HLS JS only when needed + = 7.2.3.727 - 2018/10/03 = * HLS - improving quality labels (M, SD and HD)