diff --git a/css/fancybox.css b/css/fancybox.css index c53802272..96298aa90 100644 --- a/css/fancybox.css +++ b/css/fancybox.css @@ -15,8 +15,8 @@ body.compensate-for-scrollbar{overflow:hidden;-ms-overflow-style:none}.fancybox- /* Make sure FV Player respects fancybox fullscreen mode */ .fancybox-is-fullscreen .flowplayer { - max-width: 9999px !important; - max-height: 9999px !important; + max-width: 99% !important; + max-height: 99% !important; } .fancybox-is-fullscreen .flowplayer .fp-fullscreen:before { content: "\e016"; } @@ -26,7 +26,7 @@ body.compensate-for-scrollbar{overflow:hidden;-ms-overflow-style:none}.fancybox- content: "\e116"; } .fancybox-is-fullscreen .flowplayer.fp-edgy.fp-outlined .fp-fullscreen:before, .fancybox-is-fullscreen .flowplayer.fp-edgy.fp-minimal .fp-fullscreen:before { content: "\e316"; } - + .fv-player-fancybox-play-icon { position: absolute; left: 0; diff --git a/flowplayer.php b/flowplayer.php index 5fb984fbd..dd5751cab 100644 --- a/flowplayer.php +++ b/flowplayer.php @@ -3,7 +3,7 @@ Plugin Name: FV Player Plugin URI: http://foliovision.com/wordpress/plugins/fv-wordpress-flowplayer Description: Formerly FV WordPress Flowplayer. Supports MP4, HLS, MPEG-DASH, WebM and OGV. Advanced features such as overlay ads or popups. Uses Flowplayer 7.2.7. -Version: 7.2.2.727 +Version: 7.2.3.727 Author URI: http://foliovision.com/ License: GPL-3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -26,7 +26,7 @@ along with this program. If not, see . */ -$fv_wp_flowplayer_ver = '7.2.2.727'; +$fv_wp_flowplayer_ver = '7.2.3.727'; $fv_wp_flowplayer_core_ver = '7.2.7.1'; include_once( dirname( __FILE__ ) . '/includes/extra-functions.php' ); diff --git a/js/fancybox.js b/js/fancybox.js index a04948d6a..7a1850518 100644 --- a/js/fancybox.js +++ b/js/fancybox.js @@ -57,6 +57,7 @@ function fv_fancybox_check_size() { $player = jQuery('.fancybox-slide--current .flowplayer:visible'), player_height = $player.outerHeight(), $caption = jQuery('.fancybox-caption'), + $infobar = jQuery('.fancybox-infobar'), $toolbar = jQuery('.fancybox-toolbar'), $fs_button = $player.find('.fp-fullscreen'); @@ -78,12 +79,17 @@ function fv_fancybox_check_size() { .css('max-width', (height/$player.data('ratio'))+'px'); - // hide caption if it would cover the player + // hide caption and infobar if it would cover the player if ($caption.length) { if ( $caption.position().top - 5 < $player.position().top + player_height ) $caption.hide(); else $caption.show(); } + if ($infobar.length) { + if ( $infobar.position().top+$infobar.height() > $player.position().top && $infobar.position().left+$infobar.width() > $player.position().left ) $infobar.hide(); + else $infobar.show(); + } + // hide FV Player fullscreen button if it would be covered. if ($toolbar.length) { if ( $player.position().top < $toolbar.position().top + $toolbar.height() ) $fs_button.hide(); diff --git a/js/shortcode-editor.js b/js/shortcode-editor.js index 744f94a0a..64a96db69 100644 --- a/js/shortcode-editor.js +++ b/js/shortcode-editor.js @@ -611,6 +611,12 @@ function fv_flowplayer_language_add( sInput, sLang ,iTabIndex ) { } if ( sLang ) { + if( sLang == 'iw' ) sLang = 'he'; + if( sLang == 'in' ) sLang = 'id'; + if( sLang == 'jw' ) sLang = 'jv'; + if( sLang == 'mo' ) sLang = 'ro'; + if( sLang == 'sh' ) sLang = 'sr'; + jQuery('.fv-fp-subtitle:last select.fv_wp_flowplayer_field_subtitles_lang' , oTab).val(sLang); } diff --git a/models/flowplayer.php b/models/flowplayer.php index 79be5ea60..474da3a09 100644 --- a/models/flowplayer.php +++ b/models/flowplayer.php @@ -1496,24 +1496,23 @@ public static function get_languages() { 'GN' => 'Guarani', 'GU' => 'Gujarati', 'HA' => 'Hausa', - 'IW' => 'Hebrew', + 'HE' => 'Hebrew', 'HI' => 'Hindi', 'HU' => 'Hungarian', 'IS' => 'Icelandic', - 'IN' => 'Indonesian', + 'ID' => 'Indonesian', 'IA' => 'Interlingua', 'IE' => 'Interlingue', 'IK' => 'Inupiak', 'GA' => 'Irish', 'IT' => 'Italian', 'JA' => 'Japanese', - 'JW' => 'Javanese', + 'JV' => 'Javanese', 'KN' => 'Kannada', 'KS' => 'Kashmiri', 'KK' => 'Kazakh', 'RW' => 'Kinyarwanda', - 'KY' => 'Kirghiz', - 'RN' => 'Kirundi', + 'KY' => 'Kirghiz', 'KO' => 'Korean', 'KU' => 'Kurdish', 'LO' => 'Laothian', @@ -1527,8 +1526,7 @@ public static function get_languages() { 'ML' => 'Malayalam', 'MT' => 'Maltese', 'MI' => 'Maori', - 'MR' => 'Marathi', - 'MO' => 'Moldavian', + 'MR' => 'Marathi', 'MN' => 'Mongolian', 'NA' => 'Nauru', 'NE' => 'Nepali', @@ -1544,12 +1542,12 @@ public static function get_languages() { 'QU' => 'Quechua', 'RM' => 'Rhaeto-Romance', 'RO' => 'Romanian', + 'RN' => 'Rundi', 'RU' => 'Russian', 'SM' => 'Samoan', 'SG' => 'Sangro', 'SA' => 'Sanskrit', - 'SR' => 'Serbian', - 'SH' => 'Serbo-Croatian', + 'SR' => 'Serbian', 'ST' => 'Sesotho', 'TN' => 'Setswana', 'SN' => 'Shona', diff --git a/models/subtitles.php b/models/subtitles.php index 7dbce77aa..6d767098e 100644 --- a/models/subtitles.php +++ b/models/subtitles.php @@ -18,6 +18,12 @@ function add_subtitles( $aItem, $index ) { $aOutput = array(); foreach( $aSubtitles AS $key => $subtitles ) { + if( $key == 'iw' ) $key = 'he'; + if( $key == 'in' ) $key = 'id'; + if( $key == 'jw' ) $key = 'jv'; + if( $key == 'mo' ) $key = 'ro'; + if( $key == 'sh' ) $key = 'sr'; + $objSubtitle = new stdClass; if( $key == 'subtitles' ) { $aLang = explode('-', get_bloginfo('language')); diff --git a/readme.txt b/readme.txt index f101fc7aa..fd4f6366f 100644 --- a/readme.txt +++ b/readme.txt @@ -357,6 +357,14 @@ Thank you for being part of the HMTL 5 mobile video revolution! == Changelog == += 7.2.3.727 - 2018/10/03 = + +* HLS - improving quality labels (M, SD and HD) +* Lightbox - fixing full screen sizing issue when using Chrome on Windows +* Subtitles - fixing language codes for Hebrew, Indonesian and Javanese +* Check template function - adding warning for websites which strip the query string versions +* Fixing Admin JavaScript warning + = 7.2.2.727 - 2018/09/28 = * Amazon S3 - fixing issues caused by Flash version of signed URL