Skip to content

Commit

Permalink
7.2.3.727 - bugfies
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Vicenik authored and Martin Vicenik committed Oct 3, 2018
1 parent d366475 commit da2e302
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 15 deletions.
6 changes: 3 additions & 3 deletions css/fancybox.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flowplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,7 +26,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

$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' );
Expand Down
8 changes: 7 additions & 1 deletion js/fancybox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions js/shortcode-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
16 changes: 7 additions & 9 deletions models/flowplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down
6 changes: 6 additions & 0 deletions models/subtitles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
8 changes: 8 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da2e302

Please sign in to comment.