Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3.

Props rafa8626, grosbouff, westonruter, azaozz, Plastikschnitzer for testing.
See #39686.

Built from https://develop.svn.wordpress.org/trunk@41198


git-svn-id: http://core.svn.wordpress.org/trunk@41038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-08-01 04:43:51 +00:00
parent 59279ab349
commit 7af3b92736
71 changed files with 17580 additions and 97 deletions

View File

@ -11,9 +11,12 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! wp_is_mobile() ) {
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'mediaelement-vimeo' );
wp_enqueue_script( 'wp-mediaelement' );
wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
'classPrefix' => 'mejs-',
'stretching' => 'responsive',
'pauseOtherPlayers' => '',
) );
}

View File

@ -3053,7 +3053,7 @@ function wp_ajax_parse_embed() {
$wp_scripts->done = array();
}
ob_start();
wp_print_scripts( 'wp-mediaelement' );
wp_print_scripts( array( 'mediaelement-vimeo', 'wp-mediaelement' ) );
$scripts = ob_get_clean();
$parsed = $styles . $html . $scripts;
@ -3144,7 +3144,7 @@ function wp_ajax_parse_media_shortcode() {
wp_print_scripts( 'wp-playlist' );
} else {
wp_print_scripts( array( 'froogaloop', 'wp-mediaelement' ) );
wp_print_scripts( array( 'mediaelement-vimeo', 'wp-mediaelement' ) );
}
wp_send_json_success( array(

View File

@ -54,6 +54,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
$video_library = apply_filters( 'wp_video_shortcode_library', 'mediaelement' );
if ( in_array( 'mediaelement', array( $video_library, $audio_library ), true ) ) {
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'mediaelement-vimeo' );
wp_enqueue_script( 'wp-mediaelement' );
}
}

View File

