Skip to content

Commit

Permalink
7.2.4.727 - improvements for lightbox, HLS and MPEG-DASH
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Vicenik authored and Martin Vicenik committed Oct 11, 2018
1 parent dd15809 commit cf4e188
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
16 changes: 9 additions & 7 deletions controller/frontend.php
Expand Up @@ -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 ) {
Expand All @@ -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');
}
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion flowplayer.php
Expand Up @@ -26,7 +26,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

$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' );
Expand Down
6 changes: 6 additions & 0 deletions readme.txt
Expand Up @@ -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)
Expand Down

0 comments on commit cf4e188

Please sign in to comment.