@ -795,7 +795,7 @@ MediaDetails = AttachmentDisplay.extend({
* @global MediaElementPlayer
*/
setPlayer : function() {
var baseSettings, src;
var src;
if ( this.players.length || ! this.media || this.scriptXhr ) {
return;
@ -803,9 +803,8 @@ MediaDetails = AttachmentDisplay.extend({
src = this.model.get( 'src' );
if ( src && src.indexOf( 'vimeo' ) > -1 && ! ( 'Froogaloop' in window ) ) {
baseSettings = wp.media.mixin.mejsSettings;
this.scriptXhr = $.getScript( baseSettings.pluginPath + 'froogaloop.min.js', _.bind( this.loadPlayer, this ) );
if ( src && src.indexOf( 'vimeo' ) > -1 && ! ( 'Vimeo' in window ) ) {
this.scriptXhr = $.getScript( 'https://player.vimeo.com/api/player.js', _.bind( this.loadPlayer, this ) );
} else {
this.loadPlayer();
}

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,14 +0,0 @@
<?xml version="1.0" standalone="no"?>
<svg id="bigplay" viewBox="0 0 100 200" style="background-color:#ffffff00" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
x="0px" y="0px" width="100px" height="200px"
>
<g id="dark">
<path id="Polygon" d="M 72.5 49.5 L 38.75 68.9856 L 38.75 30.0144 L 72.5 49.5 Z" fill="#ffffff" opacity="0.75" />
<path id="Ellipse" d="M 13 50.5 C 13 29.7891 29.7891 13 50.5 13 C 71.2109 13 88 29.7891 88 50.5 C 88 71.2109 71.2109 88 50.5 88 C 29.7891 88 13 71.2109 13 50.5 Z" stroke="#ffffff" stroke-width="5" fill="none" opacity="0.75"/>
</g>
<g id="light">
<path id="Polygon2" d="M 72.5 149.5 L 38.75 168.9856 L 38.75 130.0144 L 72.5 149.5 Z" fill="#ffffff" opacity="1.0" />
<path id="Ellipse2" d="M 13 150.5 C 13 129.7891 29.7891 113 50.5 113 C 71.2109 113 88 129.7891 88 150.5 C 88 171.211 71.2109 188 50.5 188 C 29.7891 188 13 171.211 13 150.5 Z" stroke="#ffffff" stroke-width="5" fill="none" opacity="1.0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,4 +0,0 @@
var Froogaloop=function(){function e(a){return new e.fn.init(a)}function h(a,c,b){if(!b.contentWindow.postMessage)return!1;var f=b.getAttribute("src").split("?")[0],a=JSON.stringify({method:a,value:c});"//"===f.substr(0,2)&&(f=window.location.protocol+f);b.contentWindow.postMessage(a,f)}function j(a){var c,b;try{c=JSON.parse(a.data),b=c.event||c.method}catch(f){}"ready"==b&&!i&&(i=!0);if(a.origin!=k)return!1;var a=c.value,e=c.data,g=""===g?null:c.player_id;c=g?d[g][b]:d[b];b=[];if(!c)return!1;void 0!==
a&&b.push(a);e&&b.push(e);g&&b.push(g);return 0<b.length?c.apply(null,b):c.call()}function l(a,c,b){b?(d[b]||(d[b]={}),d[b][a]=c):d[a]=c}var d={},i=!1,k="";e.fn=e.prototype={element:null,init:function(a){"string"===typeof a&&(a=document.getElementById(a));this.element=a;a=this.element.getAttribute("src");"//"===a.substr(0,2)&&(a=window.location.protocol+a);for(var a=a.split("/"),c="",b=0,f=a.length;b<f;b++){if(3>b)c+=a[b];else break;2>b&&(c+="/")}k=c;return this},api:function(a,c){if(!this.element||
!a)return!1;var b=this.element,f=""!==b.id?b.id:null,d=!c||!c.constructor||!c.call||!c.apply?c:null,e=c&&c.constructor&&c.call&&c.apply?c:null;e&&l(a,e,f);h(a,d,b);return this},addEvent:function(a,c){if(!this.element)return!1;var b=this.element,d=""!==b.id?b.id:null;l(a,c,d);"ready"!=a?h("addEventListener",a,b):"ready"==a&&i&&c.call(null,d);return this},removeEvent:function(a){if(!this.element)return!1;var c=this.element,b;a:{if((b=""!==c.id?c.id:null)&&d[b]){if(!d[b][a]){b=!1;break a}d[b][a]=null}else{if(!d[a]){b=
!1;break a}d[a]=null}b=!0}"ready"!=a&&b&&h("removeEventListener",a,c)}};e.fn.init.prototype=e.fn;window.addEventListener?window.addEventListener("message",j,!1):window.attachEvent("onmessage",j);return window.Froogaloop=window.$f=e}();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,89 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Catalan
*
* @author
* Tongro
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ca === undefined) {
exports.ca = {
"mejs.plural-form": 1,
"mejs.download-file": "Descarregar arxiu",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Pantalla completa",
"mejs.play": "Reproducció",
"mejs.pause": "Pausa",
// "mejs.time-slider": "Time Slider",
// "mejs.time-help-text": "Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.",
//"mejs.live-broadcast" : "Live Broadcast",
// "mejs.volume-help-text": "Use Up/Down Arrow keys to increase or decrease volume.",
"mejs.unmute": "Reactivar silenci",
"mejs.mute": "Silenci",
// "mejs.volume-slider": "Volume Slider",
"mejs.video-player": "Reproductor de vídeo",
"mejs.audio-player": "Reproductor d'àudio",
"mejs.captions-subtitles": "Llegendes/Subtítols",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ningú"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Czech
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.cs === undefined) {
exports.cs = {
"mejs.plural-form": 8,
"mejs.download-file": "Stáhnout soubor",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Celá obrazovka",
"mejs.play": "Přehrát",
"mejs.pause": "Pozastavit",
"mejs.time-slider": "Posuvný běžec nastavení času",
"mejs.time-help-text": "Použijte tlačítka se šipkami doleva / doprava pro posun o jednu vteřinu, tlačítka se šipkami nahoru / dolů pro posun o deset vteřin.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Použijte tlačítka se šipkami nahoru / dolů pro zesílení nebo zeslabení hlasitosti.",
"mejs.unmute": "Zapnout zvuk",
"mejs.mute": "Vypnout zvuk",
"mejs.volume-slider": "Posuvný běžec nastavení hlasitosti",
"mejs.video-player": "Přehrávač videa",
"mejs.audio-player": "Přehrávač hudby",
"mejs.captions-subtitles": "Titulky",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Žádný"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* German
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.de === undefined) {
exports.de = {
"mejs.plural-form": 1,
"mejs.download-file": "Datei herunterladen",
"mejs.install-flash": "Ihr Browser unterstützt kein Flash. Bitte aktivieren Sie Flash bzw. laden Sie die aktuellste Flash-Version herunter unter https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Vollbild",
"mejs.play": "Abspielen",
"mejs.pause": "Pause",
"mejs.time-slider": "Zeitschieberegler",
"mejs.time-help-text": "Verwende die Pfeiltaste nach links/rechts, um eine Sekunde zu spulen, hoch/runter um zehn Sekunden zu spulen.",
"mejs.live-broadcast" : "Live-Übertragung",
"mejs.volume-help-text": "Verwende die Pfeiltaste nach oben/nach unten um die Lautstärke zu erhöhen oder zu verringern.",
"mejs.unmute": "Stummschaltung aufheben",
"mejs.mute": "Stummschalten",
"mejs.volume-slider": "Lautstärkeregler",
"mejs.video-player": "Video-Player",
"mejs.audio-player": "Audio-Player",
"mejs.captions-subtitles": "Überschriften/Untertitel",
"mejs.captions-chapters": "Kapitel",
"mejs.none": "Keine",
"mejs.afrikaans": "Afrikanisch",
"mejs.albanian": "Albanisch",
"mejs.arabic": "Arabisch",
"mejs.belarusian": "Weißrussisch",
"mejs.bulgarian": "Bulgarisch",
"mejs.catalan": "Katalanisch",
"mejs.chinese": "Chinesisch",
"mejs.chinese-simplified": "Chinesisch (Vereinfacht)",
"mejs.chinese-traditional": "Chinesisch (Traditionell)",
"mejs.croatian": "Kroatisch",
"mejs.czech": "Tschechisch",
"mejs.danish": "Dänisch",
"mejs.dutch": "Niederländisch",
"mejs.english": "Englisch",
"mejs.estonian": "Estnisch",
"mejs.filipino": "Filipino",
"mejs.finnish": "Finnisch",
"mejs.french": "Französisch",
"mejs.galician": "Galicisch",
"mejs.german": "Deutsch",
"mejs.greek": "Griechisch",
"mejs.haitian-creole": "Haitianisch",
"mejs.hebrew": "Hebräisch",
"mejs.hindi": "Hindi",
"mejs.hungarian": "Ungarisch",
"mejs.icelandic": "Isländisch",
"mejs.indonesian": "Indonesisch",
"mejs.irish": "Irisch",
"mejs.italian": "Italienisch",
"mejs.japanese": "Japanisch",
"mejs.korean": "Koreanisch",
"mejs.latvian": "Lettisch",
"mejs.lithuanian": "Litauisch",
"mejs.macedonian": "Mazedonisch",
"mejs.malay": "Malaysisch",
"mejs.maltese": "Maltesisch",
"mejs.norwegian": "Norwegisch",
"mejs.persian": "Persisch",
"mejs.polish": "Polnisch",
"mejs.portuguese": "Portugiesisch",
"mejs.romanian": "Rumänisch",
"mejs.russian": "Russisch",
"mejs.serbian": "Serbisch",
"mejs.slovak": "Slovakisch",
"mejs.slovenian": "Slovenisch",
"mejs.spanish": "Spanisch",
"mejs.swahili": "Swahili",
"mejs.swedish": "Schwedisch",
"mejs.tagalog": "Tagalog",
"mejs.thai": "Thailändisch",
"mejs.turkish": "Türkisch",
"mejs.ukrainian": "Ukrainisch",
"mejs.vietnamese": "Vietnamnesisch",
"mejs.welsh": "Walisisch",
"mejs.yiddish": "Jiddisch"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
/*!
* This is a `i18n` language object.
*
* Spanish
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
* Rafael Miranda (GitHub: @rafa8626)
*
* @see core/i18n.js
*/(function (exports) {
if (exports.es === undefined) {
exports.es = {
"mejs.plural-form": 1,
"mejs.download-file": "Descargar archivo",
"mejs.install-flash": "Esta usando un navegador que no tiene activado o instalado el reproductor de Flash. Por favor active el plugin del reproductor de Flash o descargue la versión más reciente en https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Pantalla completa",
"mejs.play": "Reproducción",
"mejs.pause": "Pausa",
"mejs.time-slider": "Control deslizante de tiempo",
"mejs.time-help-text": "Use las flechas Izquierda/Derecha para avanzar un segundo y las flechas Arriba/Abajo para avanzar diez segundos.",
"mejs.live-broadcast": "Transmisión en Vivo",
"mejs.volume-help-text": "Use las flechas Arriba/Abajo para subir o bajar el volumen.",
"mejs.unmute": "Reactivar silencio",
"mejs.mute": "Silencio",
"mejs.volume-slider": "Control deslizante de volumen",
"mejs.video-player": "Reproductor de video",
"mejs.audio-player": "Reproductor de audio",
"mejs.captions-subtitles": "Leyendas/Subtítulos",
"mejs.captions-chapters": "Capítulos",
"mejs.none": "Ninguno",
"mejs.afrikaans": "Afrikaans",
"mejs.albanian": "Albano",
"mejs.arabic": "Árabe",
"mejs.belarusian": "Bielorruso",
"mejs.bulgarian": "Búlgaro",
"mejs.catalan": "Catalán",
"mejs.chinese": "Chino",
"mejs.chinese-simplified": "Chino (Simplificado)",
"mejs.chinese-traditional": "Chino (Tradicional)",
"mejs.croatian": "Croata",
"mejs.czech": "Checo",
"mejs.danish": "Danés",
"mejs.dutch": "Holandés",
"mejs.english": "Inglés",
"mejs.estonian": "Estoniano",
"mejs.filipino": "Filipino",
"mejs.finnish": "Finlandés",
"mejs.french": "Francés",
"mejs.galician": "Gallego",
"mejs.german": "Alemán",
"mejs.greek": "Griego",
"mejs.haitian-creole": "Haitiano Criollo",
"mejs.hebrew": "Hebreo",
"mejs.hindi": "Hindi",
"mejs.hungarian": "Húngaro",
"mejs.icelandic": "Islandés",
"mejs.indonesian": "Indonesio",
"mejs.irish": "Irlandés",
"mejs.italian": "Italiano",
"mejs.japanese": "Japonés",
"mejs.korean": "Coreano",
"mejs.latvian": "Letón",
"mejs.lithuanian": "Lituano",
"mejs.macedonian": "Macedonio",
"mejs.malay": "Malayo",
"mejs.maltese": "Maltés",
"mejs.norwegian": "Noruego",
"mejs.persian": "Persa",
"mejs.polish": "Polaco",
"mejs.portuguese": "Portugués",
"mejs.romanian": "Rumano",
"mejs.russian": "Ruso",
"mejs.serbian": "Serbio",
"mejs.slovak": "Eslovaco",
"mejs.slovenian": "Eslovenio",
"mejs.spanish": "Español",
"mejs.swahili": "Swahili",
"mejs.swedish": "Suizo",
"mejs.tagalog": "Tagalog",
"mejs.thai": "Tailandés",
"mejs.turkish": "Turco",
"mejs.ukrainian": "Ucraniano",
"mejs.vietnamese": "Vietnamita",
"mejs.welsh": "Galés",
"mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
/*!
* This is a `i18n` language object.
*
* Persian
*
* @author
* wmateam (GitHub: @wmateam)
*
* @see core/i18n.js
*/(function (exports) {
"use strict";
if (exports.fa === undefined) {
exports.fa = {
"mejs.plural-form": 0,
"mejs.download-file": "دریافت فایل",
"mejs.install-flash": "افزونه فلش پلیر روی مرورگر شما نصب نیست یا غیر فعال است.افزونه را فعال کنید و یا از https://get.adobe.com/flashplayer/ دریافت و نصب کنید.",
"mejs.fullscreen": "تمام صفحه",
"mejs.play": "پخش",
"mejs.pause": "توقف",
"mejs.time-slider": "تغییر زمان",
"mejs.time-help-text": "از کلید های چپ و راست کیبورد برای جا به جایی به میزان یک ثانیه استفاده کنید.همچنین کلید های بالا و پایین 10 ثانیه زمان را جا به جا می کند.",
"mejs.live-broadcast": "پخش زنده",
"mejs.volume-help-text": "از دکمه های بالا و پایین برای کم و زیاد کردن حجم صدا استفاده کنید.",
"mejs.unmute": "صدا دار",
"mejs.mute": "بی صدا",
"mejs.volume-slider": "تغییر حجم صدا",
"mejs.video-player": "پخش کننده ویدیو",
"mejs.audio-player": "پخش کننده صدا",
"mejs.captions-subtitles": "زیرنویس",
"mejs.captions-chapters": "قسمت",
"mejs.none": "هیچ",
"mejs.afrikaans": "آفریقایی",
"mejs.albanian": "آلبانیایی",
"mejs.arabic": "عربی",
"mejs.belarusian": "بلاروس",
"mejs.bulgarian": "بلغاری",
"mejs.catalan": "کاتالان",
"mejs.chinese": "چینی",
"mejs.chinese-simplified": "چینی (ساده شده)",
"mejs.chinese-traditional": "چینی (سنتی)",
"mejs.croatian": "کروات",
"mejs.czech": "چک",
"mejs.danish": "دانمارکی",
"mejs.dutch": "هلندی",
"mejs.english": "انگلیسی",
"mejs.estonian": "استونی",
"mejs.filipino": "فیلیپینی",
"mejs.finnish": "فنلاندری",
"mejs.french": "فرانسوی",
"mejs.galician": "گالیسی",
"mejs.german": "آلمانی",
"mejs.greek": "یونانی",
"mejs.haitian-creole": "کریول هائیتی",
"mejs.hebrew": "عبری",
"mejs.hindi": "هندی",
"mejs.hungarian": "مجارستانی",
"mejs.icelandic": "ایسلندی",
"mejs.indonesian": "اندونزی",
"mejs.irish": "ایرلندی",
"mejs.italian": "ایتالیایی",
"mejs.japanese": "ژاپنی",
"mejs.korean": "کره ای",
"mejs.latvian": "لتونی",
"mejs.lithuanian": "لیتوانی",
"mejs.macedonian": "مقدونی",
"mejs.malay": "مالایی",
"mejs.maltese": "مالتی",
"mejs.norwegian": "نروژی",
"mejs.persian": "فارسی",
"mejs.polish": "لهستانی",
"mejs.portuguese": "پرتغالی",
"mejs.romanian": "روانی",
"mejs.russian": "روسی",
"mejs.serbian": "صرب",
"mejs.slovak": "اسلواکی",
"mejs.slovenian": "اسلوونیایی",
"mejs.spanish": "اسپانیایی",
"mejs.swahili": "سواحیلی",
"mejs.swedish": "سوئد",
"mejs.tagalog": "تاگالوگ",
"mejs.thai": "تایلندی",
"mejs.turkish": "ترکی",
"mejs.ukrainian": "اوکراین",
"mejs.vietnamese": "ویتنامی",
"mejs.welsh": "ولزی",
"mejs.yiddish": "ییدیش"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* French
*
* @author
* Luc Poupard (Twitter: @klohFR)
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.fr === undefined) {
exports.fr = {
"mejs.plural-form": 2,
"mejs.download-file": "Télécharger le fichier",
"mejs.install-flash": "Vous utilisez un navigateur sur lequel Flash ne semble pas installé ou activé. Veuillez activer le plugin Flash ou télécharger la dernière version sur https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Plein écran",
"mejs.play": "Lecture",
"mejs.pause": "Pause",
"mejs.time-slider": "Curseur temporel",
"mejs.time-help-text": "Utilisez les flèches Gauche/Droite du clavier pour avancer d'une seconde, les flèches Haut/Bas pour avancer de 10 secondes.",
"mejs.live-broadcast" : "Diffusion en direct",
"mejs.volume-help-text": "Utilisez les flèches Haut/Bas du clavier pour augmenter ou diminuer le volume.",
"mejs.unmute": "Activer le son",
"mejs.mute": "Désactiver le son",
"mejs.volume-slider": "Volume",
"mejs.video-player": "Lecteur Vidéo",
"mejs.audio-player": "Lecteur Audio",
"mejs.captions-subtitles": "Sous-titres",
"mejs.captions-chapters": "Chapitres",
"mejs.none": "Aucun",
"mejs.afrikaans": "Afrikaans",
"mejs.albanian": "Albanais",
"mejs.arabic": "Arabe",
"mejs.belarusian": "Biélorusse",
"mejs.bulgarian": "Bulgare",
"mejs.catalan": "Catalan",
"mejs.chinese": "Chinois",
"mejs.chinese-simplified": "Chinois (simplifié)",
"mejs.chinese-traditional": "Chinois (traditionnel)",
"mejs.croatian": "Croate",
"mejs.czech": "Tchèque",
"mejs.danish": "Danois",
"mejs.dutch": "Néerlandais",
"mejs.english": "Anglais",
"mejs.estonian": "Estonien",
"mejs.filipino": "Filipino",
"mejs.finnish": "Finnois",
"mejs.french": "Français",
"mejs.galician": "Galicien",
"mejs.german": "Allemand",
"mejs.greek": "Grec",
"mejs.haitian-creole": "Créole haïtien",
"mejs.hebrew": "Hébreu",
"mejs.hindi": "Hindi",
"mejs.hungarian": "Hongrois",
"mejs.icelandic": "Islandais",
"mejs.indonesian": "Indonésien",
"mejs.irish": "Irlandais",
"mejs.italian": "Italien",
"mejs.japanese": "Japonais",
"mejs.korean": "Coréen",
"mejs.latvian": "Letton",
"mejs.lithuanian": "Lituanien",
"mejs.macedonian": "Macédonien",
"mejs.malay": "Malais",
"mejs.maltese": "Maltais",
"mejs.norwegian": "Norvégien",
"mejs.persian": "Perse",
"mejs.polish": "Polonais",
"mejs.portuguese": "Portugais",
"mejs.romanian": "Roumain",
"mejs.russian": "Russe",
"mejs.serbian": "Serbe",
"mejs.slovak": "Slovaque",
"mejs.slovenian": "Slovène",
"mejs.spanish": "Espagnol",
"mejs.swahili": "Swahili",
"mejs.swedish": "Suédois",
"mejs.tagalog": "Tagalog",
"mejs.thai": "Thaï",
"mejs.turkish": "Turque",
"mejs.ukrainian": "Ukrainien",
"mejs.vietnamese": "Vietnamien",
"mejs.welsh": "Gallois",
"mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,87 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Croatian
*
* @author
* Hrvoj3e (hrvoj3e@gmail.com) * @see core/i18n.js
*/
(function (exports) {
if (exports.hr === undefined) {
exports.hr = {
"mejs.plural-form": 7,
"mejs.download-file": "Preuzmi datoteku",
"mejs.install-flash": "Koristite preglednik koji nema omogućen ili instaliran Flash preglednik. Molimo Vas uključite Flash dodatak ili preuzmite najnoviju verziju s https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Puni zaslon",
"mejs.play": "Pokreni",
"mejs.pause": "Zaustavi",
"mejs.time-slider": "Vremenska traka",
"mejs.time-help-text": "Koristi strelice lijevo/desno za pomak naprijed za 1 sekundu te gore/dolje za pomak od 10 sekundi.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Koristi strelice gore/dolje za pojačavanje ili stišavanje.",
"mejs.unmute": "Uključi zvuk",
"mejs.mute": "Isključi zvuk",
"mejs.volume-slider": "Pokazivač razine zvuka",
"mejs.video-player": "Video preglednik",
"mejs.audio-player": "Audio preglednik",
"mejs.captions-subtitles": "Opisi/Prijevodi",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ništa",
"mejs.afrikaans": "Afrički",
"mejs.albanian": "Albanski",
"mejs.arabic": "Arapski",
"mejs.belarusian": "Bjeloruski",
"mejs.bulgarian": "Bugarski",
"mejs.catalan": "Katalonski",
"mejs.chinese": "Kineski",
"mejs.chinese-simplified": "Kineski (jednostavni)",
"mejs.chinese-traditional": "Kineski (tradicionalni)",
"mejs.croatian": "Hrvatski",
"mejs.czech": "Češki",
"mejs.danish": "Danski",
"mejs.dutch": "Nizozemski",
"mejs.english": "Engleski",
"mejs.estonian": "Estonski",
"mejs.filipino": "Filipinski",
"mejs.finnish": "Finski",
"mejs.french": "Francuski",
"mejs.galician": "Galicijski",
"mejs.german": "Njemački",
"mejs.greek": "Grčki",
"mejs.haitian-creole": "Haićanski kreolski",
"mejs.hebrew": "Hebrejski",
"mejs.hindi": "Hindski",
"mejs.hungarian": "Mađarski",
"mejs.icelandic": "Islandski",
"mejs.indonesian": "Indonezijski",
"mejs.irish": "Irski",
"mejs.italian": "Talijanski",
"mejs.japanese": "Japanski",
"mejs.korean": "Korejski",
"mejs.latvian": "Latvijski",
"mejs.lithuanian": "Litvanski",
"mejs.macedonian": "Makedonski",
"mejs.malay": "Malajski",
"mejs.maltese": "Malteški",
"mejs.norwegian": "Norveški",
"mejs.persian": "Perzijski",
"mejs.polish": "Poljski",
"mejs.portuguese": "Portugalski",
"mejs.romanian": "Rumunjski",
"mejs.russian": "Ruski",
"mejs.serbian": "Srpski",
"mejs.slovak": "Slovački",
"mejs.slovenian": "Slovenski",
"mejs.spanish": "Španjolski",
"mejs.swahili": "Svahili",
"mejs.swedish": "Švedski",
"mejs.tagalog": "Tagaloški",
"mejs.thai": "Tajski",
"mejs.turkish": "Turski",
"mejs.ukrainian": "Ukrajinski",
"mejs.vietnamese": "Vijetnamski",
"mejs.welsh": "Velški",
"mejs.yiddish": "Jidiški"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Hungarian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.hu === undefined) {
exports.hu = {
"mejs.plural-form": 1,
"mejs.download-file": "Fájl letöltése",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Teljes képernyő",
"mejs.play": "Lejátszás",
"mejs.pause": "Szünet",
"mejs.time-slider": "Idő csúszka",
"mejs.time-help-text": "Használja a Bal/Jobb nyíl gombokat az egy másodperces léptetéshez, a Fel/Le nyíl gombokat a tíz másodperces léptetéshez.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Használja a Fel/Le nyíl gombokat a hangerő növeléséhez vagy csökkentéséhez.",
"mejs.unmute": "Némítás feloldása",
"mejs.mute": "Némítás",
"mejs.volume-slider": "Hangerőcsúszka",
"mejs.video-player": "Videolejátszó",
"mejs.audio-player": "Audiolejátszó",
"mejs.captions-subtitles": "Képaláírás/Feliratok",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Nincs"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Italian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.it === undefined) {
exports.it = {
"mejs.plural-form": 1,
"mejs.download-file": "Scaricare il file",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Schermo intero",
"mejs.play": "Eseguire",
"mejs.pause": "Pausa",
"mejs.time-slider": "Barra di scorrimento",
"mejs.time-help-text": "Utilizzare i tasti Freccia sinistra/Freccia destra per avanzare di un secondo, Freccia Su/Giù per avanzare dieci secondi.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Utilizzare i tasti Freccia Su/Giù per aumentare o diminuire il volume.",
"mejs.unmute": "Disattivare muto",
"mejs.mute": "Muto",
"mejs.volume-slider": "Barra del volume",
"mejs.video-player": "Lettore Video",
"mejs.audio-player": "Lettore Audio",
"mejs.captions-subtitles": "Acquisizioni/sottotitoli",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Nessuno"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Japanese
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ja === undefined) {
exports.ja = {
"mejs.plural-form": 0,
"mejs.download-file": "ファイルをダウンロードする",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "全画面",
"mejs.play": "再生",
"mejs.pause": "一時停止",
"mejs.time-slider": "タイムスライダー",
"mejs.time-help-text": "1秒進めるには左/右矢印をキーを、10秒進めるには上/下矢印を使います。",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "音量を上げたり下げたりするには、上/下矢印を使います。",
"mejs.unmute": "ミュートを解除",
"mejs.mute": "ミュート",
"mejs.volume-slider": "音量スライダー",
"mejs.video-player": "ビデオプレーヤー",
"mejs.audio-player": "オーディオプレーヤー",
"mejs.captions-subtitles": "キャプション/字幕",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "なし"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Korean
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ko === undefined) {
exports.ko = {
"mejs.plural-form": 0,
"mejs.download-file": "파일 다운로드",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "전체화면",
"mejs.play": "작동",
"mejs.pause": "정지",
"mejs.time-slider": "시간 슬라이더",
"mejs.time-help-text": "1초 전진하려면 좌/우측 화살표를 사용하시고 10초 전진하려면 위/아래 화살표를 사용하세요.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "볼륨을 높이거나 낮추려면 위/아래 화살표를 이용하세요.",
"mejs.unmute": "음소거 해제",
"mejs.mute": "말 없는",
"mejs.volume-slider": "볼륨 슬라이더",
"mejs.video-player": "비디오 플레이어",
"mejs.audio-player": "오디오 플레이어",
"mejs.captions-subtitles": "캡션/자막",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "없음"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Dutch
*
* @author
* Leonard de Ruijter, Twitter: @LeonarddR
* Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.nl === undefined) {
exports.nl = {
"mejs.plural-form": 1,
"mejs.download-file": "Bestand downloaden",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Volledig scherm",
"mejs.play": "Afspelen",
"mejs.pause": "Pauzeren",
"mejs.time-slider": "Tijd schuifbalk",
"mejs.time-help-text": "Gebruik pijl naar links/rechts om per seconde te springen, pijl omhoog/omlaag om per tien seconden te springen.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Gebruik pijl omhoog/omlaag om het volume te verhogen/verlagen.",
"mejs.unmute": "Dempen opheffen",
"mejs.mute": "Dempen",
"mejs.volume-slider": "Volume schuifbalk",
"mejs.video-player": "Videospeler",
"mejs.audio-player": "Audiospeler",
"mejs.captions-subtitles": "Bijschriften/ondertiteling",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Geen"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Polish
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.pl === undefined) {
exports.pl = {
"mejs.plural-form": 9,
"mejs.download-file": "Pobierz plik",
"mejs.install-flash": "Twoja przeglądarka nie ma włączonej lub zainstalowanej wtyczki Flash Player. Prosimy ją włączyć lub pobrać najnowszą wersję ze strony https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Pełny ekran",
"mejs.play": "Odtwarzaj",
"mejs.pause": "Wstrzymaj",
"mejs.time-slider": "Suwak czasu",
"mejs.time-help-text": "Strzałki w lewo/w prawo powodują przewijanie o sekundę, strzałki w górę/w dół o dziesięć sekund.",
"mejs.live-broadcast": "Transmisja na żywo",
"mejs.volume-help-text": "Aby zwiększyć lub zmniejszyć głośność, użyj strzałek w górę/w dół.",
"mejs.unmute": "Wyłącz wyciszenie",
"mejs.mute": "Wycisz",
"mejs.volume-slider": "Suwak głośności",
"mejs.video-player": "Odtwarzacz wideo",
"mejs.audio-player": "Odtwarzacz audio",
"mejs.captions-subtitles": "Podpisy/napisy",
"mejs.captions-chapters": "Rozdziały",
"mejs.none": "Brak",
"mejs.afrikaans": "Afrykański",
"mejs.albanian": "Albański",
"mejs.arabic": "Arabski",
"mejs.belarusian": "Białoruski",
"mejs.bulgarian": "Bułgarski",
"mejs.catalan": "Kataloński",
"mejs.chinese": "Chiński",
"mejs.chinese-simplified": "Chiński (uproszczony)",
"mejs.chinese-traditional": "Chiński (tradycyjny)",
"mejs.croatian": "Chorwacki",
"mejs.czech": "Czeski",
"mejs.danish": "Duński",
"mejs.dutch": "Holenderski",
"mejs.english": "Angielski",
"mejs.estonian": "Estoński",
"mejs.filipino": "Filipiński",
"mejs.finnish": "Fiński",
"mejs.french": "Francuski",
"mejs.galician": "Galicyjski",
"mejs.german": "Niemiecki",
"mejs.greek": "Grecki",
"mejs.haitian-creole": "Haitański",
"mejs.hebrew": "Hebrajski",
"mejs.hindi": "Hinduski",
"mejs.hungarian": "Węgierski",
"mejs.icelandic": "Islandzki",
"mejs.indonesian": "Indonezyjski",
"mejs.irish": "Irlandzki",
"mejs.italian": "Włoski",
"mejs.japanese": "Japoński",
"mejs.korean": "Koreański",
"mejs.latvian": "Łotewski",
"mejs.lithuanian": "Litewski",
"mejs.macedonian": "Macedoński",
"mejs.malay": "Malajski",
"mejs.maltese": "Maltański",
"mejs.norwegian": "Norweski",
"mejs.persian": "Perski",
"mejs.polish": "Polski",
"mejs.portuguese": "Portugalski",
"mejs.romanian": "Rumuński",
"mejs.russian": "Rosyjski",
"mejs.serbian": "Serbski",
"mejs.slovak": "Słowacki",
"mejs.slovenian": "Słoweński",
"mejs.spanish": "Hiszpański",
"mejs.swahili": "Suahili",
"mejs.swedish": "Szwedzki",
"mejs.tagalog": "Tagalski",
"mejs.thai": "Tajski",
"mejs.turkish": "Turecki",
"mejs.ukrainian": "Ukraiński",
"mejs.vietnamese": "Wietnamski",
"mejs.welsh": "Walijski",
"mejs.yiddish": "Jidysz"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Brazilian (Portuguese)
*
* @author
* Armando Meziat (Twitter: @odnamrataizem)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports['pt-BR'] === undefined) {
exports['pt-BR'] = {
"mejs.plural-form": 2,
"mejs.download-file": "Baixar arquivo",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Tela inteira",
//"mejs.play": "Play",
//"mejs.pause": "Pause",
//"mejs.time-slider": "Time Slider",
//"mejs.time-help-text": "Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.",
//"mejs.live-broadcast" : "Live Broadcast",
//"mejs.time-skip-back": "Skip back %1 second(s)",
//"mejs.volume-help-text": "Use Up/Down Arrow keys to increase or decrease volume.",
"mejs.unmute": "Tirar silêncio",
"mejs.mute": "Silenciar",
//"mejs.volume-slider": "Volume Slider",
//"mejs.video-player": "Video Player",
//"mejs.audio-player": "Audio Player",
"mejs.captions-subtitles": "Legendas",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Sem legendas"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,92 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Portuguese
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.pt === undefined) {
exports.pt = {
"mejs.plural-form": 1,
"mejs.download-file": "Descarregar o ficheiro",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Ecrã completo",
"mejs.play": "Reprodução",
"mejs.pause": "Pausa",
"mejs.time-slider": "Deslizador do tempo",
"mejs.time-help-text": "Use as teclas das setas para a esquerda/direita para avançar um segundo, e as setas para cima/baixo para avançar dez segundos.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Use as teclas das setas para cima/baixo para aumentar ou diminuir o volume.",
"mejs.unmute": "Voltar ao som",
"mejs.mute": "Silêncio",
"mejs.volume-slider": "Deslizador do volume",
"mejs.video-player": "Leitor de vídeo",
"mejs.audio-player": "Leitor de áudio",
"mejs.captions-subtitles": "Legendas",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Nenhum"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Romanian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ro === undefined) {
exports.ro = {
"mejs.plural-form": 5,
"mejs.download-file": "Descarcă fişierul",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Ecran complet",
"mejs.play": "Redare",
"mejs.pause": "Pauză",
"mejs.time-slider": "Cursor timp",
"mejs.time-help-text": "Utilizează tastele săgeată Stânga/Dreapta pentru a avansa o secundă şi săgeţile Sus/Jos pentru a avansa zece secunde.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Utilizează tastele de săgeată Sus/Jos pentru a creşte/micşora volumul",
"mejs.unmute": "Cu sunet",
"mejs.mute": "Fără sunet",
"mejs.volume-slider": "Cursor volum",
"mejs.video-player": "Player video",
"mejs.audio-player": "Player audio",
"mejs.captions-subtitles": "Legende/Subtitrări",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Niciunul"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Russian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ru === undefined) {
exports.ru = {
"mejs.plural-form": 7,
"mejs.download-file": "Скачать файл",
"mejs.install-flash": "Flash player в вашем браузере не установлен или отключен. Пожалуйста включите ваш Flash player или скачайте последнюю версию с https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Полноэкранный режим",
"mejs.play": "Воспроизвести",
"mejs.pause": "Пауза",
"mejs.time-slider": "Слайдер времени",
"mejs.time-help-text": "Используйте Левую/Правую клавиши со стрелками, чтобы продвинуться на одну секунду, клавиши со стрелками Вверх/Вниз, чтобы продвинуться на десять секунд.",
"mejs.live-broadcast" : "Прямая трансляция",
"mejs.volume-help-text": "Используйте клавиши со стрелками Вверх/Вниз, чтобы увеличить или уменьшить громкость.",
"mejs.unmute": "Включить звук",
"mejs.mute": "Отключить звук",
"mejs.volume-slider": "Слайдер громкости",
"mejs.video-player": "Видеоплеер",
"mejs.audio-player": "Аудиоплеер",
"mejs.captions-subtitles": "Титры/Субтитры",
"mejs.captions-chapters": "Главы",
"mejs.none": "Нет",
"mejs.afrikaans": "Африканский",
"mejs.albanian": "Албанский",
"mejs.arabic": "Арабский",
"mejs.belarusian": "Белорусский",
"mejs.bulgarian": "Болгарский",
"mejs.catalan": "Каталонский",
"mejs.chinese": "Китайский",
"mejs.chinese-simplified": "Китайский (упрощенный)",
"mejs.chinese-traditional": "Chinese (традиционный)",
"mejs.croatian": "Хорватский",
"mejs.czech": "Чешский",
"mejs.danish": "Датский",
"mejs.dutch": "Голландский",
"mejs.english": "Английский",
"mejs.estonian": "Эстонский",
"mejs.filipino": "Филиппинский",
"mejs.finnish": "Финский",
"mejs.french": "Французский",
"mejs.galician": "Галисийский",
"mejs.german": "Немецкий",
"mejs.greek": "Греческий",
"mejs.haitian-creole": "Гаитянский креольский",
"mejs.hebrew": "Иврит",
"mejs.hindi": "Хинди",
"mejs.hungarian": "Венгерский",
"mejs.icelandic": "Исландский",
"mejs.indonesian": "Индонезийский",
"mejs.irish": "Ирландский",
"mejs.italian": "Итальянский",
"mejs.japanese": "Японский",
"mejs.korean": "Корейский",
"mejs.latvian": "Латышский",
"mejs.lithuanian": "Литовский",
"mejs.macedonian": "Македонский",
"mejs.malay": "Малайский",
"mejs.maltese": "Мальтийский",
"mejs.norwegian": "Норвежский",
"mejs.persian": "Персидский",
"mejs.polish": "Польский",
"mejs.portuguese": "Португальский",
"mejs.romanian": "Румынский",
"mejs.russian": "Русский",
"mejs.serbian": "Сербский",
"mejs.slovak": "Словацкий",
"mejs.slovenian": "Словенский",
"mejs.spanish": "Испанский",
"mejs.swahili": "Суахили",
"mejs.swedish": "Шведский",
"mejs.tagalog": "Тагальский",
"mejs.thai": "Тайский",
"mejs.turkish": "Турецкий",
"mejs.ukrainian": "Украинский",
"mejs.vietnamese": "Вьетнамский",
"mejs.welsh": "Валлийский",
"mejs.yiddish": "Идиш"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Slovak
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.sk === undefined) {
exports.sk = {
"mejs.plural-form": 8,
"mejs.download-file": "Prevziať súbor",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Celá obrazovka",
"mejs.play": "Prehrať",
"mejs.pause": "Pozastaviť",
"mejs.time-slider": "Posúvač času",
"mejs.time-help-text": "Klávesmi so šípkou doľava/doprava posuniete o jednu sekundu, šípkami nahor/ nadol posuniete o desať sekúnd.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Klávesmi so šípkou nahor/nadol zvýšite alebo znížite hlasitosť.",
"mejs.unmute": "Zrušiť stlmenie",
"mejs.mute": "Stlmiť",
"mejs.volume-slider": "Posúvač hlasitosti",
"mejs.video-player": "Prehrávač videa",
"mejs.audio-player": "Prehrávač zvuku",
"mejs.captions-subtitles": "Skryté titulky/Titulky",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Žiadne"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,89 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Swedish
*
* @author
* Petter (Twitter: @petter_j)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.sv === undefined) {
exports.sv = {
"mejs.plural-form": 1,
"mejs.download-file": "Ladda ner fil",
"mejs.install-flash": "Du använder en webbläsare som inte har Flash Player aktiverat eller installerad. Aktivera Flash Player eller hämta den senaste versionen från https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Fullskärm",
"mejs.play": "Spela",
"mejs.pause": "Pausa",
"mejs.time-slider": "Tidslinje",
"mejs.time-help-text": "Använd Vänster/Höger piltangent för att spola en sekund, Upp/Ner piltangent spola tio sekunder.",
"mejs.live-broadcast": "Livesändning",
"mejs.volume-help-text": "Använd Upp/Ner piltangent för att öka eller minska volymen.",
"mejs.unmute": "Ljud på",
"mejs.mute": "Ljud av",
"mejs.volume-slider": "Volymkontroll",
"mejs.video-player": "Videospelare",
"mejs.audio-player": "Ljudspelare",
"mejs.captions-subtitles": "Textning/Undertexter",
"mejs.captions-chapters": "Kapitel",
"mejs.none": "Ingen",
"mejs.afrikaans": "Afrikaans",
"mejs.albanian": "Albanska",
"mejs.arabic": "Arabiska",
"mejs.belarusian": "Nederländska",
"mejs.bulgarian": "Bulgariska",
"mejs.catalan": "Katalanska",
"mejs.chinese": "Kinesiska",
"mejs.chinese-simplified": "Kinesiska (Förenklad)",
"mejs.chinese-traditional": "Kinesiska (Traditionell)",
"mejs.croatian": "Kroatiska",
"mejs.czech": "Tjeckiska",
"mejs.danish": "Danska",
"mejs.dutch": "Holländska",
"mejs.english": "Engelska",
"mejs.estonian": "Estniska",
"mejs.filipino": "Filipinska",
"mejs.finnish": "Finska",
"mejs.french": "Franska",
"mejs.galician": "Galiciska",
"mejs.german": "Tyska",
"mejs.greek": "Grekiska",
"mejs.haitian-creole": "Haitisk kreolsk",
"mejs.hebrew": "Hebreiska",
"mejs.hindi": "Hindi",
"mejs.hungarian": "Ungerska",
"mejs.icelandic": "Isländska",
"mejs.indonesian": "Indonesiska",
"mejs.irish": "Irländska",
"mejs.italian": "Italienska",
"mejs.japanese": "Japanska",
"mejs.korean": "Koreanska",
"mejs.latvian": "Lettiska",
"mejs.lithuanian": "Litauiska",
"mejs.macedonian": "Makedonska",
"mejs.malay": "Malaysiska",
"mejs.maltese": "Maltesiska",
"mejs.norwegian": "Norska",
"mejs.persian": "Persiska",
"mejs.polish": "Polska",
"mejs.portuguese": "Portugisiska",
"mejs.romanian": "Romänska",
"mejs.russian": "Ryska",
"mejs.serbian": "Serbiska",
"mejs.slovak": "Slovakiska",
"mejs.slovenian": "Slovenska",
"mejs.spanish": "Spanska",
"mejs.swahili": "Swahiliska",
"mejs.swedish": "Svenska",
"mejs.tagalog": "Tagalogiska",
"mejs.thai": "Thailänska",
"mejs.turkish": "Turkiska",
"mejs.ukrainian": "Ukrainska",
"mejs.vietnamese": "Vietnamesiska",
"mejs.welsh": "Skotska",
"mejs.yiddish": "Jiddisch"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,89 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Ukrainian
*
* @author
* Dmitry Krekota (dmitry.krekota@gmail.com)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.uk === undefined) {
exports.uk = {
"mejs.plural-form": 7,
// "mejs.download-file": "Download File",
"mejs.install-flash": "Flash Player у вашому браузері не встановлений або відключений. Будь ласка включіть Flash Player або скачайте останню версію із https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "Повноекранний режим",
"mejs.play": "Пуск",
"mejs.pause": "Пауза",
"mejs.time-slider": "Повзунок часу",
"mejs.time-help-text": "Використовуйте ліву/праву клавіші зі стрілками, щоб переміститися на одну секунду, або клавіші вверх/вниз, щоб переміститися на десять секунд.",
"mejs.live-broadcast" : "Пряма трансляція",
"mejs.volume-help-text": "Використовуйте клавіші зі стрілками вверх/вниз, щоб збільшити або зменшити звук.",
"mejs.unmute": "Включити звук",
"mejs.mute": "Відключити звук",
"mejs.volume-slider": "Повзунок звуку",
"mejs.video-player": "Відеоплеєр",
"mejs.audio-player": "Аудіоплеєр",
"mejs.captions-subtitles": "Титри/Субтитри",
"mejs.captions-chapters": "Глави",
"mejs.none": "Немає",
"mejs.afrikaans": "Африкаанс",
"mejs.albanian": "Албанська",
"mejs.arabic": "Арабська",
"mejs.belarusian": "Білоруська",
"mejs.bulgarian": "Болгарська",
"mejs.catalan": "Каталонська",
"mejs.chinese": "Китайська",
"mejs.chinese-simplified": "Китайська (спрощена)",
"mejs.chinese-traditional": "Китайська (традиційна)",
"mejs.croatian": "Хорватска",
"mejs.czech": "Чеська",
"mejs.danish": "Дацька",
"mejs.dutch": "Голландська",
"mejs.english": "Английська",
"mejs.estonian": "Естонська",
"mejs.filipino": "Філіппінська",
"mejs.finnish": "Фінська",
"mejs.french": "Французька",
"mejs.galician": "Галісійська",
"mejs.german": "Німецька",
"mejs.greek": "Грецька",
"mejs.haitian-creole": "Гаїтянська креольська",
"mejs.hebrew": "Іврит",
"mejs.hindi": "Хінді",
"mejs.hungarian": "Угорська",
"mejs.icelandic": "Ісландська",
"mejs.indonesian": "Індонезійська",
"mejs.irish": "Ірландська",
"mejs.italian": "Італійська",
"mejs.japanese": "Японська",
"mejs.korean": "Корейська",
"mejs.latvian": "Латвійська",
"mejs.lithuanian": "Литовська",
"mejs.macedonian": "Македонська",
"mejs.malay": "Малайська",
"mejs.maltese": "Мальтійська",
"mejs.norwegian": "Норвезька",
"mejs.persian": "Перська",
"mejs.polish": "Польська",
"mejs.portuguese": "Португальська",
"mejs.romanian": "Румунська",
"mejs.russian": "Російська",
"mejs.serbian": "Сербська",
"mejs.slovak": "Словацька",
"mejs.slovenian": "Словенська",
"mejs.spanish": "Іспанська",
"mejs.swahili": "Суахілі",
"mejs.swedish": "Шведська",
"mejs.tagalog": "Тагальська",
"mejs.thai": "Тайська",
"mejs.turkish": "Турецька",
"mejs.ukrainian": "Українська",
"mejs.vietnamese": "В'єтнамська",
"mejs.welsh": "Валлійська",
"mejs.yiddish": "Ідиш"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Chinese (Simplified)
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports['zh-CN'] === undefined) {
exports['zh-CN'] = {
"mejs.plural-form": 0,
"mejs.download-file": "下载文件",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "全屏",
"mejs.play": "播放",
"mejs.pause": "暂停",
"mejs.time-slider": "时间滑动棒",
"mejs.time-help-text": "使用作/右箭头快进1秒使用上/下箭头快进10秒。",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "使用上/下箭头提高或降低音量。",
"mejs.unmute": "取消静音",
"mejs.mute": "静音",
"mejs.volume-slider": "音量选择键",
"mejs.video-player": "视频播放器",
"mejs.audio-player": "音频播放器",
"mejs.captions-subtitles": "字幕/标题",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "无"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
// "mejs.chinese": "Chinese",
// "mejs.chinese-simplified": "Chinese (Simplified)",
// "mejs.chinese-traditional": "Chinese (Traditional)",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

View File

@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Chinese (Traditional)
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
* Peter Dave Hello (Twitter: @PeterDaveHello)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.zh === undefined) {
exports.zh = {
"mejs.plural-form": 0,
"mejs.download-file": "下載檔案",
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen": "全螢幕",
"mejs.play": "播放",
"mejs.pause": "暫停",
"mejs.time-slider": "時間軸",
"mejs.time-help-text": "使用左/右箭頭快轉1秒上/下箭頭快轉10秒。",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "使用上/下箭頭提高或降低音量。",
"mejs.unmute": "取消靜音",
"mejs.mute": "靜音",
"mejs.volume-slider": "音量控制鍵",
"mejs.video-player": "影片播放器",
"mejs.audio-player": "音樂播放器",
"mejs.captions-subtitles": "字幕/標題",
"mejs.captions-chapters": "章節",
"mejs.none": "無",
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
// "mejs.belarusian": "Belarusian",
// "mejs.bulgarian": "Bulgarian",
// "mejs.catalan": "Catalan",
"mejs.chinese": "中文",
"mejs.chinese-simplified": "简体中文",
"mejs.chinese-traditional": "正體中文",
// "mejs.croatian": "Croatian",
// "mejs.czech": "Czech",
// "mejs.danish": "Danish",
// "mejs.dutch": "Dutch",
// "mejs.english": "English",
// "mejs.estonian": "Estonian",
// "mejs.filipino": "Filipino",
// "mejs.finnish": "Finnish",
// "mejs.french": "French",
// "mejs.galician": "Galician",
// "mejs.german": "German",
// "mejs.greek": "Greek",
// "mejs.haitian-creole": "Haitian Creole",
// "mejs.hebrew": "Hebrew",
// "mejs.hindi": "Hindi",
// "mejs.hungarian": "Hungarian",
// "mejs.icelandic": "Icelandic",
// "mejs.indonesian": "Indonesian",
// "mejs.irish": "Irish",
// "mejs.italian": "Italian",
// "mejs.japanese": "Japanese",
// "mejs.korean": "Korean",
// "mejs.latvian": "Latvian",
// "mejs.lithuanian": "Lithuanian",
// "mejs.macedonian": "Macedonian",
// "mejs.malay": "Malay",
// "mejs.maltese": "Maltese",
// "mejs.norwegian": "Norwegian",
// "mejs.persian": "Persian",
// "mejs.polish": "Polish",
// "mejs.portuguese": "Portuguese",
// "mejs.romanian": "Romanian",
// "mejs.russian": "Russian",
// "mejs.serbian": "Serbian",
// "mejs.slovak": "Slovak",
// "mejs.slovenian": "Slovenian",
// "mejs.spanish": "Spanish",
// "mejs.swahili": "Swahili",
// "mejs.swedish": "Swedish",
// "mejs.tagalog": "Tagalog",
// "mejs.thai": "Thai",
// "mejs.turkish": "Turkish",
// "mejs.ukrainian": "Ukrainian",
// "mejs.vietnamese": "Vietnamese",
// "mejs.welsh": "Welsh",
// "mejs.yiddish": "Yiddish"
};
}
})(mejs.i18n);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,758 @@
/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages).
Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs-offscreen {
border: 0;
clip: rect( 1px, 1px, 1px, 1px );
-webkit-clip-path: inset( 50% );
clip-path: inset( 50% );
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal;
}
.mejs-container {
background: #000;
box-sizing: border-box;
font-family: 'Helvetica', Arial, serif;
position: relative;
text-align: left;
text-indent: 0;
vertical-align: top;
}
.mejs-container * {
box-sizing: border-box;
}
/* Hide native play button and control bar from iOS to favor plugin button */
.mejs-container video::-webkit-media-controls,
.mejs-container video::-webkit-media-controls-panel,
.mejs-container video::-webkit-media-controls-panel-container,
.mejs-container video::-webkit-media-controls-start-playback-button {
-webkit-appearance: none;
display: none !important;
}
.mejs-fill-container,
.mejs-fill-container .mejs-container {
height: 100%;
width: 100%;
}
.mejs-fill-container {
background: transparent;
margin: 0 auto;
overflow: hidden;
position: relative;
}
.mejs-container:focus {
outline: none;
}
.mejs-iframe-overlay {
height: 100%;
position: absolute;
width: 100%;
}
.mejs-embed,
.mejs-embed body {
background: #000;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
width: 100%;
}
.mejs-fullscreen {
overflow: hidden !important;
}
.mejs-container-fullscreen {
bottom: 0;
left: 0;
overflow: hidden;
position: fixed;
right: 0;
top: 0;
z-index: 1000;
}
.mejs-container-fullscreen .mejs-mediaelement,
.mejs-container-fullscreen video {
height: 100% !important;
width: 100% !important;
}
/* Start: LAYERS */
.mejs-background {
left: 0;
position: absolute;
top: 0;
}
.mejs-mediaelement {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.mejs-poster {
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
left: 0;
position: absolute;
top: 0;
z-index: 1;
}
:root .mejs-poster-img {
display: none;
}
.mejs-poster-img {
border: 0;
padding: 0;
}
.mejs-overlay {
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
left: 0;
position: absolute;
top: 0;
}
.mejs-layer {
z-index: 1;
}
.mejs-overlay-play {
cursor: pointer;
}
.mejs-overlay-button {
background: url('mejs-controls.svg') no-repeat;
background-position: 0 -39px;
height: 80px;
width: 80px;
}
.mejs-overlay:hover > .mejs-overlay-button {
background-position: -80px -39px;
}
.mejs-overlay-loading {
height: 80px;
width: 80px;
}
.mejs-overlay-loading-bg-img {
-webkit-animation: mejs-loading-spinner 1s linear infinite;
animation: mejs-loading-spinner 1s linear infinite;
background: transparent url('mejs-controls.svg') -160px -40px no-repeat;
display: block;
height: 80px;
width: 80px;
z-index: 1;
}
@-webkit-keyframes mejs-loading-spinner {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes mejs-loading-spinner {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* End: LAYERS */
/* Start: CONTROL BAR */
.mejs-controls {
bottom: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 40px;
left: 0;
list-style-type: none;
margin: 0;
padding: 0 10px;
position: absolute;
width: 100%;
z-index: 3;
}
.mejs-controls:not([style*='display: none']) {
background: rgba(255, 0, 0, 0.7);
background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.35));
background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
}
.mejs-button,
.mejs-time,
.mejs-time-rail {
font-size: 10px;
height: 40px;
line-height: 10px;
margin: 0;
width: 32px;
}
.mejs-button > button {
background: transparent url('mejs-controls.svg');
border: 0;
cursor: pointer;
display: block;
font-size: 0;
height: 20px;
line-height: 0;
margin: 10px 6px;
overflow: hidden;
padding: 0;
position: absolute;
text-decoration: none;
width: 20px;
}
/* :focus for accessibility */
.mejs-button > button:focus {
outline: dotted 1px #999;
}
.mejs-container-keyboard-inactive a,
.mejs-container-keyboard-inactive a:focus,
.mejs-container-keyboard-inactive button,
.mejs-container-keyboard-inactive button:focus,
.mejs-container-keyboard-inactive [role=slider],
.mejs-container-keyboard-inactive [role=slider]:focus {
outline: 0;
}
/* End: CONTROL BAR */
/* Start: Time (Current / Duration) */
.mejs-time {
box-sizing: content-box;
color: #fff;
font-size: 11px;
font-weight: bold;
height: 24px;
overflow: hidden;
padding: 16px 6px 0;
text-align: center;
width: auto;
}
/* End: Time (Current / Duration) */
/* Start: Play/Pause/Stop */
.mejs-play > button {
background-position: 0 0;
}
.mejs-pause > button {
background-position: -20px 0;
}
.mejs-replay > button {
background-position: -160px 0;
}
/* End: Play/Pause/Stop */
/* Start: Progress Bar */
.mejs-time-rail {
direction: ltr;
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
height: 40px;
margin: 0 10px;
padding-top: 10px;
position: relative;
}
.mejs-time-total,
.mejs-time-buffering,
.mejs-time-loaded,
.mejs-time-current,
.mejs-time-float,
.mejs-time-hovered,
.mejs-time-float-current,
.mejs-time-float-corner,
.mejs-time-marker {
border-radius: 2px;
cursor: pointer;
display: block;
height: 10px;
position: absolute;
}
.mejs-time-total {
background: rgba(255, 255, 255, 0.3);
margin: 5px 0 0;
width: 100%;
}
.mejs-time-buffering {
-webkit-animation: buffering-stripes 2s linear infinite;
animation: buffering-stripes 2s linear infinite;
background: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
background: linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
background-size: 15px 15px;
width: 100%;
}
@-webkit-keyframes buffering-stripes {
from {
background-position: 0 0;
}
to {
background-position: 30px 0;
}
}
@keyframes buffering-stripes {
from {
background-position: 0 0;
}
to {
background-position: 30px 0;
}
}
.mejs-time-loaded {
background: rgba(255, 255, 255, 0.3);
}
.mejs-time-current,
.mejs-time-handle-content {
background: rgba(255, 255, 255, 0.9);
}
.mejs-time-hovered {
background: rgba(255, 255, 255, 0.5);
z-index: 10;
}
.mejs-time-hovered.negative {
background: rgba(0, 0, 0, 0.2);
}
.mejs-time-current,
.mejs-time-buffering,
.mejs-time-loaded,
.mejs-time-hovered {
left: 0;
-webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transition: 0.15s ease-in all;
transition: 0.15s ease-in all;
width: 100%;
}
.mejs-time-buffering {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}
.mejs-time-hovered {
-webkit-transition: height 0.1s cubic-bezier(0.44, 0, 1, 1);
transition: height 0.1s cubic-bezier(0.44, 0, 1, 1);
}
.mejs-time-hovered.no-hover {
-webkit-transform: scaleX(0) !important;
-ms-transform: scaleX(0) !important;
transform: scaleX(0) !important;
}
.mejs-time-handle,
.mejs-time-handle-content {
border: 4px solid transparent;
cursor: pointer;
left: 0;
position: absolute;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
z-index: 11;
}
.mejs-time-handle-content {
border: 4px solid rgba(255, 255, 255, 0.9);
border-radius: 50%;
height: 10px;
left: -7px;
top: -4px;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
width: 10px;
}
.mejs-time-rail:hover .mejs-time-handle-content,
.mejs-time-rail .mejs-time-handle-content:focus,
.mejs-time-rail .mejs-time-handle-content:active {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.mejs-time-float {
background: #eee;
border: solid 1px #333;
bottom: 100%;
color: #111;
display: none;
height: 17px;
margin-bottom: 9px;
position: absolute;
text-align: center;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 36px;
}
.mejs-time-float-current {
display: block;
left: 0;
margin: 2px;
text-align: center;
width: 30px;
}
.mejs-time-float-corner {
border: solid 5px #eee;
border-color: #eee transparent transparent;
border-radius: 0;
display: block;
height: 0;
left: 50%;
line-height: 0;
position: absolute;
top: 100%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 0;
}
.mejs-long-video .mejs-time-float {
margin-left: -23px;
width: 64px;
}
.mejs-long-video .mejs-time-float-current {
width: 60px;
}
.mejs-broadcast {
color: #fff;
height: 10px;
position: absolute;
top: 15px;
width: 100%;
}
/* End: Progress Bar */
/* Start: Fullscreen */
.mejs-fullscreen-button > button {
background-position: -80px 0;
}
.mejs-unfullscreen > button {
background-position: -100px 0;
}
/* End: Fullscreen */
/* Start: Mute/Volume */
.mejs-mute > button {
background-position: -60px 0;
}
.mejs-unmute > button {
background-position: -40px 0;
}
.mejs-volume-button {
position: relative;
}
.mejs-volume-button > .mejs-volume-slider {
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
bottom: 100%;
display: none;
height: 115px;
left: 50%;
margin: 0;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 25px;
z-index: 1;
}
.mejs-volume-button:hover {
border-radius: 0 0 4px 4px;
}
.mejs-volume-total {
background: rgba(255, 255, 255, 0.5);
height: 100px;
left: 50%;
margin: 0;
position: absolute;
top: 8px;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 2px;
}
.mejs-volume-current {
background: rgba(255, 255, 255, 0.9);
left: 0;
margin: 0;
position: absolute;
width: 100%;
}
.mejs-volume-handle {
background: rgba(255, 255, 255, 0.9);
border-radius: 1px;
cursor: ns-resize;
height: 6px;
left: 50%;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 16px;
}
.mejs-horizontal-volume-slider {
display: block;
height: 36px;
position: relative;
vertical-align: middle;
width: 56px;
}
.mejs-horizontal-volume-total {
background: rgba(50, 50, 50, 0.8);
border-radius: 2px;
font-size: 1px;
height: 8px;
left: 0;
margin: 0;
padding: 0;
position: absolute;
top: 16px;
width: 50px;
}
.mejs-horizontal-volume-current {
background: rgba(255, 255, 255, 0.8);
border-radius: 2px;
font-size: 1px;
height: 100%;
left: 0;
margin: 0;
padding: 0;
position: absolute;
top: 0;
width: 100%;
}
.mejs-horizontal-volume-handle {
display: none;
}
/* End: Mute/Volume */
/* Start: Track (Captions and Chapters) */
.mejs-captions-button,
.mejs-chapters-button {
position: relative;
}
.mejs-captions-button > button {
background-position: -140px 0;
}
.mejs-chapters-button > button {
background-position: -180px 0;
}
.mejs-captions-button > .mejs-captions-selector,
.mejs-chapters-button > .mejs-chapters-selector {
background: rgba(50, 50, 50, 0.7);
border: solid 1px transparent;
border-radius: 0;
bottom: 100%;
margin-right: -43px;
overflow: hidden;
padding: 0;
position: absolute;
right: 50%;
visibility: visible;
width: 86px;
}
.mejs-chapters-button > .mejs-chapters-selector {
margin-right: -55px;
width: 110px;
}
.mejs-captions-selector-list,
.mejs-chapters-selector-list {
list-style-type: none !important;
margin: 0;
overflow: hidden;
padding: 0;
}
.mejs-captions-selector-list-item,
.mejs-chapters-selector-list-item {
color: #fff;
cursor: pointer;
display: block;
list-style-type: none !important;
margin: 0 0 6px;
overflow: hidden;
padding: 0 10px;
}
.mejs-captions-selector-list-item:hover,
.mejs-chapters-selector-list-item:hover {
background-color: rgb(200, 200, 200) !important;
background-color: rgba(255, 255, 255, 0.4) !important;
}
.mejs-captions-selector-input,
.mejs-chapters-selector-input {
clear: both;
float: left;
left: -1000px;
margin: 3px 3px 0 5px;
position: absolute;
}
.mejs-captions-selector-label,
.mejs-chapters-selector-label {
cursor: pointer;
float: left;
font-size: 10px;
line-height: 15px;
padding: 4px 0 0;
}
.mejs-captions-selected,
.mejs-chapters-selected {
color: rgba(33, 248, 248, 1);
}
.mejs-captions-translations {
font-size: 10px;
margin: 0 0 5px;
}
.mejs-captions-layer {
bottom: 0;
color: #fff;
font-size: 16px;
left: 0;
line-height: 20px;
position: absolute;
text-align: center;
}
.mejs-captions-layer a {
color: #fff;
text-decoration: underline;
}
.mejs-captions-layer[lang=ar] {
font-size: 20px;
font-weight: normal;
}
.mejs-captions-position {
bottom: 15px;
left: 0;
position: absolute;
width: 100%;
}
.mejs-captions-position-hover {
bottom: 35px;
}
.mejs-captions-text,
.mejs-captions-text * {
background: rgba(20, 20, 20, 0.5);
box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);
padding: 0;
white-space: pre-wrap;
}
.mejs-container.mejs-hide-cues video::-webkit-media-text-track-container {
display: none;
}
/* End: Track (Captions and Chapters) */
/* Start: Error */
.mejs-cannotplay,
.mejs-cannotplay a {
color: #fff;
font-size: 0.8em;
}
.mejs-cannotplay p,
.mejs-cannotplay a {
display: inline-block;
padding: 0 15px;
width: 100%;
}
/* End: Error */

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,758 @@
/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages).
Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs__offscreen {
border: 0;
clip: rect( 1px, 1px, 1px, 1px );
-webkit-clip-path: inset( 50% );
clip-path: inset( 50% );
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal;
}
.mejs__container {
background: #000;
box-sizing: border-box;
font-family: 'Helvetica', Arial, serif;
position: relative;
text-align: left;
text-indent: 0;
vertical-align: top;
}
.mejs__container * {
box-sizing: border-box;
}
/* Hide native play button and control bar from iOS to favor plugin button */
.mejs__container video::-webkit-media-controls,
.mejs__container video::-webkit-media-controls-panel,
.mejs__container video::-webkit-media-controls-panel-container,
.mejs__container video::-webkit-media-controls-start-playback-button {
-webkit-appearance: none;
display: none !important;
}
.mejs__fill-container,
.mejs__fill-container .mejs__container {
height: 100%;
width: 100%;
}
.mejs__fill-container {
background: transparent;
margin: 0 auto;
overflow: hidden;
position: relative;
}
.mejs__container:focus {
outline: none;
}
.mejs__iframe-overlay {
height: 100%;
position: absolute;
width: 100%;
}
.mejs__embed,
.mejs__embed body {
background: #000;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
width: 100%;
}
.mejs__fullscreen {
overflow: hidden !important;
}
.mejs__container-fullscreen {
bottom: 0;
left: 0;
overflow: hidden;
position: fixed;
right: 0;
top: 0;
z-index: 1000;
}
.mejs__container-fullscreen .mejs__mediaelement,
.mejs__container-fullscreen video {
height: 100% !important;
width: 100% !important;
}
/* Start: LAYERS */
.mejs__background {
left: 0;
position: absolute;
top: 0;
}
.mejs__mediaelement {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.mejs__poster {
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
left: 0;
position: absolute;
top: 0;
z-index: 1;
}
:root .mejs__poster-img {
display: none;
}
.mejs__poster-img {
border: 0;
padding: 0;
}
.mejs__overlay {
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
left: 0;
position: absolute;
top: 0;
}
.mejs__layer {
z-index: 1;
}
.mejs__overlay-play {
cursor: pointer;
}
.mejs__overlay-button {
background: url('mejs-controls.svg') no-repeat;
background-position: 0 -39px;
height: 80px;
width: 80px;
}
.mejs__overlay:hover > .mejs__overlay-button {
background-position: -80px -39px;
}
.mejs__overlay-loading {
height: 80px;
width: 80px;
}
.mejs__overlay-loading-bg-img {
-webkit-animation: mejs__loading-spinner 1s linear infinite;
animation: mejs__loading-spinner 1s linear infinite;
background: transparent url('mejs-controls.svg') -160px -40px no-repeat;
display: block;
height: 80px;
width: 80px;
z-index: 1;
}
@-webkit-keyframes mejs__loading-spinner {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes mejs__loading-spinner {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* End: LAYERS */
/* Start: CONTROL BAR */
.mejs__controls {
bottom: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 40px;
left: 0;
list-style-type: none;
margin: 0;
padding: 0 10px;
position: absolute;
width: 100%;
z-index: 3;
}
.mejs__controls:not([style*='display: none']) {
background: rgba(255, 0, 0, 0.7);
background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.35));
background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
}
.mejs__button,
.mejs__time,
.mejs__time-rail {
font-size: 10px;
height: 40px;
line-height: 10px;
margin: 0;
width: 32px;
}
.mejs__button > button {
background: transparent url('mejs-controls.svg');
border: 0;
cursor: pointer;
display: block;
font-size: 0;
height: 20px;
line-height: 0;
margin: 10px 6px;
overflow: hidden;
padding: 0;
position: absolute;
text-decoration: none;
width: 20px;
}
/* :focus for accessibility */
.mejs__button > button:focus {
outline: dotted 1px #999;
}
.mejs__container-keyboard-inactive a,
.mejs__container-keyboard-inactive a:focus,
.mejs__container-keyboard-inactive button,
.mejs__container-keyboard-inactive button:focus,
.mejs__container-keyboard-inactive [role=slider],
.mejs__container-keyboard-inactive [role=slider]:focus {
outline: 0;
}
/* End: CONTROL BAR */
/* Start: Time (Current / Duration) */
.mejs__time {
box-sizing: content-box;
color: #fff;
font-size: 11px;
font-weight: bold;
height: 24px;
overflow: hidden;
padding: 16px 6px 0;
text-align: center;
width: auto;
}
/* End: Time (Current / Duration) */
/* Start: Play/Pause/Stop */
.mejs__play > button {
background-position: 0 0;
}
.mejs__pause > button {
background-position: -20px 0;
}
.mejs__replay > button {
background-position: -160px 0;
}
/* End: Play/Pause/Stop */
/* Start: Progress Bar */
.mejs__time-rail {
direction: ltr;
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
height: 40px;
margin: 0 10px;
padding-top: 10px;
position: relative;
}
.mejs__time-total,
.mejs__time-buffering,
.mejs__time-loaded,
.mejs__time-current,
.mejs__time-float,
.mejs__time-hovered,
.mejs__time-float-current,
.mejs__time-float-corner,
.mejs__time-marker {
border-radius: 2px;
cursor: pointer;
display: block;
height: 10px;
position: absolute;
}
.mejs__time-total {
background: rgba(255, 255, 255, 0.3);
margin: 5px 0 0;
width: 100%;
}
.mejs__time-buffering {
-webkit-animation: buffering-stripes 2s linear infinite;
animation: buffering-stripes 2s linear infinite;
background: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
background: linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
background-size: 15px 15px;
width: 100%;
}
@-webkit-keyframes buffering-stripes {
from {
background-position: 0 0;
}
to {
background-position: 30px 0;
}
}
@keyframes buffering-stripes {
from {
background-position: 0 0;
}
to {
background-position: 30px 0;
}
}
.mejs__time-loaded {
background: rgba(255, 255, 255, 0.3);
}
.mejs__time-current,
.mejs__time-handle-content {
background: rgba(255, 255, 255, 0.9);
}
.mejs__time-hovered {
background: rgba(255, 255, 255, 0.5);
z-index: 10;
}
.mejs__time-hovered.negative {
background: rgba(0, 0, 0, 0.2);
}
.mejs__time-current,
.mejs__time-buffering,
.mejs__time-loaded,
.mejs__time-hovered {
left: 0;
-webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transition: 0.15s ease-in all;
transition: 0.15s ease-in all;
width: 100%;
}
.mejs__time-buffering {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}
.mejs__time-hovered {
-webkit-transition: height 0.1s cubic-bezier(0.44, 0, 1, 1);
transition: height 0.1s cubic-bezier(0.44, 0, 1, 1);
}
.mejs__time-hovered.no-hover {
-webkit-transform: scaleX(0) !important;
-ms-transform: scaleX(0) !important;
transform: scaleX(0) !important;
}
.mejs__time-handle,
.mejs__time-handle-content {
border: 4px solid transparent;
cursor: pointer;
left: 0;
position: absolute;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
z-index: 11;
}
.mejs__time-handle-content {
border: 4px solid rgba(255, 255, 255, 0.9);
border-radius: 50%;
height: 10px;
left: -7px;
top: -4px;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
width: 10px;
}
.mejs__time-rail:hover .mejs__time-handle-content,
.mejs__time-rail .mejs__time-handle-content:focus,
.mejs__time-rail .mejs__time-handle-content:active {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.mejs__time-float {
background: #eee;
border: solid 1px #333;
bottom: 100%;
color: #111;
display: none;
height: 17px;
margin-bottom: 9px;
position: absolute;
text-align: center;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 36px;
}
.mejs__time-float-current {
display: block;
left: 0;
margin: 2px;
text-align: center;
width: 30px;
}
.mejs__time-float-corner {
border: solid 5px #eee;
border-color: #eee transparent transparent;
border-radius: 0;
display: block;
height: 0;
left: 50%;
line-height: 0;
position: absolute;
top: 100%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 0;
}
.mejs__long-video .mejs__time-float {
margin-left: -23px;
width: 64px;
}
.mejs__long-video .mejs__time-float-current {
width: 60px;
}
.mejs__broadcast {
color: #fff;
height: 10px;
position: absolute;
top: 15px;
width: 100%;
}
/* End: Progress Bar */
/* Start: Fullscreen */
.mejs__fullscreen-button > button {
background-position: -80px 0;
}
.mejs__unfullscreen > button {
background-position: -100px 0;
}
/* End: Fullscreen */
/* Start: Mute/Volume */
.mejs__mute > button {
background-position: -60px 0;
}
.mejs__unmute > button {
background-position: -40px 0;
}
.mejs__volume-button {
position: relative;
}
.mejs__volume-button > .mejs__volume-slider {
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
bottom: 100%;
display: none;
height: 115px;
left: 50%;
margin: 0;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 25px;
z-index: 1;
}
.mejs__volume-button:hover {
border-radius: 0 0 4px 4px;
}
.mejs__volume-total {
background: rgba(255, 255, 255, 0.5);
height: 100px;
left: 50%;
margin: 0;
position: absolute;
top: 8px;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 2px;
}
.mejs__volume-current {
background: rgba(255, 255, 255, 0.9);
left: 0;
margin: 0;
position: absolute;
width: 100%;
}
.mejs__volume-handle {
background: rgba(255, 255, 255, 0.9);
border-radius: 1px;
cursor: ns-resize;
height: 6px;
left: 50%;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 16px;
}
.mejs__horizontal-volume-slider {
display: block;
height: 36px;
position: relative;
vertical-align: middle;
width: 56px;
}
.mejs__horizontal-volume-total {
background: rgba(50, 50, 50, 0.8);
border-radius: 2px;
font-size: 1px;
height: 8px;
left: 0;
margin: 0;
padding: 0;
position: absolute;
top: 16px;
width: 50px;
}
.mejs__horizontal-volume-current {
background: rgba(255, 255, 255, 0.8);
border-radius: 2px;
font-size: 1px;
height: 100%;
left: 0;
margin: 0;
padding: 0;
position: absolute;
top: 0;
width: 100%;
}
.mejs__horizontal-volume-handle {
display: none;
}
/* End: Mute/Volume */
/* Start: Track (Captions and Chapters) */
.mejs__captions-button,
.mejs__chapters-button {
position: relative;
}
.mejs__captions-button > button {
background-position: -140px 0;
}
.mejs__chapters-button > button {
background-position: -180px 0;
}
.mejs__captions-button > .mejs__captions-selector,
.mejs__chapters-button > .mejs__chapters-selector {
background: rgba(50, 50, 50, 0.7);
border: solid 1px transparent;
border-radius: 0;
bottom: 100%;
margin-right: -43px;
overflow: hidden;
padding: 0;
position: absolute;
right: 50%;
visibility: visible;
width: 86px;
}
.mejs__chapters-button > .mejs__chapters-selector {
margin-right: -55px;
width: 110px;
}
.mejs__captions-selector-list,
.mejs__chapters-selector-list {
list-style-type: none !important;
margin: 0;
overflow: hidden;
padding: 0;
}
.mejs__captions-selector-list-item,
.mejs__chapters-selector-list-item {
color: #fff;
cursor: pointer;
display: block;
list-style-type: none !important;
margin: 0 0 6px;
overflow: hidden;
padding: 0 10px;
}
.mejs__captions-selector-list-item:hover,
.mejs__chapters-selector-list-item:hover {
background-color: rgb(200, 200, 200) !important;
background-color: rgba(255, 255, 255, 0.4) !important;
}
.mejs__captions-selector-input,
.mejs__chapters-selector-input {
clear: both;
float: left;
left: -1000px;
margin: 3px 3px 0 5px;
position: absolute;
}
.mejs__captions-selector-label,
.mejs__chapters-selector-label {
cursor: pointer;
float: left;
font-size: 10px;
line-height: 15px;
padding: 4px 0 0;
}
.mejs__captions-selected,
.mejs__chapters-selected {
color: rgba(33, 248, 248, 1);
}
.mejs__captions-translations {
font-size: 10px;
margin: 0 0 5px;
}
.mejs__captions-layer {
bottom: 0;
color: #fff;
font-size: 16px;
left: 0;
line-height: 20px;
position: absolute;
text-align: center;
}
.mejs__captions-layer a {
color: #fff;
text-decoration: underline;
}
.mejs__captions-layer[lang=ar] {
font-size: 20px;
font-weight: normal;
}
.mejs__captions-position {
bottom: 15px;
left: 0;
position: absolute;
width: 100%;
}
.mejs__captions-position-hover {
bottom: 35px;
}
.mejs__captions-text,
.mejs__captions-text * {
background: rgba(20, 20, 20, 0.5);
box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);
padding: 0;
white-space: pre-wrap;
}
.mejs__container.mejs__hide-cues video::-webkit-media-text-track-container {
display: none;
}
/* End: Track (Captions and Chapters) */
/* Start: Error */
.mejs__cannotplay,
.mejs__cannotplay a {
color: #fff;
font-size: 0.8em;
}
.mejs__cannotplay p,
.mejs__cannotplay a {
display: inline-block;
padding: 0 15px;
width: 100%;
}
/* End: Error */

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="120" viewBox="0 0 400 120"><style>.st0{fill:#FFFFFF;width:16px;height:16px} .st1{fill:none;stroke:#FFFFFF;stroke-width:1.5;stroke-linecap:round;} .st2{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;} .st3{fill:none;stroke:#FFFFFF;} .st4{fill:#231F20;} .st5{opacity:0.75;fill:none;stroke:#FFFFFF;stroke-width:5;enable-background:new;} .st6{fill:none;stroke:#FFFFFF;stroke-width:5;} .st7{opacity:0.4;fill:#FFFFFF;enable-background:new;} .st8{opacity:0.6;fill:#FFFFFF;enable-background:new;} .st9{opacity:0.8;fill:#FFFFFF;enable-background:new;} .st10{opacity:0.9;fill:#FFFFFF;enable-background:new;} .st11{opacity:0.3;fill:#FFFFFF;enable-background:new;} .st12{opacity:0.5;fill:#FFFFFF;enable-background:new;} .st13{opacity:0.7;fill:#FFFFFF;enable-background:new;}</style><path class="st0" d="M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5l11.4 7z"/><path class="st0" d="M24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1zm9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1z"/><path class="st0" d="M81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3V1.4zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3v5.4zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3V1.4zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3v5.4z"/><path class="st0" d="M112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3V5zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7h4.1zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3v-4.1zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7h-4.1z"/><path class="st0" d="M67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4L67 5.8z"/><path class="st1" d="M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8"/><path class="st1" d="M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9"/><path class="st0" d="M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4L47 5.8z"/><path class="st2" d="M52.8 7l5.4 5.4m-5.4 0L58.2 7"/><path class="st3" d="M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9"/><path class="st0" d="M122.2 3.4h15.7v13.1h-15.7V3.4zM120.8 2v15.7h18.3V2h-18.3z"/><path class="st0" d="M143.2 3h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2z"/><path class="st4" d="M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8zm7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8z"/><path class="st0" d="M60.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L60.3 77z"/><path class="st5" d="M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z"/><path class="st0" d="M140.3 77c.6.2.8.8.6 1.4-.1.3-.3.5-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1L140.3 77z"/><path class="st6" d="M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z"/><circle class="st0" cx="201.9" cy="47.1" r="8.1"/><circle class="st7" cx="233.9" cy="79" r="5"/><circle class="st8" cx="201.9" cy="110.9" r="6"/><circle class="st9" cx="170.1" cy="79" r="7"/><circle class="st10" cx="178.2" cy="56.3" r="7.5"/><circle class="st11" cx="226.3" cy="56.1" r="4.5"/><circle class="st12" cx="225.8" cy="102.8" r="5.5"/><circle class="st13" cx="178.2" cy="102.8" r="6.5"/><path class="st0" d="M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5l-.8 5.1z"/><path class="st0" d="M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2z"/><path class="st0" d="M183.4 3.2c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5zm5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5zm-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5zm5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5zm-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5zm5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5z"/></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -0,0 +1,394 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
var DailyMotionApi = {
isSDKStarted: false,
isSDKLoaded: false,
iframeQueue: [],
enqueueIframe: function enqueueIframe(settings) {
if (DailyMotionApi.isLoaded) {
DailyMotionApi.createIframe(settings);
} else {
DailyMotionApi.loadIframeApi();
DailyMotionApi.iframeQueue.push(settings);
}
},
loadIframeApi: function loadIframeApi() {
if (!DailyMotionApi.isSDKStarted) {
mejs.Utils.loadScript('https://api.dmcdn.net/all.js');
DailyMotionApi.isSDKStarted = true;
}
},
apiReady: function apiReady() {
DailyMotionApi.isLoaded = true;
DailyMotionApi.isSDKLoaded = true;
while (DailyMotionApi.iframeQueue.length > 0) {
var settings = DailyMotionApi.iframeQueue.pop();
DM.init({
apiKey: settings.apiKey,
status: settings.status,
cookie: settings.cookie
});
DailyMotionApi.createIframe(settings);
}
},
createIframe: function createIframe(settings) {
var player = DM.player(settings.container, {
height: settings.height || '100%',
width: settings.width || '100%',
video: settings.videoId,
params: Object.assign({ api: true }, settings.params),
origin: location.host
});
player.addEventListener('apiready', function () {
window['__ready__' + settings.id](player, { paused: true, ended: false });
});
},
getDailyMotionId: function getDailyMotionId(url) {
var parts = url.split('/'),
lastPart = parts[parts.length - 1],
dashParts = lastPart.split('_');
return dashParts[0];
}
};
var DailyMotionIframeRenderer = {
name: 'dailymotion_iframe',
options: {
prefix: 'dailymotion_iframe',
dailymotion: {
width: '100%',
height: '100%',
params: {
autoplay: false,
chromeless: 1,
info: 0,
logo: 0,
related: 0
},
apiKey: null,
status: true,
cookie: true
}
},
canPlayType: function canPlayType(type) {
return ~['video/dailymotion', 'video/x-dailymotion'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var dm = {},
apiStack = [],
readyState = 4;
var events = void 0,
dmPlayer = null,
dmIframe = null;
dm.options = options;
dm.id = mediaElement.id + '_' + options.prefix;
dm.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
dm['get' + capName] = function () {
if (dmPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return dmPlayer.currentTime;
case 'duration':
return isNaN(dmPlayer.duration) ? 0 : dmPlayer.duration;
case 'volume':
return dmPlayer.volume;
case 'paused':
return dmPlayer.paused;
case 'ended':
return dmPlayer.ended;
case 'muted':
return dmPlayer.muted;
case 'buffered':
var percentLoaded = dmPlayer.bufferedTime,
duration = dmPlayer.duration;
return {
start: function start() {
return 0;
},
end: function end() {
return percentLoaded / duration;
},
length: 1
};
case 'src':
return mediaElement.originalNode.getAttribute('src');
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
dm['set' + capName] = function (value) {
if (dmPlayer !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src;
dmPlayer.load(DailyMotionApi.getDailyMotionId(url));
break;
case 'currentTime':
dmPlayer.seek(value);
break;
case 'muted':
dmPlayer.setMuted(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
dmPlayer.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', dm);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
dm[methodName] = function () {
if (dmPlayer !== null) {
switch (methodName) {
case 'play':
return dmPlayer.play();
case 'pause':
return dmPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
window['__ready__' + dm.id] = function (_dmPlayer) {
mediaElement.dmPlayer = dmPlayer = _dmPlayer;
if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
dm['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
dm[stackItem.methodName]();
}
}
}
dmIframe = document.getElementById(dm.id);
events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, dm);
mediaElement.dispatchEvent(event);
};
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
dmIframe.addEventListener(events[_i3], assignEvents, false);
}
if (mediaElement.originalNode.muted) {
dmPlayer.setMuted(true);
dmPlayer.setVolume(0);
}
events = mejs.html5media.events;
events = events.concat(['click', 'mouseover', 'mouseout']);
var assignNativeEvents = function assignNativeEvents(eventName) {
if (eventName !== 'ended') {
dmPlayer.addEventListener(eventName, function (e) {
var event = mejs.Utils.createEvent(e.type, dmPlayer);
mediaElement.dispatchEvent(event);
});
}
};
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
assignNativeEvents(events[_i4]);
}
dmPlayer.addEventListener('ad_start', function () {
var event = mejs.Utils.createEvent('play', dmPlayer);
mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('progress', dmPlayer);
mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('timeupdate', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_pause', function () {
var event = mejs.Utils.createEvent('pause', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_end', function () {
var event = mejs.Utils.createEvent('ended', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('start', function () {
if (mediaElement.originalNode.muted) {
dmPlayer.setMuted(true);
}
});
dmPlayer.addEventListener('video_start', function () {
var event = mejs.Utils.createEvent('play', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dmPlayer);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('video_end', function () {
var event = mejs.Utils.createEvent('ended', dmPlayer);
mediaElement.dispatchEvent(event);
if (mediaElement.originalNode.getAttribute('loop')) {
dmPlayer.play();
}
});
var initEvents = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
for (var _i5 = 0, _total5 = initEvents.length; _i5 < _total5; _i5++) {
var event = mejs.Utils.createEvent(initEvents[_i5], dm);
mediaElement.dispatchEvent(event);
}
};
var dmContainer = document.createElement('div');
dmContainer.id = dm.id;
mediaElement.appendChild(dmContainer);
if (mediaElement.originalNode) {
dmContainer.style.width = mediaElement.originalNode.style.width;
dmContainer.style.height = mediaElement.originalNode.style.height;
}
mediaElement.originalNode.style.display = 'none';
var videoId = DailyMotionApi.getDailyMotionId(mediaFiles[0].src),
dmSettings = Object.assign({
id: dm.id,
container: dmContainer,
videoId: videoId
}, dm.options.dailymotion);
if (mediaElement.originalNode.autoplay) {
dmSettings.params.autoplay = true;
}
if (mediaElement.originalNode.muted) {
dmSettings.params.mute = true;
}
DailyMotionApi.enqueueIframe(dmSettings);
dm.hide = function () {
dm.pause();
if (dmIframe) {
dmIframe.style.display = 'none';
}
};
dm.show = function () {
if (dmIframe) {
dmIframe.style.display = '';
}
};
dm.setSize = function (width, height) {
if (dmIframe) {
dmIframe.width = width;
dmIframe.height = height;
}
};
dm.destroy = function () {
dmPlayer.destroy();
};
return dm;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(url) ? 'video/x-dailymotion' : null
);
});
window.dmAsyncInit = function () {
DailyMotionApi.apiReady();
};
mejs.Renderers.add(DailyMotionIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,339 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
var FacebookRenderer = {
name: 'facebook',
options: {
prefix: 'facebook',
facebook: {
appId: '{your-app-id}',
xfbml: true,
version: 'v2.9'
}
},
canPlayType: function canPlayType(type) {
return ~['video/facebook', 'video/x-facebook'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var fbWrapper = {},
apiStack = [],
eventHandler = {},
readyState = 4,
autoplay = mediaElement.originalNode.autoplay;
var src = '',
paused = true,
ended = false,
hasStartedPlaying = false,
fbApi = null,
fbDiv = null;
options = Object.assign(options, mediaElement.options);
fbWrapper.options = options;
fbWrapper.id = mediaElement.id + '_' + options.prefix;
fbWrapper.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fbWrapper['get' + capName] = function () {
if (fbApi !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return fbApi.getCurrentPosition();
case 'duration':
return fbApi.getDuration();
case 'volume':
return fbApi.getVolume();
case 'paused':
return paused;
case 'ended':
return ended;
case 'muted':
return fbApi.isMuted();
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return 0;
},
length: 1
};
case 'src':
return src;
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
fbWrapper['set' + capName] = function (value) {
if (fbApi !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src;
fbDiv.remove();
createFacebookEmbed(url, options.facebook);
FB.XFBML.parse();
if (autoplay) {
fbApi.play();
}
break;
case 'currentTime':
fbApi.seek(value);
break;
case 'muted':
if (value) {
fbApi.mute();
} else {
fbApi.unmute();
}
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fbWrapper);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
fbApi.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fbWrapper);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', fbWrapper);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
fbWrapper[methodName] = function () {
if (fbApi !== null) {
switch (methodName) {
case 'play':
return fbApi.play();
case 'pause':
return fbApi.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
function sendEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], fbWrapper);
mediaElement.dispatchEvent(event);
}
}
function createFacebookEmbed(url, config) {
src = url;
fbDiv = document.createElement('div');
fbDiv.id = fbWrapper.id;
fbDiv.className = "fb-video";
fbDiv.setAttribute("data-href", url);
fbDiv.setAttribute("data-allowfullscreen", "true");
fbDiv.setAttribute("data-controls", "false");
mediaElement.originalNode.parentNode.insertBefore(fbDiv, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
window.fbAsyncInit = function () {
FB.init(config);
FB.Event.subscribe('xfbml.ready', function (msg) {
if (msg.type === 'video') {
fbApi = msg.instance;
var fbIframe = fbDiv.getElementsByTagName('iframe')[0],
width = fbIframe.offsetWidth,
height = fbIframe.offsetHeight,
events = ['mouseover', 'mouseout'],
assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, fbWrapper);
mediaElement.dispatchEvent(event);
};
fbWrapper.setSize(width, height);
if (autoplay) {
fbApi.play();
}
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
fbIframe.addEventListener(events[_i3], assignEvents, false);
}
var fbEvents = ['startedPlaying', 'paused', 'finishedPlaying', 'startedBuffering', 'finishedBuffering'];
for (var _i4 = 0, _total4 = fbEvents.length; _i4 < _total4; _i4++) {
var event = fbEvents[_i4],
handler = eventHandler[event];
if (handler !== undefined && handler !== null && !mejs.Utils.isObjectEmpty(handler) && typeof handler.removeListener === 'function') {
handler.removeListener(event);
}
}
if (apiStack.length) {
for (var _i5 = 0, _total5 = apiStack.length; _i5 < _total5; _i5++) {
var stackItem = apiStack[_i5];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fbWrapper['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
fbWrapper[stackItem.methodName]();
}
}
}
sendEvents(['rendererready', 'loadeddata', 'canplay', 'progress', 'loadedmetadata', 'timeupdate']);
var timer = void 0;
eventHandler.startedPlaying = fbApi.subscribe('startedPlaying', function () {
if (!hasStartedPlaying) {
hasStartedPlaying = true;
}
paused = false;
ended = false;
sendEvents(['play', 'playing', 'timeupdate']);
timer = setInterval(function () {
fbApi.getCurrentPosition();
sendEvents(['timeupdate']);
}, 250);
});
eventHandler.paused = fbApi.subscribe('paused', function () {
paused = true;
ended = false;
sendEvents(['pause']);
});
eventHandler.finishedPlaying = fbApi.subscribe('finishedPlaying', function () {
paused = true;
ended = true;
sendEvents(['ended']);
clearInterval(timer);
timer = null;
});
eventHandler.startedBuffering = fbApi.subscribe('startedBuffering', function () {
sendEvents(['progress', 'timeupdate']);
});
eventHandler.finishedBuffering = fbApi.subscribe('finishedBuffering', function () {
sendEvents(['progress', 'timeupdate']);
});
}
});
};
mejs.Utils.loadScript('https://connect.facebook.net/en_US/sdk.js');
}
if (mediaFiles.length > 0) {
createFacebookEmbed(mediaFiles[0].src, fbWrapper.options.facebook);
}
fbWrapper.hide = function () {
fbWrapper.stopInterval();
fbWrapper.pause();
if (fbDiv) {
fbDiv.style.display = 'none';
}
};
fbWrapper.show = function () {
if (fbDiv) {
fbDiv.style.display = '';
}
};
fbWrapper.setSize = function (width, height) {
if (fbApi !== null && !isNaN(width) && !isNaN(height)) {
fbDiv.style.width = width;
fbDiv.style.height = height;
}
};
fbWrapper.destroy = function () {};
fbWrapper.interval = null;
fbWrapper.startInterval = function () {
fbWrapper.interval = setInterval(function () {
var event = mejs.Utils.createEvent('timeupdate', fbWrapper);
mediaElement.dispatchEvent(event);
}, 250);
};
fbWrapper.stopInterval = function () {
if (fbWrapper.interval) {
clearInterval(fbWrapper.interval);
}
};
return fbWrapper;
}
};
mejs.Utils.typeChecks.push(function (url) {
return ~url.toLowerCase().indexOf('//www.facebook') ? 'video/x-facebook' : null;
});
mejs.Renderers.add(FacebookRenderer);
},{}]},{},[1]);

View File

@ -0,0 +1,13 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/
!function e(t,n,r){function a(s,o){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return a(n||e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)a(r[s]);return a}({1:[function(e,t,n){"use strict";var r={name:"facebook",options:{prefix:"facebook",facebook:{appId:"{your-app-id}",xfbml:!0,version:"v2.9"}},canPlayType:function(e){return~["video/facebook","video/x-facebook"].indexOf(e.toLowerCase())},create:function(e,t,n){function r(t){for(var n=0,r=t.length;n<r;n++){var a=mejs.Utils.createEvent(t[n],i);e.dispatchEvent(a)}}function a(t,n){l=t,(v=document.createElement("div")).id=i.id,v.className="fb-video",v.setAttribute("data-href",t),v.setAttribute("data-allowfullscreen","true"),v.setAttribute("data-controls","false"),e.originalNode.parentNode.insertBefore(v,e.originalNode),e.originalNode.style.display="none",window.fbAsyncInit=function(){FB.init(n),FB.Event.subscribe("xfbml.ready",function(t){if("video"===t.type){p=t.instance;var n=v.getElementsByTagName("iframe")[0],a=n.offsetWidth,l=n.offsetHeight,m=["mouseover","mouseout"];i.setSize(a,l),u&&p.play();for(var g=0,h=m.length;g<h;g++)n.addEventListener(m[g],function(t){var n=mejs.Utils.createEvent(t.type,i);e.dispatchEvent(n)},!1);for(var y=["startedPlaying","paused","finishedPlaying","startedBuffering","finishedBuffering"],b=0,E=y.length;b<E;b++){var k=y[b],N=o[k];void 0===N||null===N||mejs.Utils.isObjectEmpty(N)||"function"!=typeof N.removeListener||N.removeListener(k)}if(s.length)for(var j=0,w=s.length;j<w;j++){var U=s[j];if("set"===U.type){var x=U.propName,B=""+x.substring(0,1).toUpperCase()+x.substring(1);i["set"+B](U.value)}else"call"===U.type&&i[U.methodName]()}r(["rendererready","loadeddata","canplay","progress","loadedmetadata","timeupdate"]);var I=void 0;o.startedPlaying=p.subscribe("startedPlaying",function(){d||(d=!0),c=!1,f=!1,r(["play","playing","timeupdate"]),I=setInterval(function(){p.getCurrentPosition(),r(["timeupdate"])},250)}),o.paused=p.subscribe("paused",function(){c=!0,f=!1,r(["pause"])}),o.finishedPlaying=p.subscribe("finishedPlaying",function(){c=!0,f=!0,r(["ended"]),clearInterval(I),I=null}),o.startedBuffering=p.subscribe("startedBuffering",function(){r(["progress","timeupdate"])}),o.finishedBuffering=p.subscribe("finishedBuffering",function(){r(["progress","timeupdate"])})}})},mejs.Utils.loadScript("https://connect.facebook.net/en_US/sdk.js")}var i={},s=[],o={},u=e.originalNode.autoplay,l="",c=!0,f=!1,d=!1,p=null,v=null;t=Object.assign(t,e.options),i.options=t,i.id=e.id+"_"+t.prefix,i.mediaElement=e;for(var m=mejs.html5media.properties,g=0,h=m.length;g<h;g++)!function(n){var r=""+n.substring(0,1).toUpperCase()+n.substring(1);i["get"+r]=function(){if(null!==p){switch(n){case"currentTime":return p.getCurrentPosition();case"duration":return p.getDuration();case"volume":return p.getVolume();case"paused":return c;case"ended":return f;case"muted":return p.isMuted();case"buffered":return{start:function(){return 0},end:function(){return 0},length:1};case"src":return l;case"readyState":return 4}return null}return null},i["set"+r]=function(r){if(null!==p)switch(n){case"src":var o="string"==typeof r?r:r[0].src;v.remove(),a(o,t.facebook),FB.XFBML.parse(),u&&p.play();break;case"currentTime":p.seek(r);break;case"muted":r?p.mute():p.unmute(),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",i);e.dispatchEvent(t)},50);break;case"volume":p.setVolume(r),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",i);e.dispatchEvent(t)},50);break;case"readyState":var l=mejs.Utils.createEvent("canplay",i);e.dispatchEvent(l)}else s.push({type:"set",propName:n,value:r})}}(m[g]);for(var y=mejs.html5media.methods,b=0,E=y.length;b<E;b++)!function(e){i[e]=function(){if(null!==p)switch(e){case"play":return p.play();case"pause":return p.pause();case"load":return null}else s.push({type:"call",methodName:e})}}(y[b]);return n.length>0&&a(n[0].src,i.options.facebook),i.hide=function(){i.stopInterval(),i.pause(),v&&(v.style.display="none")},i.show=function(){v&&(v.style.display="")},i.setSize=function(e,t){null===p||isNaN(e)||isNaN(t)||(v.style.width=e,v.style.height=t)},i.destroy=function(){},i.interval=null,i.startInterval=function(){i.interval=setInterval(function(){var t=mejs.Utils.createEvent("timeupdate",i);e.dispatchEvent(t)},250)},i.stopInterval=function(){i.interval&&clearInterval(i.interval)},i}};mejs.Utils.typeChecks.push(function(e){return~e.toLowerCase().indexOf("//www.facebook")?"video/x-facebook":null}),mejs.Renderers.add(r)},{}]},{},[1]);

View File

@ -0,0 +1,307 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
var SoundCloudApi = {
promise: null,
load: function load(settings) {
if (typeof SC !== 'undefined') {
SoundCloudApi._createPlayer(settings);
} else {
SoundCloudApi.promise = SoundCloudApi.promise || mejs.Utils.loadScript('https://w.soundcloud.com/player/api.js');
SoundCloudApi.promise.then(function () {
SoundCloudApi._createPlayer(settings);
});
}
},
_createPlayer: function _createPlayer(settings) {
var player = SC.Widget(settings.iframe);
window['__ready__' + settings.id](player);
}
};
var SoundCloudIframeRenderer = {
name: 'soundcloud_iframe',
options: {
prefix: 'soundcloud_iframe'
},
canPlayType: function canPlayType(type) {
return ~['video/soundcloud', 'video/x-soundcloud'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var sc = {},
apiStack = [],
readyState = 4,
autoplay = mediaElement.originalNode.autoplay;
var duration = 0,
currentTime = 0,
bufferedTime = 0,
volume = 1,
muted = false,
paused = true,
ended = false,
scPlayer = null,
scIframe = null;
sc.options = options;
sc.id = mediaElement.id + '_' + options.prefix;
sc.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
sc['get' + capName] = function () {
if (scPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return currentTime;
case 'duration':
return duration;
case 'volume':
return volume;
case 'paused':
return paused;
case 'ended':
return ended;
case 'muted':
return muted;
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return bufferedTime * duration;
},
length: 1
};
case 'src':
return scIframe ? scIframe.src : '';
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
sc['set' + capName] = function (value) {
if (scPlayer !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src;
scPlayer.load(url);
if (autoplay) {
scPlayer.play();
}
break;
case 'currentTime':
scPlayer.seekTo(value * 1000);
break;
case 'muted':
if (value) {
scPlayer.setVolume(0);
} else {
scPlayer.setVolume(1);
}
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', sc);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
scPlayer.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', sc);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', sc);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
sc[methodName] = function () {
if (scPlayer !== null) {
switch (methodName) {
case 'play':
return scPlayer.play();
case 'pause':
return scPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
window['__ready__' + sc.id] = function (_scPlayer) {
mediaElement.scPlayer = scPlayer = _scPlayer;
if (autoplay) {
scPlayer.play();
}
if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
sc['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
sc[stackItem.methodName]();
}
}
}
scPlayer.bind(SC.Widget.Events.PLAY_PROGRESS, function () {
paused = false;
ended = false;
scPlayer.getPosition(function (_currentTime) {
currentTime = _currentTime / 1000;
var event = mejs.Utils.createEvent('timeupdate', sc);
mediaElement.dispatchEvent(event);
});
});
scPlayer.bind(SC.Widget.Events.PAUSE, function () {
paused = true;
var event = mejs.Utils.createEvent('pause', sc);
mediaElement.dispatchEvent(event);
});
scPlayer.bind(SC.Widget.Events.PLAY, function () {
paused = false;
ended = false;
var event = mejs.Utils.createEvent('play', sc);
mediaElement.dispatchEvent(event);
});
scPlayer.bind(SC.Widget.Events.FINISHED, function () {
paused = false;
ended = true;
var event = mejs.Utils.createEvent('ended', sc);
mediaElement.dispatchEvent(event);
});
scPlayer.bind(SC.Widget.Events.READY, function () {
scPlayer.getDuration(function (_duration) {
duration = _duration / 1000;
var event = mejs.Utils.createEvent('loadedmetadata', sc);
mediaElement.dispatchEvent(event);
});
});
scPlayer.bind(SC.Widget.Events.LOAD_PROGRESS, function () {
scPlayer.getDuration(function (loadProgress) {
if (duration > 0) {
bufferedTime = duration * loadProgress;
var event = mejs.Utils.createEvent('progress', sc);
mediaElement.dispatchEvent(event);
}
});
scPlayer.getDuration(function (_duration) {
duration = _duration;
var event = mejs.Utils.createEvent('loadedmetadata', sc);
mediaElement.dispatchEvent(event);
});
});
var initEvents = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay'];
for (var _i3 = 0, _total3 = initEvents.length; _i3 < _total3; _i3++) {
var event = mejs.Utils.createEvent(initEvents[_i3], sc);
mediaElement.dispatchEvent(event);
}
};
scIframe = document.createElement('iframe');
scIframe.id = sc.id;
scIframe.width = 10;
scIframe.height = 10;
scIframe.frameBorder = 0;
scIframe.style.visibility = 'hidden';
scIframe.src = mediaFiles[0].src;
scIframe.scrolling = 'no';
mediaElement.appendChild(scIframe);
mediaElement.originalNode.style.display = 'none';
var scSettings = {
iframe: scIframe,
id: sc.id
};
SoundCloudApi.load(scSettings);
sc.setSize = function () {};
sc.hide = function () {
sc.pause();
if (scIframe) {
scIframe.style.display = 'none';
}
};
sc.show = function () {
if (scIframe) {
scIframe.style.display = '';
}
};
sc.destroy = function () {
scPlayer.destroy();
};
return sc;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/\/\/(w\.)?soundcloud.com/i.test(url) ? 'video/x-soundcloud' : null
);
});
mejs.Renderers.add(SoundCloudIframeRenderer);
},{}]},{},[1]);

View File

@ -0,0 +1,13 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/
!function e(t,n,r){function a(s,o){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return a(n||e)},d,d.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)a(r[s]);return a}({1:[function(e,t,n){"use strict";var r={promise:null,load:function(e){"undefined"!=typeof SC?r._createPlayer(e):(r.promise=r.promise||mejs.Utils.loadScript("https://w.soundcloud.com/player/api.js"),r.promise.then(function(){r._createPlayer(e)}))},_createPlayer:function(e){var t=SC.Widget(e.iframe);window["__ready__"+e.id](t)}},a={name:"soundcloud_iframe",options:{prefix:"soundcloud_iframe"},canPlayType:function(e){return~["video/soundcloud","video/x-soundcloud"].indexOf(e.toLowerCase())},create:function(e,t,n){var a={},i=[],s=e.originalNode.autoplay,o=0,u=0,c=0,d=!0,l=!1,p=null,f=null;a.options=t,a.id=e.id+"_"+t.prefix,a.mediaElement=e;for(var v=mejs.html5media.properties,m=0,h=v.length;m<h;m++)!function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);a["get"+n]=function(){if(null!==p){switch(t){case"currentTime":return u;case"duration":return o;case"volume":return 1;case"paused":return d;case"ended":return l;case"muted":return!1;case"buffered":return{start:function(){return 0},end:function(){return c*o},length:1};case"src":return f?f.src:"";case"readyState":return 4}return null}return null},a["set"+n]=function(n){if(null!==p)switch(t){case"src":var r="string"==typeof n?n:n[0].src;p.load(r),s&&p.play();break;case"currentTime":p.seekTo(1e3*n);break;case"muted":n?p.setVolume(0):p.setVolume(1),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"volume":p.setVolume(n),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"readyState":var o=mejs.Utils.createEvent("canplay",a);e.dispatchEvent(o)}else i.push({type:"set",propName:t,value:n})}}(v[m]);for(var y=mejs.html5media.methods,E=0,g=y.length;E<g;E++)!function(e){a[e]=function(){if(null!==p)switch(e){case"play":return p.play();case"pause":return p.pause();case"load":return null}else i.push({type:"call",methodName:e})}}(y[E]);window["__ready__"+a.id]=function(t){if(e.scPlayer=p=t,s&&p.play(),i.length)for(var n=0,r=i.length;n<r;n++){var f=i[n];if("set"===f.type){var v=f.propName,m=""+v.substring(0,1).toUpperCase()+v.substring(1);a["set"+m](f.value)}else"call"===f.type&&a[f.methodName]()}p.bind(SC.Widget.Events.PLAY_PROGRESS,function(){d=!1,l=!1,p.getPosition(function(t){u=t/1e3;var n=mejs.Utils.createEvent("timeupdate",a);e.dispatchEvent(n)})}),p.bind(SC.Widget.Events.PAUSE,function(){d=!0;var t=mejs.Utils.createEvent("pause",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.PLAY,function(){d=!1,l=!1;var t=mejs.Utils.createEvent("play",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.FINISHED,function(){d=!1,l=!0;var t=mejs.Utils.createEvent("ended",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.READY,function(){p.getDuration(function(t){o=t/1e3;var n=mejs.Utils.createEvent("loadedmetadata",a);e.dispatchEvent(n)})}),p.bind(SC.Widget.Events.LOAD_PROGRESS,function(){p.getDuration(function(t){if(o>0){c=o*t;var n=mejs.Utils.createEvent("progress",a);e.dispatchEvent(n)}}),p.getDuration(function(t){o=t;var n=mejs.Utils.createEvent("loadedmetadata",a);e.dispatchEvent(n)})});for(var h=["rendererready","loadeddata","loadedmetadata","canplay"],y=0,E=h.length;y<E;y++){var g=mejs.Utils.createEvent(h[y],a);e.dispatchEvent(g)}},(f=document.createElement("iframe")).id=a.id,f.width=10,f.height=10,f.frameBorder=0,f.style.visibility="hidden",f.src=n[0].src,f.scrolling="no",e.appendChild(f),e.originalNode.style.display="none";var S={iframe:f,id:a.id};return r.load(S),a.setSize=function(){},a.hide=function(){a.pause(),f&&(f.style.display="none")},a.show=function(){f&&(f.style.display="")},a.destroy=function(){p.destroy()},a}};mejs.Utils.typeChecks.push(function(e){return/\/\/(w\.)?soundcloud.com/i.test(e)?"video/x-soundcloud":null}),mejs.Renderers.add(a)},{}]},{},[1]);

View File

@ -0,0 +1,375 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
var TwitchApi = {
promise: null,
load: function load(settings) {
if (typeof Twitch !== 'undefined') {
TwitchApi.promise = new Promise(function (resolve) {
resolve();
}).then(function () {
TwitchApi._createPlayer(settings);
});
} else {
TwitchApi.promise = TwitchApi.promise || mejs.Utils.loadScript('https://player.twitch.tv/js/embed/v1.js');
TwitchApi.promise.then(function () {
TwitchApi._createPlayer(settings);
});
}
},
_createPlayer: function _createPlayer(settings) {
var player = new Twitch.Player(settings.id, settings);
window['__ready__' + settings.id](player);
},
getTwitchId: function getTwitchId(url) {
var twitchId = '';
if (url.indexOf('?') > 0) {
twitchId = TwitchApi.getTwitchIdFromParam(url);
if (twitchId === '') {
twitchId = TwitchApi.getTwitchIdFromUrl(url);
}
} else {
twitchId = TwitchApi.getTwitchIdFromUrl(url);
}
return twitchId;
},
getTwitchIdFromParam: function getTwitchIdFromParam(url) {
if (url === undefined || url === null || !url.trim().length) {
return null;
}
var parts = url.split('?'),
parameters = parts[1].split('&');
var twitchId = '';
for (var i = 0, total = parameters.length; i < total; i++) {
var paramParts = parameters[i].split('=');
if (~paramParts[0].indexOf('channel=')) {
twitchId = paramParts[1];
break;
} else if (~paramParts[0].indexOf('video=')) {
twitchId = 'v' + paramParts[1];
break;
}
}
return twitchId;
},
getTwitchIdFromUrl: function getTwitchIdFromUrl(url) {
if (url === undefined || url === null || !url.trim().length) {
return null;
}
var parts = url.split('?');
url = parts[0];
var id = url.substring(url.lastIndexOf('/') + 1);
return (/^\d+$/i.test(id) !== null ? 'v' + id : id
);
},
getTwitchType: function getTwitchType(id) {
return (/^v\d+/i.test(id) !== null ? 'video' : 'channel'
);
}
};
var TwitchIframeRenderer = {
name: 'twitch_iframe',
options: {
prefix: 'twitch_iframe'
},
canPlayType: function canPlayType(type) {
return ~['video/twitch', 'video/x-twitch'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var twitch = {},
apiStack = [],
readyState = 4,
twitchId = TwitchApi.getTwitchId(mediaFiles[0].src);
var twitchPlayer = null,
paused = true,
ended = false,
hasStartedPlaying = false,
volume = 1,
duration = Infinity,
time = 0;
twitch.options = options;
twitch.id = mediaElement.id + '_' + options.prefix;
twitch.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
twitch['get' + capName] = function () {
if (twitchPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
time = twitchPlayer.getCurrentTime();
return time;
case 'duration':
duration = twitchPlayer.getDuration();
return duration;
case 'volume':
volume = twitchPlayer.getVolume();
return volume;
case 'paused':
paused = twitchPlayer.isPaused();
return paused;
case 'ended':
ended = twitchPlayer.getEnded();
return ended;
case 'muted':
return twitchPlayer.getMuted();
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return 0;
},
length: 1
};
case 'src':
return TwitchApi.getTwitchType(twitchId) === 'channel' ? twitchPlayer.getChannel() : twitchPlayer.getVideo();
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
twitch['set' + capName] = function (value) {
if (twitchPlayer !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src,
videoId = TwitchApi.getTwitchId(url);
if (TwitchApi.getTwitchType(twitchId) === 'channel') {
twitchPlayer.setChannel(videoId);
} else {
twitchPlayer.setVideo(videoId);
}
break;
case 'currentTime':
twitchPlayer.seek(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('timeupdate', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'muted':
twitchPlayer.setMuted(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
volume = value;
twitchPlayer.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', twitch);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
twitch[methodName] = function () {
if (twitchPlayer !== null) {
switch (methodName) {
case 'play':
paused = false;
return twitchPlayer.play();
case 'pause':
paused = true;
return twitchPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
function sendEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], twitch);
mediaElement.dispatchEvent(event);
}
}
window['__ready__' + twitch.id] = function (_twitchPlayer) {
mediaElement.twitchPlayer = twitchPlayer = _twitchPlayer;
if (apiStack.length) {
for (var _i3 = 0, _total3 = apiStack.length; _i3 < _total3; _i3++) {
var stackItem = apiStack[_i3];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
twitch['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
twitch[stackItem.methodName]();
}
}
}
var twitchIframe = document.getElementById(twitch.id).firstChild;
twitchIframe.style.width = '100%';
twitchIframe.style.height = '100%';
var events = ['mouseover', 'mouseout'],
assignEvents = function assignEvents(e) {
var event = createEvent(e.type, twitch);
mediaElement.dispatchEvent(event);
};
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
twitchIframe.addEventListener(events[_i4], assignEvents, false);
}
var timer = void 0;
twitchPlayer.addEventListener('ready', function () {
paused = false;
ended = false;
sendEvents(['rendererready', 'loadedmetadata', 'loadeddata', 'canplay']);
});
twitchPlayer.addEventListener('play', function () {
if (!hasStartedPlaying) {
hasStartedPlaying = true;
}
paused = false;
ended = false;
sendEvents(['play', 'playing', 'progress']);
timer = setInterval(function () {
twitchPlayer.getCurrentTime();
sendEvents(['timeupdate']);
}, 250);
});
twitchPlayer.addEventListener('pause', function () {
paused = true;
ended = false;
if (!twitchPlayer.getEnded()) {
sendEvents(['pause']);
}
});
twitchPlayer.addEventListener('ended', function () {
paused = true;
ended = true;
sendEvents(['ended']);
clearInterval(timer);
hasStartedPlaying = false;
timer = null;
});
};
var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width,
twitchContainer = document.createElement('div'),
type = TwitchApi.getTwitchType(twitchId),
twitchSettings = {
id: twitch.id,
width: width,
height: height,
playsinline: false,
autoplay: mediaElement.originalNode.autoplay,
muted: mediaElement.originalNode.muted
};
twitchSettings[type] = twitchId;
twitchContainer.id = twitch.id;
twitchContainer.style.width = '100%';
twitchContainer.style.height = '100%';
mediaElement.originalNode.parentNode.insertBefore(twitchContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
mediaElement.originalNode.autoplay = false;
twitch.setSize = function (width, height) {
if (TwitchApi !== null && !isNaN(width) && !isNaN(height)) {
twitchContainer.setAttribute('width', width);
twitchContainer.setAttribute('height', height);
}
};
twitch.hide = function () {
twitch.pause();
twitchContainer.style.display = 'none';
};
twitch.show = function () {
twitchContainer.style.display = '';
};
twitch.destroy = function () {};
TwitchApi.load(twitchSettings);
return twitch;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/\/\/(www|player).twitch.tv/i.test(url) ? 'video/x-twitch' : null
);
});
mejs.Renderers.add(TwitchIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,406 @@
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* Maintained by, Rafael Miranda (rafa8626@gmail.com)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
'use strict';
var VimeoApi = {
promise: null,
load: function load(settings) {
if (typeof Vimeo !== 'undefined') {
VimeoApi._createPlayer(settings);
} else {
VimeoApi.promise = VimeoApi.promise || mejs.Utils.loadScript('https://player.vimeo.com/api/player.js');
VimeoApi.promise.then(function () {
VimeoApi._createPlayer(settings);
});
}
},
_createPlayer: function _createPlayer(settings) {
var player = new Vimeo.Player(settings.iframe);
window['__ready__' + settings.id](player);
},
getVimeoId: function getVimeoId(url) {
if (url === undefined || url === null) {
return null;
}
var parts = url.split('?');
url = parts[0];
return parseInt(url.substring(url.lastIndexOf('/') + 1));
}
};
var vimeoIframeRenderer = {
name: 'vimeo_iframe',
options: {
prefix: 'vimeo_iframe'
},
canPlayType: function canPlayType(type) {
return ~['video/vimeo', 'video/x-vimeo'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var apiStack = [],
vimeo = {},
readyState = 4;
var paused = true,
volume = 1,
oldVolume = volume,
currentTime = 0,
bufferedTime = 0,
ended = false,
duration = 0,
vimeoPlayer = null,
url = '';
vimeo.options = options;
vimeo.id = mediaElement.id + '_' + options.prefix;
vimeo.mediaElement = mediaElement;
var errorHandler = function errorHandler(error, target) {
var event = mejs.Utils.createEvent('error', target);
event.message = error.name + ': ' + error.message;
mediaElement.dispatchEvent(event);
};
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
vimeo['get' + capName] = function () {
if (vimeoPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return currentTime;
case 'duration':
return duration;
case 'volume':
return volume;
case 'muted':
return volume === 0;
case 'paused':
return paused;
case 'ended':
return ended;
case 'src':
vimeoPlayer.getVideoUrl().then(function (_url) {
url = _url;
});
return url;
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return bufferedTime * duration;
},
length: 1
};
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
vimeo['set' + capName] = function (value) {
if (vimeoPlayer !== null) {
switch (propName) {
case 'src':
var _url2 = typeof value === 'string' ? value : value[0].src,
videoId = VimeoApi.getVimeoId(_url2);
vimeoPlayer.loadVideo(videoId).then(function () {
if (mediaElement.originalNode.autoplay) {
vimeoPlayer.play();
}
}).catch(function (error) {
errorHandler(error, vimeo);
});
break;
case 'currentTime':
vimeoPlayer.setCurrentTime(value).then(function () {
currentTime = value;
setTimeout(function () {
var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
errorHandler(error, vimeo);
});
break;
case 'volume':
vimeoPlayer.setVolume(value).then(function () {
volume = value;
oldVolume = volume;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
errorHandler(error, vimeo);
});
break;
case 'loop':
vimeoPlayer.setLoop(value).catch(function (error) {
errorHandler(error, vimeo);
});
break;
case 'muted':
if (value) {
vimeoPlayer.setVolume(0).then(function () {
volume = 0;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
errorHandler(error, vimeo);
});
} else {
vimeoPlayer.setVolume(oldVolume).then(function () {
volume = oldVolume;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
errorHandler(error, vimeo);
});
}
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', vimeo);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
vimeo[methodName] = function () {
if (vimeoPlayer !== null) {
switch (methodName) {
case 'play':
paused = false;
return vimeoPlayer.play();
case 'pause':
paused = true;
return vimeoPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
window['__ready__' + vimeo.id] = function (_vimeoPlayer) {
mediaElement.vimeoPlayer = vimeoPlayer = _vimeoPlayer;
if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
vimeo['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
vimeo[stackItem.methodName]();
}
}
}
var vimeoIframe = document.getElementById(vimeo.id);
var events = void 0;
events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, vimeo);
mediaElement.dispatchEvent(event);
};
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
vimeoIframe.addEventListener(events[_i3], assignEvents, false);
}
vimeoPlayer.on('loaded', function () {
vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress;
if (duration > 0) {
bufferedTime = duration * loadProgress;
if (mediaElement.originalNode.autoplay) {
paused = false;
ended = false;
var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event);
}
}
}).catch(function (error) {
errorHandler(error, vimeo);
});
});
vimeoPlayer.on('progress', function () {
vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress;
if (duration > 0) {
bufferedTime = duration * loadProgress;
if (mediaElement.originalNode.autoplay) {
var initEvent = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(initEvent);
}
}
var event = mejs.Utils.createEvent('progress', vimeo);
mediaElement.dispatchEvent(event);
}).catch(function (error) {
errorHandler(error, vimeo);
});
});
vimeoPlayer.on('timeupdate', function () {
vimeoPlayer.getCurrentTime().then(function (seconds) {
currentTime = seconds;
var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event);
}).catch(function (error) {
errorHandler(error, vimeo);
});
});
vimeoPlayer.on('play', function () {
paused = false;
ended = false;
var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event);
});
vimeoPlayer.on('pause', function () {
paused = true;
ended = false;
var event = mejs.Utils.createEvent('pause', vimeo);
mediaElement.dispatchEvent(event);
});
vimeoPlayer.on('ended', function () {
paused = false;
ended = true;
var event = mejs.Utils.createEvent('ended', vimeo);
mediaElement.dispatchEvent(event);
});
events = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
var event = mejs.Utils.createEvent(events[_i4], vimeo);
mediaElement.dispatchEvent(event);
}
};
var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width,
vimeoContainer = document.createElement('iframe'),
standardUrl = 'https://player.vimeo.com/video/' + VimeoApi.getVimeoId(mediaFiles[0].src);
var queryArgs = ~mediaFiles[0].src.indexOf('?') ? '?' + mediaFiles[0].src.slice(mediaFiles[0].src.indexOf('?') + 1) : '';
if (queryArgs && mediaElement.originalNode.autoplay && queryArgs.indexOf('autoplay') === -1) {
queryArgs += '&autoplay=1';
}
if (queryArgs && mediaElement.originalNode.loop && queryArgs.indexOf('loop') === -1) {
queryArgs += '&loop=1';
}
vimeoContainer.setAttribute('id', vimeo.id);
vimeoContainer.setAttribute('width', width);
vimeoContainer.setAttribute('height', height);
vimeoContainer.setAttribute('frameBorder', '0');
vimeoContainer.setAttribute('src', '' + standardUrl + queryArgs);
vimeoContainer.setAttribute('webkitallowfullscreen', '');
vimeoContainer.setAttribute('mozallowfullscreen', '');
vimeoContainer.setAttribute('allowfullscreen', '');
mediaElement.originalNode.parentNode.insertBefore(vimeoContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
VimeoApi.load({
iframe: vimeoContainer,
id: vimeo.id
});
vimeo.hide = function () {
vimeo.pause();
if (vimeoPlayer) {
vimeoContainer.style.display = 'none';
}
};
vimeo.setSize = function (width, height) {
vimeoContainer.setAttribute('width', width);
vimeoContainer.setAttribute('height', height);
};
vimeo.show = function () {
if (vimeoPlayer) {
vimeoContainer.style.display = '';
}
};
vimeo.destroy = function () {};
return vimeo;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/(\/\/player\.vimeo|vimeo\.com)/i.test(url) ? 'video/x-vimeo' : null
);
});
mejs.Renderers.add(vimeoIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -85,7 +85,6 @@
color: #a00;
font-size: 10px;
text-transform: uppercase;
text-decoration: none;
}
.media-embed-details .setting .remove-setting {

View File

@ -1,12 +1,8 @@
/* global mejs, _wpmejsSettings */
/* global _wpmejsSettings */
(function( window, $ ) {
window.wp = window.wp || {};
// add mime-type aliases to MediaElement plugin support
mejs.plugins.silverlight[0].types.push('video/x-ms-wmv');
mejs.plugins.silverlight[0].types.push('audio/x-ms-wma');
function wpMediaElement() {
var settings = {};
@ -17,26 +13,32 @@
* processed again.
*
* @since 4.4.0
*
* @returns {void}
*/
function initialize() {
if ( typeof _wpmejsSettings !== 'undefined' ) {
settings = $.extend( true, {}, _wpmejsSettings );
}
settings.classPrefix = 'mejs-';
settings.success = settings.success || function (mejs) {
var autoplay, loop;
if ( 'flash' === mejs.pluginType ) {
if ( mejs.rendererName && -1 !== mejs.rendererName.indexOf( 'flash' ) ) {
autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay;
loop = mejs.attributes.loop && 'false' !== mejs.attributes.loop;
autoplay && mejs.addEventListener( 'canplay', function () {
mejs.play();
}, false );
if ( autoplay ) {
mejs.addEventListener( 'canplay', function() {
mejs.play();
}, false );
}
loop && mejs.addEventListener( 'ended', function () {
mejs.play();
}, false );
if ( loop ) {
mejs.addEventListener( 'ended', function() {
mejs.play();
}, false );
}
}
};

View File

@ -1 +1 @@
.wp-playlist-caption,.wp-playlist-current-item .wp-playlist-item-artist,.wp-playlist-current-item .wp-playlist-item-title,.wp-playlist-item-album{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mejs-container{clear:both}.mejs-container *{font-family:Helvetica,Arial}.mejs-container,.mejs-container .mejs-controls,.mejs-embed,.mejs-embed body{background:#222}.mejs-controls a.mejs-horizontal-volume-slider{display:table}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-time-rail .mejs-time-loaded{background:#fff}.mejs-controls .mejs-time-rail .mejs-time-current{background:#0073aa}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail .mejs-time-total{background:rgba(255,255,255,.33)}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail span{border-radius:0}.mejs-overlay-loading{background:0 0}.mejs-controls button:hover{border:none;-webkit-box-shadow:none;box-shadow:none}.me-cannotplay{width:auto!important}.media-embed-details .wp-audio-shortcode{display:inline-block;max-width:400px}.audio-details .embed-media-settings{overflow:visible}.media-embed-details .embed-media-settings .setting span{max-width:400px;width:auto}.media-embed-details .embed-media-settings .checkbox-setting span{display:inline-block}.media-embed-details .embed-media-settings{padding-top:0;top:28px}.media-embed-details .instructions{padding:16px 0;max-width:600px}.media-embed-details .setting .remove-setting,.media-embed-details .setting p{color:#a00;font-size:10px;text-transform:uppercase;text-decoration:none}.media-embed-details .setting .remove-setting{padding:0}.media-embed-details .setting a:hover{color:red}.media-embed-details .embed-media-settings .checkbox-setting{float:none;margin:0 0 10px}.wp-video{max-width:100%;height:auto}.wp_attachment_holder .wp-audio-shortcode,.wp_attachment_holder .wp-video{margin-top:18px}.wp-video-shortcode video,video.wp-video-shortcode{max-width:100%;display:inline-block}.video-details .wp-video-holder{width:100%;max-width:640px}.wp-playlist{border:1px solid #ccc;padding:10px;margin:12px 0 18px;font-size:14px;line-height:1.5}.wp-admin .wp-playlist{margin:0 0 18px}.wp-playlist video{display:inline-block;max-width:100%}.wp-playlist audio{display:none;max-width:100%;width:400px}.wp-playlist-caption,.wp-playlist-item-meta{display:block;font-size:14px;line-height:1.5}.wp-playlist .mejs-container{margin:0;width:100%}.wp-playlist .mejs-controls .mejs-button button{outline:0}.wp-playlist-light{background:#fff;color:#000}.wp-playlist-dark{color:#fff;background:#000}.wp-playlist-caption{max-width:88%}.wp-playlist-item .wp-playlist-caption{text-decoration:none;color:#000;max-width:-webkit-calc(100% - 40px);max-width:calc(100% - 40px)}.wp-playlist-item-title{font-size:14px;line-height:1.5}.wp-playlist-item-album{font-style:italic}.wp-playlist-item-artist{font-size:12px;text-transform:uppercase}.wp-playlist-item-length{position:absolute;right:3px;top:0;font-size:14px;line-height:1.5}.rtl .wp-playlist-item-length{left:3px;right:auto}.wp-playlist-tracks{margin-top:10px}.wp-playlist-item{position:relative;cursor:pointer;padding:0 3px;border-bottom:1px solid #ccc}.wp-playlist-item:last-child{border-bottom:0}.wp-playlist-light .wp-playlist-caption{color:#333}.wp-playlist-dark .wp-playlist-caption{color:#ddd}.wp-playlist-playing{font-weight:700;background:#f7f7f7}.wp-playlist-light .wp-playlist-playing{background:#fff;color:#000}.wp-playlist-dark .wp-playlist-playing{background:#000;color:#fff}.wp-playlist-current-item{overflow:hidden;margin-bottom:10px;height:60px}.wp-playlist .wp-playlist-current-item img{float:left;max-width:60px;height:auto;margin-right:10px;padding:0;border:0}.rtl .wp-playlist .wp-playlist-current-item img{float:right;margin-left:10px;margin-right:0}.wp-audio-playlist .me-cannotplay span{padding:5px 15px}
.wp-playlist-caption,.wp-playlist-current-item .wp-playlist-item-artist,.wp-playlist-current-item .wp-playlist-item-title,.wp-playlist-item-album{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mejs-container{clear:both}.mejs-container *{font-family:Helvetica,Arial}.mejs-container,.mejs-container .mejs-controls,.mejs-embed,.mejs-embed body{background:#222}.mejs-controls a.mejs-horizontal-volume-slider{display:table}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-time-rail .mejs-time-loaded{background:#fff}.mejs-controls .mejs-time-rail .mejs-time-current{background:#0073aa}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail .mejs-time-total{background:rgba(255,255,255,.33)}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail span{border-radius:0}.mejs-overlay-loading{background:0 0}.mejs-controls button:hover{border:none;-webkit-box-shadow:none;box-shadow:none}.me-cannotplay{width:auto!important}.media-embed-details .wp-audio-shortcode{display:inline-block;max-width:400px}.audio-details .embed-media-settings{overflow:visible}.media-embed-details .embed-media-settings .setting span{max-width:400px;width:auto}.media-embed-details .embed-media-settings .checkbox-setting span{display:inline-block}.media-embed-details .embed-media-settings{padding-top:0;top:28px}.media-embed-details .instructions{padding:16px 0;max-width:600px}.media-embed-details .setting .remove-setting,.media-embed-details .setting p{color:#a00;font-size:10px;text-transform:uppercase}.media-embed-details .setting .remove-setting{padding:0}.media-embed-details .setting a:hover{color:red}.media-embed-details .embed-media-settings .checkbox-setting{float:none;margin:0 0 10px}.wp-video{max-width:100%;height:auto}.wp_attachment_holder .wp-audio-shortcode,.wp_attachment_holder .wp-video{margin-top:18px}.wp-video-shortcode video,video.wp-video-shortcode{max-width:100%;display:inline-block}.video-details .wp-video-holder{width:100%;max-width:640px}.wp-playlist{border:1px solid #ccc;padding:10px;margin:12px 0 18px;font-size:14px;line-height:1.5}.wp-admin .wp-playlist{margin:0 0 18px}.wp-playlist video{display:inline-block;max-width:100%}.wp-playlist audio{display:none;max-width:100%;width:400px}.wp-playlist-caption,.wp-playlist-item-meta{display:block;font-size:14px;line-height:1.5}.wp-playlist .mejs-container{margin:0;width:100%}.wp-playlist .mejs-controls .mejs-button button{outline:0}.wp-playlist-light{background:#fff;color:#000}.wp-playlist-dark{color:#fff;background:#000}.wp-playlist-caption{max-width:88%}.wp-playlist-item .wp-playlist-caption{text-decoration:none;color:#000;max-width:-webkit-calc(100% - 40px);max-width:calc(100% - 40px)}.wp-playlist-item-title{font-size:14px;line-height:1.5}.wp-playlist-item-album{font-style:italic}.wp-playlist-item-artist{font-size:12px;text-transform:uppercase}.wp-playlist-item-length{position:absolute;right:3px;top:0;font-size:14px;line-height:1.5}.rtl .wp-playlist-item-length{left:3px;right:auto}.wp-playlist-tracks{margin-top:10px}.wp-playlist-item{position:relative;cursor:pointer;padding:0 3px;border-bottom:1px solid #ccc}.wp-playlist-item:last-child{border-bottom:0}.wp-playlist-light .wp-playlist-caption{color:#333}.wp-playlist-dark .wp-playlist-caption{color:#ddd}.wp-playlist-playing{font-weight:700;background:#f7f7f7}.wp-playlist-light .wp-playlist-playing{background:#fff;color:#000}.wp-playlist-dark .wp-playlist-playing{background:#000;color:#fff}.wp-playlist-current-item{overflow:hidden;margin-bottom:10px;height:60px}.wp-playlist .wp-playlist-current-item img{float:left;max-width:60px;height:auto;margin-right:10px;padding:0;border:0}.rtl .wp-playlist .wp-playlist-current-item img{float:right;margin-left:10px;margin-right:0}.wp-audio-playlist .me-cannotplay span{padding:5px 15px}

View File

@ -1 +1 @@
!function(a,b){function c(){function a(){"undefined"!=typeof _wpmejsSettings&&(c=b.extend(!0,{},_wpmejsSettings)),c.success=c.success||function(a){var b,c;"flash"===a.pluginType&&(b=a.attributes.autoplay&&"false"!==a.attributes.autoplay,c=a.attributes.loop&&"false"!==a.attributes.loop,b&&a.addEventListener("canplay",function(){a.play()},!1),c&&a.addEventListener("ended",function(){a.play()},!1))},b(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!b(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(c)}var c={};return{initialize:a}}a.wp=a.wp||{},mejs.plugins.silverlight[0].types.push("video/x-ms-wmv"),mejs.plugins.silverlight[0].types.push("audio/x-ms-wma"),a.wp.mediaelement=new c,b(a.wp.mediaelement.initialize)}(window,jQuery);
!function(a,b){function c(){function a(){"undefined"!=typeof _wpmejsSettings&&(c=b.extend(!0,{},_wpmejsSettings)),c.classPrefix="mejs-",c.success=c.success||function(a){var b,c;a.rendererName&&-1!==a.rendererName.indexOf("flash")&&(b=a.attributes.autoplay&&"false"!==a.attributes.autoplay,c=a.attributes.loop&&"false"!==a.attributes.loop,b&&a.addEventListener("canplay",function(){a.play()},!1),c&&a.addEventListener("ended",function(){a.play()},!1))},b(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!b(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(c)}var c={};return{initialize:a}}a.wp=a.wp||{},a.wp.mediaelement=new c,b(a.wp.mediaelement.initialize)}(window,jQuery);

View File

@ -2502,7 +2502,7 @@ function wp_video_shortcode( $attr, $content = '' ) {
}
if ( $is_vimeo ) {
wp_enqueue_script( 'froogaloop' );
wp_enqueue_script( 'mediaelement-vimeo' );
}
$primary = true;
@ -2544,6 +2544,7 @@ function wp_video_shortcode( $attr, $content = '' ) {
if ( 'mediaelement' === $library && did_action( 'init' ) ) {
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'wp-mediaelement' );
wp_enqueue_script( 'mediaelement-vimeo' );
}
// Mediaelement has issues with some URL formats for Vimeo and YouTube, so
@ -3945,7 +3946,7 @@ function attachment_url_to_postid( $url ) {
*/
function wpview_media_sandbox_styles() {
$version = 'ver=' . get_bloginfo( 'version' );
$mediaelement = includes_url( "js/mediaelement/mediaelementplayer.min.css?$version" );
$mediaelement = includes_url( "js/mediaelement/mediaelementplayer-legacy.min.css?$version" );
$wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" );
return array( $mediaelement, $wpmediaelement );

View File

@ -346,38 +346,104 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), false, 1 );
$scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '2.22.0', 1 );
$scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '4.2.3', 1 );
did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
'language' => get_bloginfo( 'language' ),
'strings' => array(
'Close' => __( 'Close' ),
'Fullscreen' => __( 'Fullscreen' ),
'Turn off Fullscreen' => __( 'Turn off Fullscreen' ),
'Go Fullscreen' => __( 'Go Fullscreen' ),
'Download File' => __( 'Download File' ),
'Download Video' => __( 'Download Video' ),
'Play' => __( 'Play' ),
'Pause' => __( 'Pause' ),
'Captions/Subtitles' => __( 'Captions/Subtitles' ),
'None' => _x( 'None', 'no captions/subtitles' ),
'Time Slider' => __( 'Time Slider' ),
/* translators: %1: number of seconds (30 by default) */
'Skip back %1 seconds' => __( 'Skip back %1 seconds' ),
'Video Player' => __( 'Video Player' ),
'Audio Player' => __( 'Audio Player' ),
'Volume Slider' => __( 'Volume Slider' ),
'Mute Toggle' => __( 'Mute Toggle' ),
'Unmute' => __( 'Unmute' ),
'Mute' => __( 'Mute' ),
'Use Up/Down Arrow keys to increase or decrease volume.' => __( 'Use Up/Down Arrow keys to increase or decrease volume.' ),
'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' => __( 'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' ),
),
) );
'mejs.install-flash' => __( 'You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/' ),
'mejs.fullscreen-off' => __( 'Turn off Fullscreen' ),
'mejs.fullscreen-on' => __( 'Go Fullscreen' ),
'mejs.download-video' => __( 'Download Video' ),
'mejs.fullscreen' => __( 'Fullscreen' ),
'mejs.time-jump-forward' => array( __( 'Jump forward 1 second' ), __( 'Jump forward %1 seconds' ) ),
'mejs.loop' => __( 'Toggle Loop' ),
'mejs.play' => __( 'Play' ),
'mejs.pause' => __( 'Pause' ),
'mejs.close' => __( 'Close' ),
'mejs.time-slider' => __( 'Time Slider' ),
'mejs.time-help-text' => __( 'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' ),
'mejs.time-skip-back' => array( __( 'Skip back 1 second' ), __( 'Skip back %1 seconds' ) ),
'mejs.captions-subtitles' => __( 'Captions/Subtitles' ),
'mejs.captions-chapters' => __( 'Chapters' ),
'mejs.none' => __( 'None' ),
'mejs.mute-toggle' => __( 'Mute Toggle' ),
'mejs.volume-help-text' => __( 'Use Up/Down Arrow keys to increase or decrease volume.' ),
'mejs.unmute' => __( 'Unmute' ),
'mejs.mute' => __( 'Mute' ),
'mejs.volume-slider' => __( 'Volume Slider' ),
'mejs.video-player' => __( 'Video Player' ),
'mejs.audio-player' => __( 'Audio Player' ),
'mejs.ad-skip' => __( 'Skip ad' ),
'mejs.ad-skip-info' => array( __( 'Skip in 1 second' ), __( 'Skip in %1 seconds' ) ),
'mejs.source-chooser' => __( 'Source Chooser' ),
'mejs.stop' => __( 'Stop' ),
'mejs.speed-rate' => __( 'Speed Rate' ),
'mejs.live-broadcast' => __( 'Live Broadcast' ),
'mejs.afrikaans' => __( 'Afrikaans' ),
'mejs.albanian' => __( 'Albanian' ),
'mejs.arabic' => __( 'Arabic' ),
'mejs.belarusian' => __( 'Belarusian' ),
'mejs.bulgarian' => __( 'Bulgarian' ),
'mejs.catalan' => __( 'Catalan' ),
'mejs.chinese' => __( 'Chinese' ),
'mejs.chinese-simplified' => __( 'Chinese (Simplified)' ),
'mejs.chinese-traditional' => __( 'Chinese (Traditional)' ),
'mejs.croatian' => __( 'Croatian' ),
'mejs.czech' => __( 'Czech' ),
'mejs.danish' => __( 'Danish' ),
'mejs.dutch' => __( 'Dutch' ),
'mejs.english' => __( 'English' ),
'mejs.estonian' => __( 'Estonian' ),
'mejs.filipino' => __( 'Filipino' ),
'mejs.finnish' => __( 'Finnish' ),
'mejs.french' => __( 'French' ),
'mejs.galician' => __( 'Galician' ),
'mejs.german' => __( 'German' ),
'mejs.greek' => __( 'Greek' ),
'mejs.haitian-creole' => __( 'Haitian Creole' ),
'mejs.hebrew' => __( 'Hebrew' ),
'mejs.hindi' => __( 'Hindi' ),
'mejs.hungarian' => __( 'Hungarian' ),
'mejs.icelandic' => __( 'Icelandic' ),
'mejs.indonesian' => __( 'Indonesian' ),
'mejs.irish' => __( 'Irish' ),
'mejs.italian' => __( 'Italian' ),
'mejs.japanese' => __( 'Japanese' ),
'mejs.korean' => __( 'Korean' ),
'mejs.latvian' => __( 'Latvian' ),
'mejs.lithuanian' => __( 'Lithuanian' ),
'mejs.macedonian' => __( 'Macedonian' ),
'mejs.malay' => __( 'Malay' ),
'mejs.maltese' => __( 'Maltese' ),
'mejs.norwegian' => __( 'Norwegian' ),
'mejs.persian' => __( 'Persian' ),
'mejs.polish' => __( 'Polish' ),
'mejs.portuguese' => __( 'Portuguese' ),
'mejs.romanian' => __( 'Romanian' ),
'mejs.russian' => __( 'Russian' ),
'mejs.serbian' => __( 'Serbian' ),
'mejs.slovak' => __( 'Slovak' ),
'mejs.slovenian' => __( 'Slovenian' ),
'mejs.spanish' => __( 'Spanish' ),
'mejs.swahili' => __( 'Swahili' ),
'mejs.swedish' => __( 'Swedish' ),
'mejs.tagalog' => __( 'Tagalog' ),
'mejs.thai' => __( 'Thai' ),
'mejs.turkish' => __( 'Turkish' ),
'mejs.ukrainian' => __( 'Ukrainian' ),
'mejs.vietnamese' => __( 'Vietnamese' ),
'mejs.welsh' => __( 'Welsh' ),
'mejs.yiddish' => __( 'Yiddish' ),
),
) );
$scripts->add( 'mediaelement-vimeo', "/wp-includes/js/mediaelement/renderers/vimeo.min.js", array('mediaelement'), '4.2.3', 1 );
$scripts->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement$suffix.js", array('mediaelement'), false, 1 );
$mejs_settings = array(
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
'classPrefix' => 'mejs-',
'stretching' => 'responsive',
);
did_action( 'init' ) && $scripts->localize( 'mediaelement', '_wpmejsSettings',
/**
@ -390,7 +456,6 @@ function wp_default_scripts( &$scripts ) {
apply_filters( 'mejs_settings', $mejs_settings )
);
$scripts->add( 'froogaloop', "/wp-includes/js/mediaelement/froogaloop.min.js", array(), '2.0' );
$scripts->add( 'wp-playlist', "/wp-includes/js/mediaelement/wp-playlist$suffix.js", array( 'wp-util', 'backbone', 'mediaelement' ), false, 1 );
$scripts->add( 'zxcvbn-async', "/wp-includes/js/zxcvbn-async$suffix.js", array(), '1.0' );
@ -881,7 +946,7 @@ function wp_default_styles( &$styles ) {
// External libraries and friends
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array( 'dashicons' ) );
$styles->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelementplayer.min.css", array(), '2.22.0' );
$styles->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css", array(), '4.2.3' );
$styles->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement$suffix.css", array( 'mediaelement' ) );
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array( 'dashicons' ) );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41197';
$wp_version = '4.9-alpha-41198';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -163,11 +163,9 @@ class WP_Widget_Media_Video extends WP_Widget_Media {
/** This filter is documented in wp-includes/media.php */
if ( 'mediaelement' === apply_filters( 'wp_video_shortcode_library', 'mediaelement' ) ) {
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'mediaelement-vimeo' );
wp_enqueue_script( 'wp-mediaelement' );
}
// Enqueue script needed by Vimeo; see wp_video_shortcode().
wp_enqueue_script( 'froogaloop' );
}
/**