Update mediaelement from 4.1.1 to 4.2.9

I've tested this on mp3, ogg and flac, everything
is working.

Apart from fixing a decent amount of bugs
(https://github.com/mediaelement/mediaelement/releases),
this has the nice side effect of removing a copy
of jquery 1.9.1.
master
jvoisin 6 years ago
parent e330eeb864
commit a6c92acb3e
  1. 9597
      airsonic-main/src/main/webapp/script/mediaelement/jquery.js
  2. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/ca.js
  3. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/cs.js
  4. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/de.js
  5. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/es.js
  6. 90
      airsonic-main/src/main/webapp/script/mediaelement/lang/fa.js
  7. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/fr.js
  8. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/hr.js
  9. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/hu.js
  10. 148
      airsonic-main/src/main/webapp/script/mediaelement/lang/it.js
  11. 148
      airsonic-main/src/main/webapp/script/mediaelement/lang/ja.js
  12. 148
      airsonic-main/src/main/webapp/script/mediaelement/lang/ko.js
  13. 90
      airsonic-main/src/main/webapp/script/mediaelement/lang/ms.js
  14. 148
      airsonic-main/src/main/webapp/script/mediaelement/lang/nl.js
  15. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/pl.js
  16. 91
      airsonic-main/src/main/webapp/script/mediaelement/lang/pt-br.js
  17. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/pt.js
  18. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/ro.js
  19. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/ru.js
  20. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/sk.js
  21. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/sv.js
  22. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/uk.js
  23. 146
      airsonic-main/src/main/webapp/script/mediaelement/lang/zh-cn.js
  24. 147
      airsonic-main/src/main/webapp/script/mediaelement/lang/zh.js
  25. 5886
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-and-player.js
  26. 26
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-and-player.min.js
  27. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-flash-audio-ogg.swf
  28. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-flash-audio.swf
  29. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-flash-video-hls.swf
  30. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-flash-video-mdash.swf
  31. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement-flash-video.swf
  32. 2921
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement.js
  33. 24
      airsonic-main/src/main/webapp/script/mediaelement/mediaelement.min.js
  34. 516
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer-legacy.css
  35. 2
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer-legacy.min.css
  36. 520
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer.css
  37. 7709
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer.js
  38. 2
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer.min.css
  39. 35
      airsonic-main/src/main/webapp/script/mediaelement/mediaelementplayer.min.js
  40. BIN
      airsonic-main/src/main/webapp/script/mediaelement/mejs-controls.png
  41. 123
      airsonic-main/src/main/webapp/script/mediaelement/mejs-controls.svg
  42. 228
      airsonic-main/src/main/webapp/script/mediaelement/renderers/dailymotion.js
  43. 12
      airsonic-main/src/main/webapp/script/mediaelement/renderers/dailymotion.min.js
  44. 339
      airsonic-main/src/main/webapp/script/mediaelement/renderers/facebook.js
  45. 12
      airsonic-main/src/main/webapp/script/mediaelement/renderers/facebook.min.js
  46. 183
      airsonic-main/src/main/webapp/script/mediaelement/renderers/soundcloud.js
  47. 12
      airsonic-main/src/main/webapp/script/mediaelement/renderers/soundcloud.min.js
  48. 241
      airsonic-main/src/main/webapp/script/mediaelement/renderers/twitch.js
  49. 12
      airsonic-main/src/main/webapp/script/mediaelement/renderers/twitch.min.js
  50. 262
      airsonic-main/src/main/webapp/script/mediaelement/renderers/vimeo.js
  51. 12
      airsonic-main/src/main/webapp/script/mediaelement/renderers/vimeo.min.js

File diff suppressed because it is too large Load Diff

@ -11,79 +11,79 @@
(function (exports) { (function (exports) {
if (exports.ca === undefined) { if (exports.ca === undefined) {
exports.ca = { exports.ca = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Descarregar arxiu", '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.install-flash': 'Esteu utilitzant un navegador que no tingui Flash Player activat o instal·lat. Activeu el vostre complement Flash Player o descarregueu la versió més recent de https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Pantalla completa", 'mejs.fullscreen': 'Pantalla completa',
"mejs.play": "Reproducció", 'mejs.play': 'Reproducció',
"mejs.pause": "Pausa", 'mejs.pause': 'Pausa',
// "mejs.time-slider": "Time Slider", 'mejs.time-slider': 'Control lliscant de temps',
// "mejs.time-help-text": "Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.", 'mejs.time-help-text': 'Utilitzeu les tecles de fletxa esquerra / dreta per avançar un segon, fletxes amunt / avall per avançar deu segons.',
//"mejs.live-broadcast" : "Live Broadcast", 'mejs.live-broadcast' : 'Transmissió en directe',
// "mejs.volume-help-text": "Use Up/Down Arrow keys to increase or decrease volume.", 'mejs.volume-help-text': 'Utilitzeu les tecles de fletxa amunt / avall per augmentar o disminuir el volum.',
"mejs.unmute": "Reactivar silenci", 'mejs.unmute': 'Reactivar silenci',
"mejs.mute": "Silenci", 'mejs.mute': 'Silenci',
// "mejs.volume-slider": "Volume Slider", 'mejs.volume-slider': 'Control deslizador de volum',
"mejs.video-player": "Reproductor de vídeo", 'mejs.video-player': 'Reproductor de vídeo',
"mejs.audio-player": "Reproductor d'àudio", 'mejs.audio-player': 'Reproductor d\'àudio',
"mejs.captions-subtitles": "Llegendes/Subtítols", 'mejs.captions-subtitles': 'Llegendes/Subtítols',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Capítols',
"mejs.none": "Ningú" 'mejs.none': 'Ningú',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albanès',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Àrab',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Bielorús',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Búlgar',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Català',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Xinès',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Xinès (Simplificat)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Xinès (Tradicional)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Croat',
// "mejs.czech": "Czech", 'mejs.czech': 'Txec',
// "mejs.danish": "Danish", 'mejs.danish': 'Danès',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Holandès',
// "mejs.english": "English", 'mejs.english': 'Anglès',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estonià',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipí',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finlandès',
// "mejs.french": "French", 'mejs.french': 'Francès',
// "mejs.galician": "Galician", 'mejs.galician': 'Gallec',
// "mejs.german": "German", 'mejs.german': 'Alemany',
// "mejs.greek": "Greek", 'mejs.greek': 'Grec',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Crioll haitià',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Hebreu',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Hongarès',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandès',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonesi',
// "mejs.irish": "Irish", 'mejs.irish': 'Irlandès',
// "mejs.italian": "Italian", 'mejs.italian': 'Italià',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japonès',
// "mejs.korean": "Korean", 'mejs.korean': 'Coreà',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Letó',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Lituà',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedoni',
// "mejs.malay": "Malay", 'mejs.malay': 'Malai',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltès',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Noruec',
// "mejs.persian": "Persian", 'mejs.persian': 'Persa',
// "mejs.polish": "Polish", 'mejs.polish': 'Polonès',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portuguès',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Romanès',
// "mejs.russian": "Russian", 'mejs.russian': 'Rus',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Serbi',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Eslovac',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Eslovè',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Espanyol',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Suahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'Suec',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turc',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ucraïnès',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamita',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Gal·lès',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Yiddish'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.cs === undefined) { if (exports.cs === undefined) {
exports.cs = { exports.cs = {
"mejs.plural-form": 8, 'mejs.plural-form': 8,
"mejs.download-file": "Stáhnout soubor", '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.install-flash': 'Používáte prohlížeč, který nemá Flash Player povolen nebo nainstalován. Zapněte plugin Flash Player nebo stáhněte nejnovější verzi z adresy https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Celá obrazovka", 'mejs.fullscreen': 'Celá obrazovka',
"mejs.play": "Přehrát", 'mejs.play': 'Přehrát',
"mejs.pause": "Pozastavit", 'mejs.pause': 'Pozastavit',
"mejs.time-slider": "Posuvný běžec nastavení času", '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.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.live-broadcast' : 'Živé vysílání',
"mejs.volume-help-text": "Použijte tlačítka se šipkami nahoru / dolů pro zesílení nebo zeslabení hlasitosti.", 'mejs.volume-help-text': 'Použijte tlačítka se šipkami nahoru / dolů pro zesílení nebo zeslabení hlasitosti.',
"mejs.unmute": "Zapnout zvuk", 'mejs.unmute': 'Zapnout zvuk',
"mejs.mute": "Vypnout zvuk", 'mejs.mute': 'Vypnout zvuk',
"mejs.volume-slider": "Posuvný běžec nastavení hlasitosti", 'mejs.volume-slider': 'Posuvný běžec nastavení hlasitosti',
"mejs.video-player": "Přehrávač videa", 'mejs.video-player': 'Přehrávač videa',
"mejs.audio-player": "Přehrávač hudby", 'mejs.audio-player': 'Přehrávač hudby',
"mejs.captions-subtitles": "Titulky", 'mejs.captions-subtitles': 'Titulky',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Kapitoly',
"mejs.none": "Žádný" 'mejs.none': 'Žádný',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikánština',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albánský',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arabština',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Běloruské',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bulharský',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Katalánština',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'čínština',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Zjednodušená čínština)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Čínština (tradiční)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Chorvatský',
// "mejs.czech": "Czech", 'mejs.czech': 'čeština',
// "mejs.danish": "Danish", 'mejs.danish': 'Dánština',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Holandský',
// "mejs.english": "English", 'mejs.english': 'Angličtina',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estonština',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipino',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finština',
// "mejs.french": "French", 'mejs.french': 'Francouzština',
// "mejs.galician": "Galician", 'mejs.galician': 'Galicijština',
// "mejs.german": "German", 'mejs.german': 'Němec',
// "mejs.greek": "Greek", 'mejs.greek': 'řecký',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Haitian kreolský',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Hebrejština',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindština',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Maďarský',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandský',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonéština',
// "mejs.irish": "Irish", 'mejs.irish': 'Irština',
// "mejs.italian": "Italian", 'mejs.italian': 'Italština',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japonský',
// "mejs.korean": "Korean", 'mejs.korean': 'Korejština',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Lotyšský',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Lithuanian',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Makedonština',
// "mejs.malay": "Malay", 'mejs.malay': 'Malay',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltština',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Norština',
// "mejs.persian": "Persian", 'mejs.persian': 'Peršan',
// "mejs.polish": "Polish", 'mejs.polish': 'Polština',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portugalština',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Rumunština',
// "mejs.russian": "Russian", 'mejs.russian': 'Ruština',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Srbština',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slovák',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Slovinský',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'španělština',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Svahilský',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'švédský',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thajština',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turečtina',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ukrajinština',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamština',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Velština',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Jidiš'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.de === undefined) { if (exports.de === undefined) {
exports.de = { exports.de = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Datei herunterladen", '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.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.fullscreen': 'Vollbild',
"mejs.play": "Abspielen", 'mejs.play': 'Abspielen',
"mejs.pause": "Pause", 'mejs.pause': 'Pause',
"mejs.time-slider": "Zeitschieberegler", '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.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.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.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.unmute': 'Stummschaltung aufheben',
"mejs.mute": "Stummschalten", 'mejs.mute': 'Stummschalten',
"mejs.volume-slider": "Lautstärkeregler", 'mejs.volume-slider': 'Lautstärkeregler',
"mejs.video-player": "Video-Player", 'mejs.video-player': 'Video-Player',
"mejs.audio-player": "Audio-Player", 'mejs.audio-player': 'Audio-Player',
"mejs.captions-subtitles": "Überschriften/Untertitel", 'mejs.captions-subtitles': 'Überschriften/Untertitel',
"mejs.captions-chapters": "Kapitel", 'mejs.captions-chapters': 'Kapitel',
"mejs.none": "Keine", 'mejs.none': 'Keine',
"mejs.afrikaans": "Afrikanisch", 'mejs.afrikaans': 'Afrikanisch',
"mejs.albanian": "Albanisch", 'mejs.albanian': 'Albanisch',
"mejs.arabic": "Arabisch", 'mejs.arabic': 'Arabisch',
"mejs.belarusian": "Weißrussisch", 'mejs.belarusian': 'Weißrussisch',
"mejs.bulgarian": "Bulgarisch", 'mejs.bulgarian': 'Bulgarisch',
"mejs.catalan": "Katalanisch", 'mejs.catalan': 'Katalanisch',
"mejs.chinese": "Chinesisch", 'mejs.chinese': 'Chinesisch',
"mejs.chinese-simplified": "Chinesisch (Vereinfacht)", 'mejs.chinese-simplified': 'Chinesisch (Vereinfacht)',
"mejs.chinese-traditional": "Chinesisch (Traditionell)", 'mejs.chinese-traditional': 'Chinesisch (Traditionell)',
"mejs.croatian": "Kroatisch", 'mejs.croatian': 'Kroatisch',
"mejs.czech": "Tschechisch", 'mejs.czech': 'Tschechisch',
"mejs.danish": "Dänisch", 'mejs.danish': 'Dänisch',
"mejs.dutch": "Niederländisch", 'mejs.dutch': 'Niederländisch',
"mejs.english": "Englisch", 'mejs.english': 'Englisch',
"mejs.estonian": "Estnisch", 'mejs.estonian': 'Estnisch',
"mejs.filipino": "Filipino", 'mejs.filipino': 'Filipino',
"mejs.finnish": "Finnisch", 'mejs.finnish': 'Finnisch',
"mejs.french": "Französisch", 'mejs.french': 'Französisch',
"mejs.galician": "Galicisch", 'mejs.galician': 'Galicisch',
"mejs.german": "Deutsch", 'mejs.german': 'Deutsch',
"mejs.greek": "Griechisch", 'mejs.greek': 'Griechisch',
"mejs.haitian-creole": "Haitianisch", 'mejs.haitian-creole': 'Haitianisch',
"mejs.hebrew": "Hebräisch", 'mejs.hebrew': 'Hebräisch',
"mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
"mejs.hungarian": "Ungarisch", 'mejs.hungarian': 'Ungarisch',
"mejs.icelandic": "Isländisch", 'mejs.icelandic': 'Isländisch',
"mejs.indonesian": "Indonesisch", 'mejs.indonesian': 'Indonesisch',
"mejs.irish": "Irisch", 'mejs.irish': 'Irisch',
"mejs.italian": "Italienisch", 'mejs.italian': 'Italienisch',
"mejs.japanese": "Japanisch", 'mejs.japanese': 'Japanisch',
"mejs.korean": "Koreanisch", 'mejs.korean': 'Koreanisch',
"mejs.latvian": "Lettisch", 'mejs.latvian': 'Lettisch',
"mejs.lithuanian": "Litauisch", 'mejs.lithuanian': 'Litauisch',
"mejs.macedonian": "Mazedonisch", 'mejs.macedonian': 'Mazedonisch',
"mejs.malay": "Malaysisch", 'mejs.malay': 'Malaysisch',
"mejs.maltese": "Maltesisch", 'mejs.maltese': 'Maltesisch',
"mejs.norwegian": "Norwegisch", 'mejs.norwegian': 'Norwegisch',
"mejs.persian": "Persisch", 'mejs.persian': 'Persisch',
"mejs.polish": "Polnisch", 'mejs.polish': 'Polnisch',
"mejs.portuguese": "Portugiesisch", 'mejs.portuguese': 'Portugiesisch',
"mejs.romanian": "Rumänisch", 'mejs.romanian': 'Rumänisch',
"mejs.russian": "Russisch", 'mejs.russian': 'Russisch',
"mejs.serbian": "Serbisch", 'mejs.serbian': 'Serbisch',
"mejs.slovak": "Slovakisch", 'mejs.slovak': 'Slovakisch',
"mejs.slovenian": "Slovenisch", 'mejs.slovenian': 'Slovenisch',
"mejs.spanish": "Spanisch", 'mejs.spanish': 'Spanisch',
"mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
"mejs.swedish": "Schwedisch", 'mejs.swedish': 'Schwedisch',
"mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
"mejs.thai": "Thailändisch", 'mejs.thai': 'Thailändisch',
"mejs.turkish": "Türkisch", 'mejs.turkish': 'Türkisch',
"mejs.ukrainian": "Ukrainisch", 'mejs.ukrainian': 'Ukrainisch',
"mejs.vietnamese": "Vietnamnesisch", 'mejs.vietnamese': 'Vietnamnesisch',
"mejs.welsh": "Walisisch", 'mejs.welsh': 'Walisisch',
"mejs.yiddish": "Jiddisch" 'mejs.yiddish': 'Jiddisch'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
*/(function (exports) { */(function (exports) {
if (exports.es === undefined) { if (exports.es === undefined) {
exports.es = { exports.es = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Descargar archivo", '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.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.fullscreen': 'Pantalla completa',
"mejs.play": "Reproducción", 'mejs.play': 'Reproducción',
"mejs.pause": "Pausa", 'mejs.pause': 'Pausa',
"mejs.time-slider": "Control deslizante de tiempo", '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.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.live-broadcast': 'Transmisión en Vivo',
"mejs.volume-help-text": "Use las flechas Arriba/Abajo para subir o bajar el volumen.", 'mejs.volume-help-text': 'Use las flechas Arriba/Abajo para subir o bajar el volumen.',
"mejs.unmute": "Reactivar silencio", 'mejs.unmute': 'Reactivar silencio',
"mejs.mute": "Silencio", 'mejs.mute': 'Silencio',
"mejs.volume-slider": "Control deslizante de volumen", 'mejs.volume-slider': 'Control deslizante de volumen',
"mejs.video-player": "Reproductor de video", 'mejs.video-player': 'Reproductor de video',
"mejs.audio-player": "Reproductor de audio", 'mejs.audio-player': 'Reproductor de audio',
"mejs.captions-subtitles": "Leyendas/Subtítulos", 'mejs.captions-subtitles': 'Leyendas/Subtítulos',
"mejs.captions-chapters": "Capítulos", 'mejs.captions-chapters': 'Capítulos',
"mejs.none": "Ninguno", 'mejs.none': 'Ninguno',
"mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
"mejs.albanian": "Albano", 'mejs.albanian': 'Albano',
"mejs.arabic": "Árabe", 'mejs.arabic': 'Árabe',
"mejs.belarusian": "Bielorruso", 'mejs.belarusian': 'Bielorruso',
"mejs.bulgarian": "Búlgaro", 'mejs.bulgarian': 'Búlgaro',
"mejs.catalan": "Catalán", 'mejs.catalan': 'Catalán',
"mejs.chinese": "Chino", 'mejs.chinese': 'Chino',
"mejs.chinese-simplified": "Chino (Simplificado)", 'mejs.chinese-simplified': 'Chino (Simplificado)',
"mejs.chinese-traditional": "Chino (Tradicional)", 'mejs.chinese-traditional': 'Chino (Tradicional)',
"mejs.croatian": "Croata", 'mejs.croatian': 'Croata',
"mejs.czech": "Checo", 'mejs.czech': 'Checo',
"mejs.danish": "Danés", 'mejs.danish': 'Danés',
"mejs.dutch": "Holandés", 'mejs.dutch': 'Holandés',
"mejs.english": "Inglés", 'mejs.english': 'Inglés',
"mejs.estonian": "Estoniano", 'mejs.estonian': 'Estoniano',
"mejs.filipino": "Filipino", 'mejs.filipino': 'Filipino',
"mejs.finnish": "Finlandés", 'mejs.finnish': 'Finlandés',
"mejs.french": "Francés", 'mejs.french': 'Francés',
"mejs.galician": "Gallego", 'mejs.galician': 'Gallego',
"mejs.german": "Alemán", 'mejs.german': 'Alemán',
"mejs.greek": "Griego", 'mejs.greek': 'Griego',
"mejs.haitian-creole": "Haitiano Criollo", 'mejs.haitian-creole': 'Haitiano Criollo',
"mejs.hebrew": "Hebreo", 'mejs.hebrew': 'Hebreo',
"mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
"mejs.hungarian": "Húngaro", 'mejs.hungarian': 'Húngaro',
"mejs.icelandic": "Islandés", 'mejs.icelandic': 'Islandés',
"mejs.indonesian": "Indonesio", 'mejs.indonesian': 'Indonesio',
"mejs.irish": "Irlandés", 'mejs.irish': 'Irlandés',
"mejs.italian": "Italiano", 'mejs.italian': 'Italiano',
"mejs.japanese": "Japonés", 'mejs.japanese': 'Japonés',
"mejs.korean": "Coreano", 'mejs.korean': 'Coreano',
"mejs.latvian": "Letón", 'mejs.latvian': 'Letón',
"mejs.lithuanian": "Lituano", 'mejs.lithuanian': 'Lituano',
"mejs.macedonian": "Macedonio", 'mejs.macedonian': 'Macedonio',
"mejs.malay": "Malayo", 'mejs.malay': 'Malayo',
"mejs.maltese": "Maltés", 'mejs.maltese': 'Maltés',
"mejs.norwegian": "Noruego", 'mejs.norwegian': 'Noruego',
"mejs.persian": "Persa", 'mejs.persian': 'Persa',
"mejs.polish": "Polaco", 'mejs.polish': 'Polaco',
"mejs.portuguese": "Portugués", 'mejs.portuguese': 'Portugués',
"mejs.romanian": "Rumano", 'mejs.romanian': 'Rumano',
"mejs.russian": "Ruso", 'mejs.russian': 'Ruso',
"mejs.serbian": "Serbio", 'mejs.serbian': 'Serbio',
"mejs.slovak": "Eslovaco", 'mejs.slovak': 'Eslovaco',
"mejs.slovenian": "Eslovenio", 'mejs.slovenian': 'Eslovenio',
"mejs.spanish": "Español", 'mejs.spanish': 'Español',
"mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
"mejs.swedish": "Suizo", 'mejs.swedish': 'Suizo',
"mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
"mejs.thai": "Tailandés", 'mejs.thai': 'Tailandés',
"mejs.turkish": "Turco", 'mejs.turkish': 'Turco',
"mejs.ukrainian": "Ucraniano", 'mejs.ukrainian': 'Ucraniano',
"mejs.vietnamese": "Vietnamita", 'mejs.vietnamese': 'Vietnamita',
"mejs.welsh": "Galés", 'mejs.welsh': 'Galés',
"mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Yiddish'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -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);

@ -13,79 +13,79 @@
(function (exports) { (function (exports) {
if (exports.fr === undefined) { if (exports.fr === undefined) {
exports.fr = { exports.fr = {
"mejs.plural-form": 2, 'mejs.plural-form': 2,
"mejs.download-file": "Télécharger le fichier", '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.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.fullscreen': 'Plein écran',
"mejs.play": "Lecture", 'mejs.play': 'Lecture',
"mejs.pause": "Pause", 'mejs.pause': 'Pause',
"mejs.time-slider": "Curseur temporel", '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.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.live-broadcast' : 'Diffusion en direct',
"mejs.volume-help-text": "Utilisez les flèches Haut/Bas du clavier pour augmenter ou diminuer le volume.", 'mejs.volume-help-text': 'Utilisez les flèches Haut/Bas du clavier pour augmenter ou diminuer le volume.',
"mejs.unmute": "Activer le son", 'mejs.unmute': 'Activer le son',
"mejs.mute": "Désactiver le son", 'mejs.mute': 'Désactiver le son',
"mejs.volume-slider": "Volume", 'mejs.volume-slider': 'Volume',
"mejs.video-player": "Lecteur Vidéo", 'mejs.video-player': 'Lecteur Vidéo',
"mejs.audio-player": "Lecteur Audio", 'mejs.audio-player': 'Lecteur Audio',
"mejs.captions-subtitles": "Sous-titres", 'mejs.captions-subtitles': 'Sous-titres',
"mejs.captions-chapters": "Chapitres", 'mejs.captions-chapters': 'Chapitres',
"mejs.none": "Aucun", 'mejs.none': 'Aucun',
"mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
"mejs.albanian": "Albanais", 'mejs.albanian': 'Albanais',
"mejs.arabic": "Arabe", 'mejs.arabic': 'Arabe',
"mejs.belarusian": "Biélorusse", 'mejs.belarusian': 'Biélorusse',
"mejs.bulgarian": "Bulgare", 'mejs.bulgarian': 'Bulgare',
"mejs.catalan": "Catalan", 'mejs.catalan': 'Catalan',
"mejs.chinese": "Chinois", 'mejs.chinese': 'Chinois',
"mejs.chinese-simplified": "Chinois (simplifié)", 'mejs.chinese-simplified': 'Chinois (simplifié)',
"mejs.chinese-traditional": "Chinois (traditionnel)", 'mejs.chinese-traditional': 'Chinois (traditionnel)',
"mejs.croatian": "Croate", 'mejs.croatian': 'Croate',
"mejs.czech": "Tchèque", 'mejs.czech': 'Tchèque',
"mejs.danish": "Danois", 'mejs.danish': 'Danois',
"mejs.dutch": "Néerlandais", 'mejs.dutch': 'Néerlandais',
"mejs.english": "Anglais", 'mejs.english': 'Anglais',
"mejs.estonian": "Estonien", 'mejs.estonian': 'Estonien',
"mejs.filipino": "Filipino", 'mejs.filipino': 'Filipino',
"mejs.finnish": "Finnois", 'mejs.finnish': 'Finnois',
"mejs.french": "Français", 'mejs.french': 'Français',
"mejs.galician": "Galicien", 'mejs.galician': 'Galicien',
"mejs.german": "Allemand", 'mejs.german': 'Allemand',
"mejs.greek": "Grec", 'mejs.greek': 'Grec',
"mejs.haitian-creole": "Créole haïtien", 'mejs.haitian-creole': 'Créole haïtien',
"mejs.hebrew": "Hébreu", 'mejs.hebrew': 'Hébreu',
"mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
"mejs.hungarian": "Hongrois", 'mejs.hungarian': 'Hongrois',
"mejs.icelandic": "Islandais", 'mejs.icelandic': 'Islandais',
"mejs.indonesian": "Indonésien", 'mejs.indonesian': 'Indonésien',
"mejs.irish": "Irlandais", 'mejs.irish': 'Irlandais',
"mejs.italian": "Italien", 'mejs.italian': 'Italien',
"mejs.japanese": "Japonais", 'mejs.japanese': 'Japonais',
"mejs.korean": "Coréen", 'mejs.korean': 'Coréen',
"mejs.latvian": "Letton", 'mejs.latvian': 'Letton',
"mejs.lithuanian": "Lituanien", 'mejs.lithuanian': 'Lituanien',
"mejs.macedonian": "Macédonien", 'mejs.macedonian': 'Macédonien',
"mejs.malay": "Malais", 'mejs.malay': 'Malais',
"mejs.maltese": "Maltais", 'mejs.maltese': 'Maltais',
"mejs.norwegian": "Norvégien", 'mejs.norwegian': 'Norvégien',
"mejs.persian": "Perse", 'mejs.persian': 'Perse',
"mejs.polish": "Polonais", 'mejs.polish': 'Polonais',
"mejs.portuguese": "Portugais", 'mejs.portuguese': 'Portugais',
"mejs.romanian": "Roumain", 'mejs.romanian': 'Roumain',
"mejs.russian": "Russe", 'mejs.russian': 'Russe',
"mejs.serbian": "Serbe", 'mejs.serbian': 'Serbe',
"mejs.slovak": "Slovaque", 'mejs.slovak': 'Slovaque',
"mejs.slovenian": "Slovène", 'mejs.slovenian': 'Slovène',
"mejs.spanish": "Espagnol", 'mejs.spanish': 'Espagnol',
"mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
"mejs.swedish": "Suédois", 'mejs.swedish': 'Suédois',
"mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
"mejs.thai": "Thaï", 'mejs.thai': 'Thaï',
"mejs.turkish": "Turque", 'mejs.turkish': 'Turque',
"mejs.ukrainian": "Ukrainien", 'mejs.ukrainian': 'Ukrainien',
"mejs.vietnamese": "Vietnamien", 'mejs.vietnamese': 'Vietnamien',
"mejs.welsh": "Gallois", 'mejs.welsh': 'Gallois',
"mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Yiddish'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -9,79 +9,79 @@
(function (exports) { (function (exports) {
if (exports.hr === undefined) { if (exports.hr === undefined) {
exports.hr = { exports.hr = {
"mejs.plural-form": 7, 'mejs.plural-form': 7,
"mejs.download-file": "Preuzmi datoteku", '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.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.fullscreen': 'Puni zaslon',
"mejs.play": "Pokreni", 'mejs.play': 'Pokreni',
"mejs.pause": "Zaustavi", 'mejs.pause': 'Zaustavi',
"mejs.time-slider": "Vremenska traka", '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.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.live-broadcast' : 'Prijenos uživo',
"mejs.volume-help-text": "Koristi strelice gore/dolje za pojačavanje ili stišavanje.", 'mejs.volume-help-text': 'Koristi strelice gore/dolje za pojačavanje ili stišavanje.',
"mejs.unmute": "Uključi zvuk", 'mejs.unmute': 'Uključi zvuk',
"mejs.mute": "Isključi zvuk", 'mejs.mute': 'Isključi zvuk',
"mejs.volume-slider": "Pokazivač razine zvuka", 'mejs.volume-slider': 'Pokazivač razine zvuka',
"mejs.video-player": "Video preglednik", 'mejs.video-player': 'Video preglednik',
"mejs.audio-player": "Audio preglednik", 'mejs.audio-player': 'Audio preglednik',
"mejs.captions-subtitles": "Opisi/Prijevodi", 'mejs.captions-subtitles': 'Opisi/Prijevodi',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Poglavlja',
"mejs.none": "Ništa", 'mejs.none': 'Ništa',
"mejs.afrikaans": "Afrički", 'mejs.afrikaans': 'Afrički',
"mejs.albanian": "Albanski", 'mejs.albanian': 'Albanski',
"mejs.arabic": "Arapski", 'mejs.arabic': 'Arapski',
"mejs.belarusian": "Bjeloruski", 'mejs.belarusian': 'Bjeloruski',
"mejs.bulgarian": "Bugarski", 'mejs.bulgarian': 'Bugarski',
"mejs.catalan": "Katalonski", 'mejs.catalan': 'Katalonski',
"mejs.chinese": "Kineski", 'mejs.chinese': 'Kineski',
"mejs.chinese-simplified": "Kineski (jednostavni)", 'mejs.chinese-simplified': 'Kineski (jednostavni)',
"mejs.chinese-traditional": "Kineski (tradicionalni)", 'mejs.chinese-traditional': 'Kineski (tradicionalni)',
"mejs.croatian": "Hrvatski", 'mejs.croatian': 'Hrvatski',
"mejs.czech": "Češki", 'mejs.czech': 'Češki',
"mejs.danish": "Danski", 'mejs.danish': 'Danski',
"mejs.dutch": "Nizozemski", 'mejs.dutch': 'Nizozemski',
"mejs.english": "Engleski", 'mejs.english': 'Engleski',
"mejs.estonian": "Estonski", 'mejs.estonian': 'Estonski',
"mejs.filipino": "Filipinski", 'mejs.filipino': 'Filipinski',
"mejs.finnish": "Finski", 'mejs.finnish': 'Finski',
"mejs.french": "Francuski", 'mejs.french': 'Francuski',
"mejs.galician": "Galicijski", 'mejs.galician': 'Galicijski',
"mejs.german": "Njemački", 'mejs.german': 'Njemački',
"mejs.greek": "Grčki", 'mejs.greek': 'Grčki',
"mejs.haitian-creole": "Haićanski kreolski", 'mejs.haitian-creole': 'Haićanski kreolski',
"mejs.hebrew": "Hebrejski", 'mejs.hebrew': 'Hebrejski',
"mejs.hindi": "Hindski", 'mejs.hindi': 'Hindski',
"mejs.hungarian": "Mađarski", 'mejs.hungarian': 'Mađarski',
"mejs.icelandic": "Islandski", 'mejs.icelandic': 'Islandski',
"mejs.indonesian": "Indonezijski", 'mejs.indonesian': 'Indonezijski',
"mejs.irish": "Irski", 'mejs.irish': 'Irski',
"mejs.italian": "Talijanski", 'mejs.italian': 'Talijanski',
"mejs.japanese": "Japanski", 'mejs.japanese': 'Japanski',
"mejs.korean": "Korejski", 'mejs.korean': 'Korejski',
"mejs.latvian": "Latvijski", 'mejs.latvian': 'Latvijski',
"mejs.lithuanian": "Litvanski", 'mejs.lithuanian': 'Litvanski',
"mejs.macedonian": "Makedonski", 'mejs.macedonian': 'Makedonski',
"mejs.malay": "Malajski", 'mejs.malay': 'Malajski',
"mejs.maltese": "Malteški", 'mejs.maltese': 'Malteški',
"mejs.norwegian": "Norveški", 'mejs.norwegian': 'Norveški',
"mejs.persian": "Perzijski", 'mejs.persian': 'Perzijski',
"mejs.polish": "Poljski", 'mejs.polish': 'Poljski',
"mejs.portuguese": "Portugalski", 'mejs.portuguese': 'Portugalski',
"mejs.romanian": "Rumunjski", 'mejs.romanian': 'Rumunjski',
"mejs.russian": "Ruski", 'mejs.russian': 'Ruski',
"mejs.serbian": "Srpski", 'mejs.serbian': 'Srpski',
"mejs.slovak": "Slovački", 'mejs.slovak': 'Slovački',
"mejs.slovenian": "Slovenski", 'mejs.slovenian': 'Slovenski',
"mejs.spanish": "Španjolski", 'mejs.spanish': 'Španjolski',
"mejs.swahili": "Svahili", 'mejs.swahili': 'Svahili',
"mejs.swedish": "Švedski", 'mejs.swedish': 'Švedski',
"mejs.tagalog": "Tagaloški", 'mejs.tagalog': 'Tagaloški',
"mejs.thai": "Tajski", 'mejs.thai': 'Tajski',
"mejs.turkish": "Turski", 'mejs.turkish': 'Turski',
"mejs.ukrainian": "Ukrajinski", 'mejs.ukrainian': 'Ukrajinski',
"mejs.vietnamese": "Vijetnamski", 'mejs.vietnamese': 'Vijetnamski',
"mejs.welsh": "Velški", 'mejs.welsh': 'Velški',
"mejs.yiddish": "Jidiški" 'mejs.yiddish': 'Jidiški'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.hu === undefined) { if (exports.hu === undefined) {
exports.hu = { exports.hu = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Fájl letöltése", '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.install-flash': 'Olyan böngészőt használ, amelyhez nincs engedélyezve vagy telepítve a Flash player. Kérjük, kapcsolja be a Flash-lejátszó bővítményét, vagy töltse le a legfrissebb verziót a https://get.adobe.com/flashplayer/ címen',
"mejs.fullscreen": "Teljes képernyő", 'mejs.fullscreen': 'Teljes képernyő',
"mejs.play": "Lejátszás", 'mejs.play': 'Lejátszás',
"mejs.pause": "Szünet", 'mejs.pause': 'Szünet',
"mejs.time-slider": "Idő csúszka", '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.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.live-broadcast' : 'Élő közvetítés',
"mejs.volume-help-text": "Használja a Fel/Le nyíl gombokat a hangerő növeléséhez vagy csökkentéséhez.", '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.unmute': 'Némítás feloldása',
"mejs.mute": "Némítás", 'mejs.mute': 'Némítás',
"mejs.volume-slider": "Hangerőcsúszka", 'mejs.volume-slider': 'Hangerőcsúszka',
"mejs.video-player": "Videolejátszó", 'mejs.video-player': 'Videolejátszó',
"mejs.audio-player": "Audiolejátszó", 'mejs.audio-player': 'Audiolejátszó',
"mejs.captions-subtitles": "Képaláírás/Feliratok", 'mejs.captions-subtitles': 'Képaláírás/Feliratok',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Fejezetek',
"mejs.none": "Nincs" 'mejs.none': 'Nincs',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albán',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arab',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Belorusz',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bolgár',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Katalán',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Kínai',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Kínai (Egyszerűsített)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Kínai (Hagyományos)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Horvát',
// "mejs.czech": "Czech", 'mejs.czech': 'Cseh',
// "mejs.danish": "Danish", 'mejs.danish': 'Dán',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Holland',
// "mejs.english": "English", 'mejs.english': 'Angol',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Észt',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filippínó',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finn',
// "mejs.french": "French", 'mejs.french': 'Francia',
// "mejs.galician": "Galician", 'mejs.galician': 'Galíciai',
// "mejs.german": "German", 'mejs.german': 'Német',
// "mejs.greek": "Greek", 'mejs.greek': 'Görög',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Haiti Kreol',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Héber',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Magyar',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Izlandi',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonéz',
// "mejs.irish": "Irish", 'mejs.irish': 'Ír',
// "mejs.italian": "Italian", 'mejs.italian': 'Olasz',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japán',
// "mejs.korean": "Korean", 'mejs.korean': 'Koreai',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Lett',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Litván',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedóniai',
// "mejs.malay": "Malay", 'mejs.malay': 'Maláj',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Máltai',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Norvég',
// "mejs.persian": "Persian", 'mejs.persian': 'Perzsa',
// "mejs.polish": "Polish", 'mejs.polish': 'Lengyel',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portugál',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Román',
// "mejs.russian": "Russian", 'mejs.russian': 'Orosz',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Szerb',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Szlovák',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Szlovén',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Spanyol',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Szuahéli',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'Svéd',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Török',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ukrán',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnami',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Walesi',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Jiddis'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -5,86 +5,86 @@
* *
* @author * @author
* Jalios (Twitter: @Jalios) * Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel * Sascha 'SoftCreatR' Greuel
* *
* @see core/i18n.js * @see core/i18n.js
*/ */
(function (exports) { (function (exports) {
if (exports.it === undefined) { if (exports.it === undefined) {
exports.it = { exports.it = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Scaricare il file", '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.install-flash': 'Stai utilizzando un browser che non dispone di Flash Player abilitato o installato. Accenda il tuo plug-in Flash Player o scarica la versione più recente da https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Schermo intero", 'mejs.fullscreen': 'Schermo intero',
"mejs.play": "Eseguire", 'mejs.play': 'Eseguire',
"mejs.pause": "Pausa", 'mejs.pause': 'Pausa',
"mejs.time-slider": "Barra di scorrimento", '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.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.live-broadcast' : 'Trasmissione in diretta',
"mejs.volume-help-text": "Utilizzare i tasti Freccia Su/Giù per aumentare o diminuire il volume.", 'mejs.volume-help-text': 'Utilizzare i tasti Freccia Su/Giù per aumentare o diminuire il volume.',
"mejs.unmute": "Disattivare muto", 'mejs.unmute': 'Disattivare muto',
"mejs.mute": "Muto", 'mejs.mute': 'Muto',
"mejs.volume-slider": "Barra del volume", 'mejs.volume-slider': 'Barra del volume',
"mejs.video-player": "Lettore Video", 'mejs.video-player': 'Lettore Video',
"mejs.audio-player": "Lettore Audio", 'mejs.audio-player': 'Lettore Audio',
"mejs.captions-subtitles": "Acquisizioni/sottotitoli", 'mejs.captions-subtitles': 'Acquisizioni/sottotitoli',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Capitoli',
"mejs.none": "Nessuno" 'mejs.none': 'Nessuno',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albanese',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arabo',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Bielorusso',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bulgaro',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Catalano',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Cinese',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-semplificato': 'Cinese (Semplificato)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Cinese (Tradizionale)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Croato',
// "mejs.czech": "Czech", 'mejs.czech': 'Ceco',
// "mejs.danish": "Danish", 'mejs.danish': 'Danese',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Olandese',
// "mejs.english": "English", 'mejs.english': 'Inglese',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estone',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filippino',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finlandese',
// "mejs.french": "French", 'mejs.french': 'Francese',
// "mejs.galician": "Galician", 'mejs.galician': 'Galiziano',
// "mejs.german": "German", 'mejs.german': 'Tedesco',
// "mejs.greek": "Greek", 'mejs.greek': 'Greco',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Creolo Haitiano',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Ebraico',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Ungherese',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandese',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonesiano',
// "mejs.irish": "Irish", 'mejs.irish': 'Irlandese',
// "mejs.italian": "Italian", 'mejs.italian': 'Italiano',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Giapponese',
// "mejs.korean": "Korean", 'mejs.korean': 'Coreano',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Lettone',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Lituano',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedone',
// "mejs.malay": "Malay", 'mejs.malay': 'Malay',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltese',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Norvegese',
// "mejs.persian": "Persian", 'mejs.persian': 'Persiano',
// "mejs.polish": "Polish", 'mejs.polish': 'Polacco',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portoghese',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Rumeno',
// "mejs.russian": "Russian", 'mejs.russian': 'Russo',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Serbo',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slovacco',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Sloveno',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Spagnolo',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'Svedese',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turco',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ucraino',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamita',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Gallese',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Yiddish'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -5,86 +5,86 @@
* *
* @author * @author
* Jalios (Twitter: @Jalios) * Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel * Sascha 'SoftCreatR' Greuel
* *
* @see core/i18n.js * @see core/i18n.js
*/ */
(function (exports) { (function (exports) {
if (exports.ja === undefined) { if (exports.ja === undefined) {
exports.ja = { exports.ja = {
"mejs.plural-form": 0, 'mejs.plural-form': 0,
"mejs.download-file": "ファイルをダウンロードする", '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.install-flash': 'Flash Playerが有効またはインストールされていないブラウザを使用しています。Flash Playerプラグインをオンにするか,https://get.adobe.com/flashplayer/から最新バージョンをダウンロードしてください。',
"mejs.fullscreen": "全画面", 'mejs.fullscreen': '全画面',
"mejs.play": "再生", 'mejs.play': '再生',
"mejs.pause": "一時停止", 'mejs.pause': '一時停止',
"mejs.time-slider": "タイムスライダー", 'mejs.time-slider': 'タイムスライダー',
"mejs.time-help-text": "1秒進めるには左/右矢印をキーを、10秒進めるには上/下矢印を使います。", 'mejs.time-help-text': '1秒進めるには左/右矢印をキーを,10秒進めるには上/下矢印を使います。',
//"mejs.live-broadcast" : "Live Broadcast", 'mejs.live-broadcast': 'ライブブロードキャスト',
"mejs.volume-help-text": "音量を上げたり下げたりするには、上/下矢印を使います。", 'mejs.volume-help-text': '音量を上げたり下げたりするには,上/下矢印を使います。',
"mejs.unmute": "ミュートを解除", 'mejs.unmute': 'ミュートを解除',
"mejs.mute": "ミュート", 'mejs.mute': 'ミュート',
"mejs.volume-slider": "音量スライダー", 'mejs.volume-slider': '音量スライダー',
"mejs.video-player": "ビデオプレーヤー", 'mejs.video-player': 'ビデオプレーヤー',
"mejs.audio-player": "オーディオプレーヤー", 'mejs.audio-player': 'オーディオプレーヤー',
"mejs.captions-subtitles": "キャプション/字幕", 'mejs.captions-subtitles': 'キャプション/字幕',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': '章',
"mejs.none": "なし" 'mejs.none': 'なし',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'アフリカーンス語',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'アルバニア語',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'アラビア語',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'ベラルーシ語',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'ブルガリア語',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'カタロニア語',
// "mejs.chinese": "Chinese", 'mejs.chinese': '中国語',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': '中国語(簡体字)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': '中国語(繁体字)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'クロアチア語',
// "mejs.czech": "Czech", 'mejs.czech': 'チェコ語',
// "mejs.danish": "Danish", 'mejs.danish': 'デンマーク語',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'オランダの',
// "mejs.english": "English", 'mejs.english': '英語',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'エストニア語',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'フィリピン人',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'フィンランド語',
// "mejs.french": "French", 'mejs.french': 'フランス語',
// "mejs.galician": "Galician", 'mejs.galician': 'ガリシア人',
// "mejs.german": "German", 'mejs.german': 'ドイツ語',
// "mejs.greek": "Greek", 'mejs.greek': 'ギリシャ語',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'ハイチクレオール',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'ヘブライ語',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'ヒンディー語',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'ハンガリー語',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'アイスランド語',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'インドネシア語',
// "mejs.irish": "Irish", 'mejs.irish': 'アイルランド',
// "mejs.italian": "Italian", 'mejs.italian': 'イタリア語',
// "mejs.japanese": "Japanese", 'mejs.japanese': '日本語',
// "mejs.korean": "Korean", 'mejs.korean': '韓国語',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'ラトビア語',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'リトアニア語',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'マケドニアの',
// "mejs.malay": "Malay", 'mejs.malay': 'マレー語',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'マルタ',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'ノルウェー語',
// "mejs.persian": "Persian", 'mejs.persian': 'ペルシア語',
// "mejs.polish": "Polish", 'mejs.polish': 'ポーランド語',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'ポルトガル語',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'ルーマニア語',
// "mejs.russian": "Russian", 'mejs.russian': 'ロシア語',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'セルビア語',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'スロバキア語',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'スロベニア語',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'スペイン語',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'スワヒリ語',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'スウェーデン語',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'タガログ',
// "mejs.thai": "Thai", 'mejs.thai': 'タイ',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'トルコ語',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'ウクライナ語',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'ベトナム語',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'ウェールズ',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'イディッシュ'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -5,86 +5,86 @@
* *
* @author * @author
* Jalios (Twitter: @Jalios) * Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel * Sascha 'SoftCreatR' Greuel
* *
* @see core/i18n.js * @see core/i18n.js
*/ */
(function (exports) { (function (exports) {
if (exports.ko === undefined) { if (exports.ko === undefined) {
exports.ko = { exports.ko = {
"mejs.plural-form": 0, 'mejs.plural-form': 0,
"mejs.download-file": "파일 다운로드", '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.install-flash': 'Flash Player가 활성화되거나 설치되지 않은 브라우저를 사용 중입니다. 플래시 플레이어 플러그인을 켜거나 https://get.adobe.com/flashplayer/에서 최신 버전을 다운로드하십시오.',
"mejs.fullscreen": "전체화면", 'mejs.fullscreen': '전체화면',
"mejs.play": "작동", 'mejs.play': '작동',
"mejs.pause": "정지", 'mejs.pause': '정지',
"mejs.time-slider": "시간 슬라이더", 'mejs.time-slider': '시간 슬라이더',
"mejs.time-help-text": "1초 전진하려면 좌/우측 화살표를 사용하시고 10초 전진하려면 위/아래 화살표를 사용하세요.", 'mejs.time-help-text': '1초 전진하려면 좌/우측 화살표를 사용하시고 10초 전진하려면 위/아래 화살표를 사용하세요.',
//"mejs.live-broadcast" : "Live Broadcast", 'mejs.live-broadcast' : '생방송',
"mejs.volume-help-text": "볼륨을 높이거나 낮추려면 위/아래 화살표를 이용하세요.", 'mejs.volume-help-text': '볼륨을 높이거나 낮추려면 위/아래 화살표를 이용하세요.',
"mejs.unmute": "음소거 해제", 'mejs.unmute': '음소거 해제',
"mejs.mute": "말 없는", 'mejs.mute': '말 없는',
"mejs.volume-slider": "볼륨 슬라이더", 'mejs.volume-slider': '볼륨 슬라이더',
"mejs.video-player": "비디오 플레이어", 'mejs.video-player': '비디오 플레이어',
"mejs.audio-player": "오디오 플레이어", 'mejs.audio-player': '오디오 플레이어',
"mejs.captions-subtitles": "캡션/자막", 'mejs.captions-subtitles': '캡션/자막',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': '챕터',
"mejs.none": "없음" 'mejs.none': '없음',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': '아프리칸스어',
// "mejs.albanian": "Albanian", 'mejs.albanian': '알바니아',
// "mejs.arabic": "Arabic", 'mejs.arabic': '아랍어',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': '벨로루시 어',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': '불가리아',
// "mejs.catalan": "Catalan", 'mejs.catalan': '카탈로니아 어',
// "mejs.chinese": "Chinese", 'mejs.chinese': '중국어',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': '중국어 (간체)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': '중국어 (번체)',
// "mejs.croatian": "Croatian", 'mejs.croatian': '크로아티아어',
// "mejs.czech": "Czech", 'mejs.czech': '체코 어',
// "mejs.danish": "Danish", 'mejs.danish': '덴마크어',
// "mejs.dutch": "Dutch", 'mejs.dutch': '네덜란드어',
// "mejs.english": "English", 'mejs.english': '영어',
// "mejs.estonian": "Estonian", 'mejs.estonian': '에스토니아',
// "mejs.filipino": "Filipino", 'mejs.filipino': '필리핀',
// "mejs.finnish": "Finnish", 'mejs.finnish': '핀란드어',
// "mejs.french": "French", 'mejs.french': '프랑스어',
// "mejs.galician": "Galician", 'mejs.galician': '갈리시아인',
// "mejs.german": "German", 'mejs.german': '독일어',
// "mejs.greek": "Greek", 'mejs.greek': '그리스어',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': '아이티 크리올',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': '히브리어',
// "mejs.hindi": "Hindi", 'mejs.hindi': '힌디어',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': '헝가리어',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': '아이슬란드 어',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': '인도네시아어',
// "mejs.irish": "Irish", 'mejs.irish': '아일랜드어',
// "mejs.italian": "Italian", 'mejs.italian': '이탈리아어',
// "mejs.japanese": "Japanese", 'mejs.japanese': '일본어',
// "mejs.korean": "Korean", 'mejs.korean': '한국어',
// "mejs.latvian": "Latvian", 'mejs.latvian': '라트비아어',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': '리투아니아어',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': '마케도니아인',
// "mejs.malay": "Malay", 'mejs.malay': '말레이',
// "mejs.maltese": "Maltese", 'mejs.maltese': '몰타어',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': '노르웨이어',
// "mejs.persian": "Persian", 'mejs.persian': '페르시아어',
// "mejs.polish": "Polish", 'mejs.polish': '폴란드어',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': '포르투갈어',
// "mejs.romanian": "Romanian", 'mejs.romanian': '루마니아어',
// "mejs.russian": "Russian", 'mejs.russian': '러시아어',
// "mejs.serbian": "Serbian", 'mejs.serbian': '세르비아어',
// "mejs.slovak": "Slovak", 'mejs.slovak': '슬로바키아어',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': '슬로베니아어',
// "mejs.spanish": "Spanish", 'mejs.spanish': '스페인어',
// "mejs.swahili": "Swahili", 'mejs.swahili': '스와힐리어',
// "mejs.swedish": "Swedish", 'mejs.swedish': '스웨덴어',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': '타갈로그어',
// "mejs.thai": "Thai", 'mejs.thai': '태국어',
// "mejs.turkish": "Turkish", 'mejs.turkish': '터키어',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': '우크라이나어',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': '베트남인',
// "mejs.welsh": "Welsh", 'mejs.welsh': '웨일스 어',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': '이디시어'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Malay (for inter-country use - see the countries mentioned in infobox`s `native to` at https://en.wikipedia.org/wiki/Malay_language)
*
* @author
* muhdnurhidayat (Twitter: @mnh48com)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ms === undefined) {
exports.ms = {
'mejs.plural-form': 0,
'mejs.download-file': 'Muat Turun Fail',
'mejs.install-flash': 'Anda sedang menggunakan pelayar internet yang tidak mempunyai pemain Flash. Sila aktifkan pemalam pemain Flash anda atau muat turun versi terbaru dari https://get.adobe.com/flashplayer/',
'mejs.fullscreen': 'Skrin penuh',
'mejs.play': 'Main',
'mejs.pause': 'Jeda',
'mejs.time-slider': 'Lungsur Masa',
'mejs.time-help-text': 'Gunakan kekunci Anak Panah Kiri/Kanan untuk bergerak satu saat, Anak Panah Atas/Bawah untuk bergerak sepuluh saat.',
'mejs.live-broadcast' : 'Siaran Langsung',
'mejs.volume-help-text': 'Gunakan kekunci Anak Panah Atas/Bawah untuk menguatkan atau memperlahankan bunyi.',
'mejs.unmute': 'Nyahsenyap',
'mejs.mute': 'Senyap',
'mejs.volume-slider': 'Lungsur Bunyi',
'mejs.video-player': 'Pemain Video',
'mejs.audio-player': 'Pemain Audio',
'mejs.captions-subtitles': 'Sarikata',
'mejs.captions-chapters': 'Bab',
'mejs.none': 'Tiada',
'mejs.afrikaans': 'Bahasa Afrikaans',
'mejs.albanian': 'Bahasa Albania',
'mejs.arabic': 'Bahasa Arab',
'mejs.belarusian': 'Bahasa Belarus',
'mejs.bulgarian': 'Bahasa Bulgaria',
'mejs.catalan': 'Bahasa Catalonia',
'mejs.chinese': 'Bahasa Cina',
'mejs.chinese-simplified': 'Bahasa Cina (Ringkas)',
'mejs.chinese-traditional': 'Bahasa Cina (Tradisional)',
'mejs.croatian': 'Bahasa Croatia',
'mejs.czech': 'Bahasa Czech',
'mejs.danish': 'Bahasa Denmark',
'mejs.dutch': 'Bahasa Belanda',
'mejs.english': 'Bahasa Inggeris',
'mejs.estonian': 'Bahasa Estonia',
'mejs.filipino': 'Bahasa Filipino',
'mejs.finnish': 'Bahasa Finland',
'mejs.french': 'Bahasa Perancis',
'mejs.galician': 'Bahasa Galicia',
'mejs.german': 'Bahasa Jerman',
'mejs.greek': 'Bahasa Greek',
'mejs.haitian-creole': 'Bahasa Kreol Haiti',
'mejs.hebrew': 'Bahasa Ibrani',
'mejs.hindi': 'Bahasa Hindi',
'mejs.hungarian': 'Bahasa Hungary',
'mejs.icelandic': 'Bahasa Iceland',
'mejs.indonesian': 'Bahasa Indonesia',
'mejs.irish': 'Bahasa Ireland',
'mejs.italian': 'Bahasa Itali',
'mejs.japanese': 'Bahasa Jepun',
'mejs.korean': 'Bahasa Korea',
'mejs.latvian': 'Bahasa Latvia',
'mejs.lithuanian': 'Bahasa Lithuania',
'mejs.macedonian': 'Bahasa Macedonia',
'mejs.malay': 'Bahasa Melayu',
'mejs.maltese': 'Bahasa Malta',
'mejs.norwegian': 'Bahasa Norway',
'mejs.persian': 'Bahasa Parsi',
'mejs.polish': 'Bahasa Poland',
'mejs.portuguese': 'Bahasa Portugis',
'mejs.romanian': 'Bahasa Romania',
'mejs.russian': 'Bahasa Rusia',
'mejs.serbian': 'Bahasa Serbia',
'mejs.slovak': 'Bahasa Slovak',
'mejs.slovenian': 'Bahasa Slovene',
'mejs.spanish': 'Bahasa Sepanyol',
'mejs.swahili': 'Bahasa Swahili',
'mejs.swedish': 'Bahasa Sweden',
'mejs.tagalog': 'Bahasa Tagalog',
'mejs.thai': 'Bahasa Thai',
'mejs.turkish': 'Bahasa Turki',
'mejs.ukrainian': 'Bahasa Ukraine',
'mejs.vietnamese': 'Bahasa Vietnam',
'mejs.welsh': 'Bahasa Wales',
'mejs.yiddish': 'Bahasa Yiddish'
};
}
})(mejs.i18n);

@ -6,86 +6,86 @@
* @author * @author
* Leonard de Ruijter, Twitter: @LeonarddR * Leonard de Ruijter, Twitter: @LeonarddR
* Jalios (Twitter: @Jalios) * Jalios (Twitter: @Jalios)
* Sascha "SoftCreatR" Greuel * Sascha 'SoftCreatR' Greuel
* *
* @see core/i18n.js * @see core/i18n.js
*/ */
(function (exports) { (function (exports) {
if (exports.nl === undefined) { if (exports.nl === undefined) {
exports.nl = { exports.nl = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Bestand downloaden", '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.install-flash': 'U gebruikt een browser die geen Flash Player heeft ingeschakeld of geïnstalleerd. Zet de Flash Player plug-in of download de nieuwste versie van https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Volledig scherm", 'mejs.fullscreen': 'Volledig scherm',
"mejs.play": "Afspelen", 'mejs.play': 'Afspelen',
"mejs.pause": "Pauzeren", 'mejs.pause': 'Pauzeren',
"mejs.time-slider": "Tijd schuifbalk", '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.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.live-broadcast' : 'Live uitzending',
"mejs.volume-help-text": "Gebruik pijl omhoog/omlaag om het volume te verhogen/verlagen.", 'mejs.volume-help-text': 'Gebruik pijl omhoog/omlaag om het volume te verhogen/verlagen.',
"mejs.unmute": "Dempen opheffen", 'mejs.unmute': 'Dempen opheffen',
"mejs.mute": "Dempen", 'mejs.mute': 'Dempen',
"mejs.volume-slider": "Volume schuifbalk", 'mejs.volume-slider': 'Volume schuifbalk',
"mejs.video-player": "Videospeler", 'mejs.video-player': 'Videospeler',
"mejs.audio-player": "Audiospeler", 'mejs.audio-player': 'Audiospeler',
"mejs.captions-subtitles": "Bijschriften/ondertiteling", 'mejs.captions-subtitles': 'Bijschriften/ondertiteling',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Hoofdstukken',
"mejs.none": "Geen" 'mejs.none': 'Geen',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albanees',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arabisch',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Wit-Russisch',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bulgaars',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Catalaans',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Chinees',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Chinees (Vereenvoudigd)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Chinees (Traditioneel)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Kroatisch',
// "mejs.czech": "Czech", 'mejs.czech': 'Tsjechisch',
// "mejs.danish": "Danish", 'mejs.danish': 'Deens',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Nederlands',
// "mejs.english": "English", 'mejs.english': 'Engels',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estlands',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipijns',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finse',
// "mejs.french": "French", 'mejs.french': 'Frans',
// "mejs.galician": "Galician", 'mejs.galician': 'Galicisch',
// "mejs.german": "German", 'mejs.german': 'Duits',
// "mejs.greek": "Greek", 'mejs.greek': 'Grieks',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Haïtiaanse Creoolse',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Hebreeuws',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Hongaars',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Icelandic',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonesisch',
// "mejs.irish": "Irish", 'mejs.irish': 'Iers',
// "mejs.italian": "Italian", 'mejs.italian': 'Italiaans',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japans',
// "mejs.korean": "Korean", 'mejs.korean': 'Koreaans',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Letlands',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Litouws',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedonisch',
// "mejs.malay": "Malay", 'mejs.malay': 'Maleis',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltese',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Noors',
// "mejs.persian": "Persian", 'mejs.persian': 'Perzisch',
// "mejs.polish": "Polish", 'mejs.polish': 'Pools',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portugees',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Roemeens',
// "mejs.russian": "Russian", 'mejs.russian': 'Russisch',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Servisch',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slowaaks',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Sloveens',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Spaans',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'Zweeds',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turks',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Oekraïens',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamese',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Welsh',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Jiddisch'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.pl === undefined) { if (exports.pl === undefined) {
exports.pl = { exports.pl = {
"mejs.plural-form": 9, 'mejs.plural-form': 9,
"mejs.download-file": "Pobierz plik", '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.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.fullscreen': 'Pełny ekran',
"mejs.play": "Odtwarzaj", 'mejs.play': 'Odtwarzaj',
"mejs.pause": "Wstrzymaj", 'mejs.pause': 'Wstrzymaj',
"mejs.time-slider": "Suwak czasu", '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.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.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.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.unmute': 'Wyłącz wyciszenie',
"mejs.mute": "Wycisz", 'mejs.mute': 'Wycisz',
"mejs.volume-slider": "Suwak głośności", 'mejs.volume-slider': 'Suwak głośności',
"mejs.video-player": "Odtwarzacz wideo", 'mejs.video-player': 'Odtwarzacz wideo',
"mejs.audio-player": "Odtwarzacz audio", 'mejs.audio-player': 'Odtwarzacz audio',
"mejs.captions-subtitles": "Podpisy/napisy", 'mejs.captions-subtitles': 'Podpisy/napisy',
"mejs.captions-chapters": "Rozdziały", 'mejs.captions-chapters': 'Rozdziały',
"mejs.none": "Brak", 'mejs.none': 'Brak',
"mejs.afrikaans": "Afrykański", 'mejs.afrikaans': 'Afrykański',
"mejs.albanian": "Albański", 'mejs.albanian': 'Albański',
"mejs.arabic": "Arabski", 'mejs.arabic': 'Arabski',
"mejs.belarusian": "Białoruski", 'mejs.belarusian': 'Białoruski',
"mejs.bulgarian": "Bułgarski", 'mejs.bulgarian': 'Bułgarski',
"mejs.catalan": "Kataloński", 'mejs.catalan': 'Kataloński',
"mejs.chinese": "Chiński", 'mejs.chinese': 'Chiński',
"mejs.chinese-simplified": "Chiński (uproszczony)", 'mejs.chinese-simplified': 'Chiński (uproszczony)',
"mejs.chinese-traditional": "Chiński (tradycyjny)", 'mejs.chinese-traditional': 'Chiński (tradycyjny)',
"mejs.croatian": "Chorwacki", 'mejs.croatian': 'Chorwacki',
"mejs.czech": "Czeski", 'mejs.czech': 'Czeski',
"mejs.danish": "Duński", 'mejs.danish': 'Duński',
"mejs.dutch": "Holenderski", 'mejs.dutch': 'Holenderski',
"mejs.english": "Angielski", 'mejs.english': 'Angielski',
"mejs.estonian": "Estoński", 'mejs.estonian': 'Estoński',
"mejs.filipino": "Filipiński", 'mejs.filipino': 'Filipiński',
"mejs.finnish": "Fiński", 'mejs.finnish': 'Fiński',
"mejs.french": "Francuski", 'mejs.french': 'Francuski',
"mejs.galician": "Galicyjski", 'mejs.galician': 'Galicyjski',
"mejs.german": "Niemiecki", 'mejs.german': 'Niemiecki',
"mejs.greek": "Grecki", 'mejs.greek': 'Grecki',
"mejs.haitian-creole": "Haitański", 'mejs.haitian-creole': 'Haitański',
"mejs.hebrew": "Hebrajski", 'mejs.hebrew': 'Hebrajski',
"mejs.hindi": "Hinduski", 'mejs.hindi': 'Hinduski',
"mejs.hungarian": "Węgierski", 'mejs.hungarian': 'Węgierski',
"mejs.icelandic": "Islandzki", 'mejs.icelandic': 'Islandzki',
"mejs.indonesian": "Indonezyjski", 'mejs.indonesian': 'Indonezyjski',
"mejs.irish": "Irlandzki", 'mejs.irish': 'Irlandzki',
"mejs.italian": "Włoski", 'mejs.italian': 'Włoski',
"mejs.japanese": "Japoński", 'mejs.japanese': 'Japoński',
"mejs.korean": "Koreański", 'mejs.korean': 'Koreański',
"mejs.latvian": "Łotewski", 'mejs.latvian': 'Łotewski',
"mejs.lithuanian": "Litewski", 'mejs.lithuanian': 'Litewski',
"mejs.macedonian": "Macedoński", 'mejs.macedonian': 'Macedoński',
"mejs.malay": "Malajski", 'mejs.malay': 'Malajski',
"mejs.maltese": "Maltański", 'mejs.maltese': 'Maltański',
"mejs.norwegian": "Norweski", 'mejs.norwegian': 'Norweski',
"mejs.persian": "Perski", 'mejs.persian': 'Perski',
"mejs.polish": "Polski", 'mejs.polish': 'Polski',
"mejs.portuguese": "Portugalski", 'mejs.portuguese': 'Portugalski',
"mejs.romanian": "Rumuński", 'mejs.romanian': 'Rumuński',
"mejs.russian": "Rosyjski", 'mejs.russian': 'Rosyjski',
"mejs.serbian": "Serbski", 'mejs.serbian': 'Serbski',
"mejs.slovak": "Słowacki", 'mejs.slovak': 'Słowacki',
"mejs.slovenian": "Słoweński", 'mejs.slovenian': 'Słoweński',
"mejs.spanish": "Hiszpański", 'mejs.spanish': 'Hiszpański',
"mejs.swahili": "Suahili", 'mejs.swahili': 'Suahili',
"mejs.swedish": "Szwedzki", 'mejs.swedish': 'Szwedzki',
"mejs.tagalog": "Tagalski", 'mejs.tagalog': 'Tagalski',
"mejs.thai": "Tajski", 'mejs.thai': 'Tajski',
"mejs.turkish": "Turecki", 'mejs.turkish': 'Turecki',
"mejs.ukrainian": "Ukraiński", 'mejs.ukrainian': 'Ukraiński',
"mejs.vietnamese": "Wietnamski", 'mejs.vietnamese': 'Wietnamski',
"mejs.welsh": "Walijski", 'mejs.welsh': 'Walijski',
"mejs.yiddish": "Jidysz" 'mejs.yiddish': 'Jidysz'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -1,91 +0,0 @@
'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);

@ -12,81 +12,81 @@
(function (exports) { (function (exports) {
if (exports.pt === undefined) { if (exports.pt === undefined) {
exports.pt = { exports.pt = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Descarregar o ficheiro", '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.install-flash': 'Você está usando um navegador que não possui o player Flash ativado ou instalado. Por favor, ligue o plugin do Flash Player ou baixe a versão mais recente de https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Ecrã completo", 'mejs.fullscreen': 'Ecrã completo',
"mejs.play": "Reprodução", 'mejs.play': 'Reprodução',
"mejs.pause": "Pausa", 'mejs.pause': 'Pausa',
"mejs.time-slider": "Deslizador do tempo", '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.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.live-broadcast' : 'Transmissão ao vivo',
"mejs.volume-help-text": "Use as teclas das setas para cima/baixo para aumentar ou diminuir o volume.", 'mejs.volume-help-text': 'Use as teclas das setas para cima/baixo para aumentar ou diminuir o volume.',
"mejs.unmute": "Voltar ao som", 'mejs.unmute': 'Voltar ao som',
"mejs.mute": "Silêncio", 'mejs.mute': 'Silêncio',
"mejs.volume-slider": "Deslizador do volume", 'mejs.volume-slider': 'Deslizador do volume',
"mejs.video-player": "Leitor de vídeo", 'mejs.video-player': 'Leitor de vídeo',
"mejs.audio-player": "Leitor de áudio", 'mejs.audio-player': 'Leitor de áudio',
"mejs.captions-subtitles": "Legendas", 'mejs.captions-subtitles': 'Legendas',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Capítulos',
"mejs.none": "Nenhum" 'mejs.none': 'Nenhum',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albanês',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Árabe',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Bielorrusso',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Búlgaro',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Catalão',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Chinês',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Chinese (Simplified)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Chinese (Traditional)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Croata',
// "mejs.czech": "Czech", 'mejs.czech': 'Checo',
// "mejs.danish": "Danish", 'mejs.danish': 'Danish',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Dutch',
// "mejs.english": "English", 'mejs.english': 'Inglês',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estoniano',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipino',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finlandês',
// "mejs.french": "French", 'mejs.french': 'French',
// "mejs.galician": "Galician", 'mejs.galician': 'Galego',
// "mejs.german": "German", 'mejs.german': 'Alemão',
// "mejs.greek": "Greek", 'mejs.greek': 'Grego',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Crioulo Haitiano',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Hebraico',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Húngaro',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandês',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonésio',
// "mejs.irish": "Irish", 'mejs.irish': 'Irish',
// "mejs.italian": "Italian", 'mejs.italian': 'Italiano',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japonês',
// "mejs.korean": "Korean", 'mejs.korean': 'Coreano',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Letão',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Lithuanian',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedônio',
// "mejs.malay": "Malay", 'mejs.malay': 'Malaio',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltês',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Norwegian',
// "mejs.persian": "Persian", 'mejs.persian': 'Persa',
// "mejs.polish": "Polish", 'mejs.polish': 'Polish',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Português',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Romanian',
// "mejs.russian": "Russian", 'mejs.russian': 'Russian',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Sérvio',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slovak',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Slovenian',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Espanhol',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'sueco',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turco',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ucraniano',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamita',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Welsh',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Iídiche'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.ro === undefined) { if (exports.ro === undefined) {
exports.ro = { exports.ro = {
"mejs.plural-form": 5, 'mejs.plural-form': 5,
"mejs.download-file": "Descarcă fişierul", '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.install-flash': 'Utilizați un browser care nu are activat sau instalat playerul Flash. Porniți pluginul Flash player sau descărcați cea mai recentă versiune de la https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Ecran complet", 'mejs.fullscreen': 'Ecran complet',
"mejs.play": "Redare", 'mejs.play': 'Redare',
"mejs.pause": "Pauză", 'mejs.pause': 'Pauză',
"mejs.time-slider": "Cursor timp", '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.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.live-broadcast' : 'Difuzare în direct',
"mejs.volume-help-text": "Utilizează tastele de săgeată Sus/Jos pentru a creşte/micşora volumul", 'mejs.volume-help-text': 'Utilizează tastele de săgeată Sus/Jos pentru a creşte/micşora volumul',
"mejs.unmute": "Cu sunet", 'mejs.unmute': 'Cu sunet',
"mejs.mute": "Fără sunet", 'mejs.mute': 'Fără sunet',
"mejs.volume-slider": "Cursor volum", 'mejs.volume-slider': 'Cursor volum',
"mejs.video-player": "Player video", 'mejs.video-player': 'Player video',
"mejs.audio-player": "Player audio", 'mejs.audio-player': 'Player audio',
"mejs.captions-subtitles": "Legende/Subtitrări", 'mejs.captions-subtitles': 'Legende/Subtitrări',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Capitolele',
"mejs.none": "Niciunul" 'mejs.none': 'Niciunul',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albanez',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arabă',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Belarusian',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bulgară',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Catalană',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'Chinezesc',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Chineză (Simplificată)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'Chineză (Tradițională)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Croată',
// "mejs.czech": "Czech", 'mejs.czech': 'Cehă',
// "mejs.danish": "Danish", 'mejs.danish': 'Daneză',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Olandeză',
// "mejs.english": "English", 'mejs.english': 'Engleză',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estonă',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipinez',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Finlandeză',
// "mejs.french": "French", 'mejs.french': 'Franceză',
// "mejs.galician": "Galician", 'mejs.galician': 'Galiciană',
// "mejs.german": "German", 'mejs.german': 'Germană',
// "mejs.greek": "Greek", 'mejs.greek': 'Greacă',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Creolele Haitiene',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Ebraică',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Maghiar',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandeză',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonezian',
// "mejs.irish": "Irish", 'mejs.irish': 'Irlandeză',
// "mejs.italian": "Italian", 'mejs.italian': 'Italiană',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japoneză',
// "mejs.korean": "Korean", 'mejs.korean': 'Coreeană',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Letonă',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Lituanian',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedonean',
// "mejs.malay": "Malay", 'mejs.malay': 'Malay',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Malteză',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Norvegiană',
// "mejs.persian": "Persian", 'mejs.persian': 'Persană',
// "mejs.polish": "Polish", 'mejs.polish': 'Polonez',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portugheză',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Română',
// "mejs.russian": "Russian", 'mejs.russian': 'Rusă',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Sârbă',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slovacă',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Slovenă',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'Spaniolă',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'Suedeză',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turcă',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ucrainean',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamez',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Welsh',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Idiș'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

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

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports.sk === undefined) { if (exports.sk === undefined) {
exports.sk = { exports.sk = {
"mejs.plural-form": 8, 'mejs.plural-form': 8,
"mejs.download-file": "Prevziať súbor", '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.install-flash': 'Používate prehliadač, ktorý nemá povolený alebo nainštalovaný prehrávač Flash. Zapnite doplnok prehrávača Flash alebo si prevezmite najnovšiu verziu zo stránky https://get.adobe.com/flashplayer/',
"mejs.fullscreen": "Celá obrazovka", 'mejs.fullscreen': 'Celá obrazovka',
"mejs.play": "Prehrať", 'mejs.play': 'Prehrať',
"mejs.pause": "Pozastaviť", 'mejs.pause': 'Pozastaviť',
"mejs.time-slider": "Posúvač času", '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.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.live-broadcast' : 'Živé vysielanie',
"mejs.volume-help-text": "Klávesmi so šípkou nahor/nadol zvýšite alebo znížite hlasitosť.", 'mejs.volume-help-text': 'Klávesmi so šípkou nahor/nadol zvýšite alebo znížite hlasitosť.',
"mejs.unmute": "Zrušiť stlmenie", 'mejs.unmute': 'Zrušiť stlmenie',
"mejs.mute": "Stlmiť", 'mejs.mute': 'Stlmiť',
"mejs.volume-slider": "Posúvač hlasitosti", 'mejs.volume-slider': 'Posúvač hlasitosti',
"mejs.video-player": "Prehrávač videa", 'mejs.video-player': 'Prehrávač videa',
"mejs.audio-player": "Prehrávač zvuku", 'mejs.audio-player': 'Prehrávač zvuku',
"mejs.captions-subtitles": "Skryté titulky/Titulky", 'mejs.captions-subtitles': 'Skryté titulky/Titulky',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': 'Kapitoly',
"mejs.none": "Žiadne" 'mejs.none': 'Žiadne',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
// "mejs.albanian": "Albanian", 'mejs.albanian': 'Albánsky',
// "mejs.arabic": "Arabic", 'mejs.arabic': 'Arabčina',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': 'Bieloruský',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': 'Bulharčina',
// "mejs.catalan": "Catalan", 'mejs.catalan': 'Katalánsky',
// "mejs.chinese": "Chinese", 'mejs.chinese': 'čínština',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': 'Čínsky (Zjednodušený)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': 'čínsky (Tradičný)',
// "mejs.croatian": "Croatian", 'mejs.croatian': 'Chorvátčina',
// "mejs.czech": "Czech", 'mejs.czech': 'čeština',
// "mejs.danish": "Danish", 'mejs.danish': 'Dánsky',
// "mejs.dutch": "Dutch", 'mejs.dutch': 'Holandský',
// "mejs.english": "English", 'mejs.english': 'Angličtina',
// "mejs.estonian": "Estonian", 'mejs.estonian': 'Estónčina',
// "mejs.filipino": "Filipino", 'mejs.filipino': 'Filipínsky',
// "mejs.finnish": "Finnish", 'mejs.finnish': 'Fínčina',
// "mejs.french": "French", 'mejs.french': 'Francúzština',
// "mejs.galician": "Galician", 'mejs.galician': 'Galicijčan',
// "mejs.german": "German", 'mejs.german': 'Nemčina',
// "mejs.greek": "Greek", 'mejs.greek': 'Gréčtina',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': 'Haitian Kreolský',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': 'Hebrejčina',
// "mejs.hindi": "Hindi", 'mejs.hindi': 'Hindčina',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': 'Maďarčina',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': 'Islandský',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': 'Indonézsky',
// "mejs.irish": "Irish", 'mejs.irish': 'Írsky',
// "mejs.italian": "Italian", 'mejs.italian': 'Taliančina',
// "mejs.japanese": "Japanese", 'mejs.japanese': 'Japonský',
// "mejs.korean": "Korean", 'mejs.korean': 'Kórejský',
// "mejs.latvian": "Latvian", 'mejs.latvian': 'Lotyština',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': 'Litovský',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': 'Macedónsky',
// "mejs.malay": "Malay", 'mejs.malay': 'Malajský',
// "mejs.maltese": "Maltese", 'mejs.maltese': 'Maltčina',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': 'Nórsky',
// "mejs.persian": "Persian", 'mejs.persian': 'Perzský',
// "mejs.polish": "Polish", 'mejs.polish': 'poľština',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': 'Portugalčina',
// "mejs.romanian": "Romanian", 'mejs.romanian': 'Rumunčina',
// "mejs.russian": "Russian", 'mejs.russian': 'Ruský',
// "mejs.serbian": "Serbian", 'mejs.serbian': 'Srbský',
// "mejs.slovak": "Slovak", 'mejs.slovak': 'Slovenský',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': 'Slovinský',
// "mejs.spanish": "Spanish", 'mejs.spanish': 'španielčina',
// "mejs.swahili": "Swahili", 'mejs.swahili': 'Swahili',
// "mejs.swedish": "Swedish", 'mejs.swedish': 'švédčina',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': 'Tagalog',
// "mejs.thai": "Thai", 'mejs.thai': 'Thai',
// "mejs.turkish": "Turkish", 'mejs.turkish': 'Turecký',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': 'Ukrajinský',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': 'Vietnamčina',
// "mejs.welsh": "Welsh", 'mejs.welsh': 'Welsh',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': 'Jidiš'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -11,79 +11,79 @@
(function (exports) { (function (exports) {
if (exports.sv === undefined) { if (exports.sv === undefined) {
exports.sv = { exports.sv = {
"mejs.plural-form": 1, 'mejs.plural-form': 1,
"mejs.download-file": "Ladda ner fil", '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.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.fullscreen': 'Fullskärm',
"mejs.play": "Spela", 'mejs.play': 'Spela',
"mejs.pause": "Pausa", 'mejs.pause': 'Pausa',
"mejs.time-slider": "Tidslinje", '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.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.live-broadcast': 'Livesändning',
"mejs.volume-help-text": "Använd Upp/Ner piltangent för att öka eller minska volymen.", 'mejs.volume-help-text': 'Använd Upp/Ner piltangent för att öka eller minska volymen.',
"mejs.unmute": "Ljud på", 'mejs.unmute': 'Ljud på',
"mejs.mute": "Ljud av", 'mejs.mute': 'Ljud av',
"mejs.volume-slider": "Volymkontroll", 'mejs.volume-slider': 'Volymkontroll',
"mejs.video-player": "Videospelare", 'mejs.video-player': 'Videospelare',
"mejs.audio-player": "Ljudspelare", 'mejs.audio-player': 'Ljudspelare',
"mejs.captions-subtitles": "Textning/Undertexter", 'mejs.captions-subtitles': 'Textning/Undertexter',
"mejs.captions-chapters": "Kapitel", 'mejs.captions-chapters': 'Kapitel',
"mejs.none": "Ingen", 'mejs.none': 'Ingen',
"mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': 'Afrikaans',
"mejs.albanian": "Albanska", 'mejs.albanian': 'Albanska',
"mejs.arabic": "Arabiska", 'mejs.arabic': 'Arabiska',
"mejs.belarusian": "Nederländska", 'mejs.belarusian': 'Nederländska',
"mejs.bulgarian": "Bulgariska", 'mejs.bulgarian': 'Bulgariska',
"mejs.catalan": "Katalanska", 'mejs.catalan': 'Katalanska',
"mejs.chinese": "Kinesiska", 'mejs.chinese': 'Kinesiska',
"mejs.chinese-simplified": "Kinesiska (Förenklad)", 'mejs.chinese-simplified': 'Kinesiska (Förenklad)',
"mejs.chinese-traditional": "Kinesiska (Traditionell)", 'mejs.chinese-traditional': 'Kinesiska (Traditionell)',
"mejs.croatian": "Kroatiska", 'mejs.croatian': 'Kroatiska',
"mejs.czech": "Tjeckiska", 'mejs.czech': 'Tjeckiska',
"mejs.danish": "Danska", 'mejs.danish': 'Danska',
"mejs.dutch": "Holländska", 'mejs.dutch': 'Holländska',
"mejs.english": "Engelska", 'mejs.english': 'Engelska',
"mejs.estonian": "Estniska", 'mejs.estonian': 'Estniska',
"mejs.filipino": "Filipinska", 'mejs.filipino': 'Filipinska',
"mejs.finnish": "Finska", 'mejs.finnish': 'Finska',
"mejs.french": "Franska", 'mejs.french': 'Franska',
"mejs.galician": "Galiciska", 'mejs.galician': 'Galiciska',
"mejs.german": "Tyska", 'mejs.german': 'Tyska',
"mejs.greek": "Grekiska", 'mejs.greek': 'Grekiska',
"mejs.haitian-creole": "Haitisk kreolsk", 'mejs.haitian-creole': 'Haitisk kreolsk',
"mejs.hebrew": "Hebreiska", 'mejs.hebrew': 'Hebreiska',
"mejs.hindi": "Hindi", 'mejs.hindi': 'Hindi',
"mejs.hungarian": "Ungerska", 'mejs.hungarian': 'Ungerska',
"mejs.icelandic": "Isländska", 'mejs.icelandic': 'Isländska',
"mejs.indonesian": "Indonesiska", 'mejs.indonesian': 'Indonesiska',
"mejs.irish": "Irländska", 'mejs.irish': 'Irländska',
"mejs.italian": "Italienska", 'mejs.italian': 'Italienska',
"mejs.japanese": "Japanska", 'mejs.japanese': 'Japanska',
"mejs.korean": "Koreanska", 'mejs.korean': 'Koreanska',
"mejs.latvian": "Lettiska", 'mejs.latvian': 'Lettiska',
"mejs.lithuanian": "Litauiska", 'mejs.lithuanian': 'Litauiska',
"mejs.macedonian": "Makedonska", 'mejs.macedonian': 'Makedonska',
"mejs.malay": "Malaysiska", 'mejs.malay': 'Malaysiska',
"mejs.maltese": "Maltesiska", 'mejs.maltese': 'Maltesiska',
"mejs.norwegian": "Norska", 'mejs.norwegian': 'Norska',
"mejs.persian": "Persiska", 'mejs.persian': 'Persiska',
"mejs.polish": "Polska", 'mejs.polish': 'Polska',
"mejs.portuguese": "Portugisiska", 'mejs.portuguese': 'Portugisiska',
"mejs.romanian": "Romänska", 'mejs.romanian': 'Romänska',
"mejs.russian": "Ryska", 'mejs.russian': 'Ryska',
"mejs.serbian": "Serbiska", 'mejs.serbian': 'Serbiska',
"mejs.slovak": "Slovakiska", 'mejs.slovak': 'Slovakiska',
"mejs.slovenian": "Slovenska", 'mejs.slovenian': 'Slovenska',
"mejs.spanish": "Spanska", 'mejs.spanish': 'Spanska',
"mejs.swahili": "Swahiliska", 'mejs.swahili': 'Swahiliska',
"mejs.swedish": "Svenska", 'mejs.swedish': 'Svenska',
"mejs.tagalog": "Tagalogiska", 'mejs.tagalog': 'Tagalogiska',
"mejs.thai": "Thailänska", 'mejs.thai': 'Thailänska',
"mejs.turkish": "Turkiska", 'mejs.turkish': 'Turkiska',
"mejs.ukrainian": "Ukrainska", 'mejs.ukrainian': 'Ukrainska',
"mejs.vietnamese": "Vietnamesiska", 'mejs.vietnamese': 'Vietnamesiska',
"mejs.welsh": "Skotska", 'mejs.welsh': 'Skotska',
"mejs.yiddish": "Jiddisch" 'mejs.yiddish': 'Jiddisch'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

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

@ -12,79 +12,79 @@
(function (exports) { (function (exports) {
if (exports['zh-CN'] === undefined) { if (exports['zh-CN'] === undefined) {
exports['zh-CN'] = { exports['zh-CN'] = {
"mejs.plural-form": 0, 'mejs.plural-form': 0,
"mejs.download-file": "下载文件", '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.install-flash': '您正在使用未启用或安装Flash播放器的浏览器。请打开您的Flash Player插件,或从https://get.adobe.com/flashplayer/下载最新版本',
"mejs.fullscreen": "全屏", 'mejs.fullscreen': '全屏',
"mejs.play": "播放", 'mejs.play': '播放',
"mejs.pause": "暂停", 'mejs.pause': '暂停',
"mejs.time-slider": "时间滑动棒", 'mejs.time-slider': '时间滑动棒',
"mejs.time-help-text": "使用作/右箭头快进1秒,使用上/下箭头快进10秒。", 'mejs.time-help-text': '使用作/右箭头快进1秒,使用上/下箭头快进10秒。',
//"mejs.live-broadcast" : "Live Broadcast", 'mejs.live-broadcast' : '现场直播',
"mejs.volume-help-text": "使用上/下箭头提高或降低音量。", 'mejs.volume-help-text': '使用上/下箭头提高或降低音量。',
"mejs.unmute": "取消静音", 'mejs.unmute': '取消静音',
"mejs.mute": "静音", 'mejs.mute': '静音',
"mejs.volume-slider": "音量选择键", 'mejs.volume-slider': '音量选择键',
"mejs.video-player": "视频播放器", 'mejs.video-player': '视频播放器',
"mejs.audio-player": "音频播放器", 'mejs.audio-player': '音频播放器',
"mejs.captions-subtitles": "字幕/标题", 'mejs.captions-subtitles': '字幕/标题',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': '章',
"mejs.none": "无" 'mejs.none': '无',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': '南非荷兰语',
// "mejs.albanian": "Albanian", 'mejs.albanian': '阿尔巴尼亚人',
// "mejs.arabic": "Arabic", 'mejs.arabic': '阿拉伯语',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': '白俄罗斯',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': '保加利亚语',
// "mejs.catalan": "Catalan", 'mejs.catalan': '加泰罗尼亚语',
// "mejs.chinese": "Chinese", 'mejs.chinese': '中国',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': '中文(简体)',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': '中国(传统)',
// "mejs.croatian": "Croatian", 'mejs.croatian': '克罗地亚语',
// "mejs.czech": "Czech", 'mejs.czech': '捷克',
// "mejs.danish": "Danish", 'mejs.danish': '丹麦语',
// "mejs.dutch": "Dutch", 'mejs.dutch': '荷兰人',
// "mejs.english": "English", 'mejs.english': '英语',
// "mejs.estonian": "Estonian", 'mejs.estonian': '爱沙尼亚语',
// "mejs.filipino": "Filipino", 'mejs.filipino': '菲律宾',
// "mejs.finnish": "Finnish", 'mejs.finnish': '芬兰语',
// "mejs.french": "French", 'mejs.french': '法语',
// "mejs.galician": "Galician", 'mejs.galician': '加利西亚',
// "mejs.german": "German", 'mejs.german': '德语',
// "mejs.greek": "Greek", 'mejs.greek': '希腊语',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': '海地克里奥尔人',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': '希伯来语',
// "mejs.hindi": "Hindi", 'mejs.hindi': '印地语',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': '匈牙利',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': '冰岛',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': '印尼语',
// "mejs.irish": "Irish", 'mejs.irish': '爱尔兰',
// "mejs.italian": "Italian", 'mejs.italian': '意大利语',
// "mejs.japanese": "Japanese", 'mejs.japanese': '日本',
// "mejs.korean": "Korean", 'mejs.korean': '韩国人',
// "mejs.latvian": "Latvian", 'mejs.latvian': '拉脱维亚人',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': '立陶宛语',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': '马其顿',
// "mejs.malay": "Malay", 'mejs.malay': '马来语',
// "mejs.maltese": "Maltese", 'mejs.maltese': '马耳他',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': '挪威语',
// "mejs.persian": "Persian", 'mejs.persian': '波斯人',
// "mejs.polish": "Polish", 'mejs.polish': '波兰语',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': '葡萄牙语',
// "mejs.romanian": "Romanian", 'mejs.romanian': '罗马尼亚语',
// "mejs.russian": "Russian", 'mejs.russian': '俄罗斯',
// "mejs.serbian": "Serbian", 'mejs.serbian': '塞尔维亚人',
// "mejs.slovak": "Slovak", 'mejs.slovak': '斯洛伐克语',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': '斯洛文尼亚语',
// "mejs.spanish": "Spanish", 'mejs.spanish': '西班牙语',
// "mejs.swahili": "Swahili", 'mejs.swahili': '斯瓦希里语',
// "mejs.swedish": "Swedish", 'mejs.swedish': '瑞典语',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': '他加禄语',
// "mejs.thai": "Thai", 'mejs.thai': '泰国',
// "mejs.turkish": "Turkish", 'mejs.turkish': '土耳其语',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': '乌克兰',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': '越南人',
// "mejs.welsh": "Welsh", 'mejs.welsh': '威尔士',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': '意第绪语'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

@ -6,85 +6,86 @@
* @author * @author
* Jalios (Twitter: @Jalios) * Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR) * Sascha Greuel (Twitter: @SoftCreatR)
* Peter Dave Hello (Twitter: @PeterDaveHello)
* *
* @see core/i18n.js * @see core/i18n.js
*/ */
(function (exports) { (function (exports) {
if (exports.zh === undefined) { if (exports.zh === undefined) {
exports.zh = { exports.zh = {
"mejs.plural-form": 0, 'mejs.plural-form': 0,
"mejs.download-file": "下載文件", '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.install-flash': '您正在使用未啟用或安裝Flash播放器的瀏覽器。請打開您的Flash Player插件,或從https://get.adobe.com/flashplayer/下載最新版本',
"mejs.fullscreen": "全屏", 'mejs.fullscreen': '全螢幕',
"mejs.play": "播放", 'mejs.play': '播放',
"mejs.pause": "暫停", 'mejs.pause': '暫停',
"mejs.time-slider": "時間滑動棒", 'mejs.time-slider': '時間軸',
"mejs.time-help-text": "使用左/右箭頭快進1秒,上/下箭頭快進10秒。", 'mejs.time-help-text': '使用左/右箭頭快轉1秒,上/下箭頭快轉10秒。',
//"mejs.live-broadcast" : "Live Broadcast", 'mejs.live-broadcast' : '現場直播',
"mejs.volume-help-text": "使用上/下箭頭提高或降低音量。", 'mejs.volume-help-text': '使用上/下箭頭提高或降低音量。',
"mejs.unmute": "取消靜音", 'mejs.unmute': '取消靜音',
"mejs.mute": "靜音", 'mejs.mute': '靜音',
"mejs.volume-slider": "音量控制鍵", 'mejs.volume-slider': '音量控制鍵',
"mejs.video-player": "視頻播放器", 'mejs.video-player': '影片播放器',
"mejs.audio-player": "音頻播放器", 'mejs.audio-player': '音樂播放器',
"mejs.captions-subtitles": "字幕/標題", 'mejs.captions-subtitles': '字幕/標題',
// "mejs.captions-chapters": "Chapters", 'mejs.captions-chapters': '章節',
"mejs.none": "沒有" 'mejs.none': '無',
// "mejs.afrikaans": "Afrikaans", 'mejs.afrikaans': '南非荷蘭語',
// "mejs.albanian": "Albanian", 'mejs.albanian': '阿爾巴尼亞人',
// "mejs.arabic": "Arabic", 'mejs.arabic': '阿拉伯語',
// "mejs.belarusian": "Belarusian", 'mejs.belarusian': '白俄羅斯',
// "mejs.bulgarian": "Bulgarian", 'mejs.bulgarian': '保加利亞語',
// "mejs.catalan": "Catalan", 'mejs.catalan': '加泰羅尼亞語',
// "mejs.chinese": "Chinese", 'mejs.chinese': '中文',
// "mejs.chinese-simplified": "Chinese (Simplified)", 'mejs.chinese-simplified': '简体中文',
// "mejs.chinese-traditional": "Chinese (Traditional)", 'mejs.chinese-traditional': '正體中文',
// "mejs.croatian": "Croatian", 'mejs.croatian': '克羅地亞語',
// "mejs.czech": "Czech", 'mejs.czech': '捷克',
// "mejs.danish": "Danish", 'mejs.danish': '丹麥語',
// "mejs.dutch": "Dutch", 'mejs.dutch': '荷蘭人',
// "mejs.english": "English", 'mejs.english': '英語',
// "mejs.estonian": "Estonian", 'mejs.estonian': '愛沙尼亞語',
// "mejs.filipino": "Filipino", 'mejs.filipino': '菲律賓',
// "mejs.finnish": "Finnish", 'mejs.finnish': '芬蘭語',
// "mejs.french": "French", 'mejs.french': '法語',
// "mejs.galician": "Galician", 'mejs.galician': '加利西亞',
// "mejs.german": "German", 'mejs.german': '德語',
// "mejs.greek": "Greek", 'mejs.greek': '希臘語',
// "mejs.haitian-creole": "Haitian Creole", 'mejs.haitian-creole': '海地克里奧爾人',
// "mejs.hebrew": "Hebrew", 'mejs.hebrew': '希伯來語',
// "mejs.hindi": "Hindi", 'mejs.hindi': '印地語',
// "mejs.hungarian": "Hungarian", 'mejs.hungarian': '匈牙利',
// "mejs.icelandic": "Icelandic", 'mejs.icelandic': '冰島',
// "mejs.indonesian": "Indonesian", 'mejs.indonesian': '印尼語',
// "mejs.irish": "Irish", 'mejs.irish': '愛爾蘭',
// "mejs.italian": "Italian", 'mejs.italian': '意大利語',
// "mejs.japanese": "Japanese", 'mejs.japanese': '日本',
// "mejs.korean": "Korean", 'mejs.korean': '韓國人',
// "mejs.latvian": "Latvian", 'mejs.latvian': '拉脫維亞人',
// "mejs.lithuanian": "Lithuanian", 'mejs.lithuanian': '立陶宛語',
// "mejs.macedonian": "Macedonian", 'mejs.macedonian': '馬其頓',
// "mejs.malay": "Malay", 'mejs.malay': '馬來語',
// "mejs.maltese": "Maltese", 'mejs.maltese': '馬耳他',
// "mejs.norwegian": "Norwegian", 'mejs.norwegian': '挪威語',
// "mejs.persian": "Persian", 'mejs.persian': '波斯人',
// "mejs.polish": "Polish", 'mejs.polish': '波蘭語',
// "mejs.portuguese": "Portuguese", 'mejs.portuguese': '葡萄牙語',
// "mejs.romanian": "Romanian", 'mejs.romanian': '羅馬尼亞語',
// "mejs.russian": "Russian", 'mejs.russian': '俄羅斯',
// "mejs.serbian": "Serbian", 'mejs.serbian': '塞爾維亞人',
// "mejs.slovak": "Slovak", 'mejs.slovak': '斯洛伐克語',
// "mejs.slovenian": "Slovenian", 'mejs.slovenian': '斯洛文尼亞語',
// "mejs.spanish": "Spanish", 'mejs.spanish': '西班牙語',
// "mejs.swahili": "Swahili", 'mejs.swahili': '斯瓦希里語',
// "mejs.swedish": "Swedish", 'mejs.swedish': '瑞典語',
// "mejs.tagalog": "Tagalog", 'mejs.tagalog': '他加祿語',
// "mejs.thai": "Thai", 'mejs.thai': '泰國',
// "mejs.turkish": "Turkish", 'mejs.turkish': '土耳其語',
// "mejs.ukrainian": "Ukrainian", 'mejs.ukrainian': '烏克蘭',
// "mejs.vietnamese": "Vietnamese", 'mejs.vietnamese': '越南人',
// "mejs.welsh": "Welsh", 'mejs.welsh': '威爾士',
// "mejs.yiddish": "Yiddish" 'mejs.yiddish': '意第緒語'
}; };
} }
})(mejs.i18n); })(mejs.i18n);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,50 +1,53 @@
/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages). /* 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/ */ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs-offscreen { .mejs-offscreen {
clip: rect(1px, 1px, 1px, 1px); /* IE8-IE11 - no support for clip-path */ border: 0;
clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px); clip: rect( 1px, 1px, 1px, 1px );
position: absolute !important; -webkit-clip-path: inset( 50% );
clip-path: inset( 50% );
height: 1px; height: 1px;
width: 1px; margin: -1px;
overflow: hidden; overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal;
} }
.mejs-container { .mejs-container {
position: relative;
background: #000; background: #000;
font-family: "Helvetica", Arial, serif; box-sizing: border-box;
font-family: 'Helvetica', Arial, serif;
position: relative;
text-align: left; text-align: left;
vertical-align: top;
text-indent: 0; text-indent: 0;
box-sizing: border-box; vertical-align: top;
min-width: 250px;
}
.mejs-container .mejs-video {
min-height: 140px;
} }
.mejs-container * { .mejs-container * {
box-sizing: border-box; box-sizing: border-box;
} }
/* Hide native play button from iOS to favor plugin button */ /* 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 { .mejs-container video::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none; -webkit-appearance: none;
display: none !important;
} }
.mejs-fill-container, .mejs-fill-container,
.mejs-fill-container .mejs-container { .mejs-fill-container .mejs-container {
width: 100%;
height: 100%; height: 100%;
width: 100%;
} }
.mejs-fill-container { .mejs-fill-container {
background: transparent;
margin: 0 auto;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
margin: 0 auto;
background: transparent;
} }
.mejs-container:focus { .mejs-container:focus {
@ -52,19 +55,19 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-iframe-overlay { .mejs-iframe-overlay {
height: 100%;
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%;
} }
.mejs-embed, .mejs-embed,
.mejs-embed body { .mejs-embed body {
width: 100%; background: #000;
height: 100%; height: 100%;
margin: 0; margin: 0;
padding: 0;
background: #000;
overflow: hidden; overflow: hidden;
padding: 0;
width: 100%;
} }
.mejs-fullscreen { .mejs-fullscreen {
@ -72,48 +75,44 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-container-fullscreen { .mejs-container-fullscreen {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0; bottom: 0;
left: 0;
overflow: hidden; overflow: hidden;
position: fixed;
right: 0;
top: 0;
z-index: 1000; z-index: 1000;
} }
.mejs-container-fullscreen .mejs-mediaelement, .mejs-container-fullscreen .mejs-mediaelement,
.mejs-container-fullscreen video { .mejs-container-fullscreen video {
width: 100% !important;
height: 100% !important; height: 100% !important;
} width: 100% !important;
.mejs-clear {
clear: both;
} }
/* Start: LAYERS */ /* Start: LAYERS */
.mejs-background { .mejs-background {
left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
} }
.mejs-mediaelement { .mejs-mediaelement {
height: 100%;
left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
width: 100%; width: 100%;
height: 100%;
z-index: 0; z-index: 0;
} }
.mejs-poster { .mejs-poster {
position: absolute;
top: 0;
left: 0;
background-size: contain;
background-position: 50% 50%; background-position: 50% 50%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover;
left: 0;
position: absolute;
top: 0;
z-index: 1; z-index: 1;
} }
@ -127,10 +126,21 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-overlay { .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; position: absolute;
top: 0; top: 0;
left: 0;
z-index: 1;
} }
.mejs-layer { .mejs-layer {
@ -142,16 +152,10 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-overlay-button { .mejs-overlay-button {
position: absolute; background: url('mejs-controls.svg') no-repeat;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
margin: -40px 0 0 -40px;
background: url("mejs-controls.svg") no-repeat;
background-position: 0 -39px; background-position: 0 -39px;
overflow: hidden; height: 80px;
z-index: 1; width: 80px;
} }
.mejs-overlay:hover > .mejs-overlay-button { .mejs-overlay:hover > .mejs-overlay-button {
@ -159,34 +163,24 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-overlay-loading { .mejs-overlay-loading {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px; height: 80px;
margin: -40px 0 0 -40px; width: 80px;
} }
.mejs-overlay-loading-bg-img { .mejs-overlay-loading-bg-img {
display: block;
width: 80px;
height: 80px;
background: transparent url("mejs-controls.svg") -160px -40px no-repeat;
-webkit-animation: mejs-loading-spinner 1s linear infinite; -webkit-animation: mejs-loading-spinner 1s linear infinite;
-moz-animation: mejs-loading-spinner 1s linear infinite;
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; z-index: 1;
} }
@-moz-keyframes mejs-loading-spinner {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes mejs-loading-spinner { @-webkit-keyframes mejs-loading-spinner {
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg);
} }
} }
@ -201,47 +195,51 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: CONTROL BAR */ /* Start: CONTROL BAR */
.mejs-controls { .mejs-controls {
position: absolute; bottom: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 40px;
left: 0;
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
padding: 0 10px; padding: 0 10px;
bottom: 0; position: absolute;
left: 0;
height: 40px;
width: 100%; width: 100%;
z-index: 1; z-index: 3;
} }
.mejs-controls:not([style*="display: none"]) { .mejs-controls:not([style*='display: none']) {
background: rgba(255, 0, 0, 0.7); background: rgba(255, 0, 0, 0.7);
background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.35)); background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.35));
background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
} }
.mejs-button, .mejs-button,
.mejs-time, .mejs-time,
.mejs-time-rail { .mejs-time-rail {
float: left;
margin: 0;
width: 32px;
height: 40px;
font-size: 10px; font-size: 10px;
height: 40px;
line-height: 10px; line-height: 10px;
margin: 0;
width: 32px;
} }
.mejs-button > button { .mejs-button > button {
background: transparent url('mejs-controls.svg');
border: 0;
cursor: pointer; cursor: pointer;
display: block; display: block;
font-size: 0; font-size: 0;
height: 20px;
line-height: 0; line-height: 0;
text-decoration: none;
margin: 10px 6px; margin: 10px 6px;
overflow: hidden;
padding: 0; padding: 0;
position: absolute; position: absolute;
height: 20px; text-decoration: none;
width: 20px; width: 20px;
border: 0;
background: transparent url("mejs-controls.svg");
overflow: hidden;
} }
/* :focus for accessibility */ /* :focus for accessibility */
@ -262,16 +260,15 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: Time (Current / Duration) */ /* Start: Time (Current / Duration) */
.mejs-time { .mejs-time {
box-sizing: content-box;
color: #fff; color: #fff;
display: block;
height: 24px;
width: auto;
font-weight: bold;
font-size: 11px; font-size: 11px;
padding: 16px 6px 0 6px; font-weight: bold;
height: 24px;
overflow: hidden; overflow: hidden;
padding: 16px 6px 0;
text-align: center; text-align: center;
box-sizing: content-box; width: auto;
} }
/* End: Time (Current / Duration) */ /* End: Time (Current / Duration) */
@ -294,11 +291,14 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: Progress Bar */ /* Start: Progress Bar */
.mejs-time-rail { .mejs-time-rail {
direction: ltr; direction: ltr;
width: 200px; -webkit-box-flex: 1;
padding-top: 10px; -webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
height: 40px; height: 40px;
position: relative;
margin: 0 10px; margin: 0 10px;
padding-top: 10px;
position: relative;
} }
.mejs-time-total, .mejs-time-total,
@ -310,24 +310,35 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
.mejs-time-float-current, .mejs-time-float-current,
.mejs-time-float-corner, .mejs-time-float-corner,
.mejs-time-marker { .mejs-time-marker {
border-radius: 2px;
cursor: pointer; cursor: pointer;
display: block; display: block;
position: absolute;
height: 10px; height: 10px;
border-radius: 2px; position: absolute;
} }
.mejs-time-total { .mejs-time-total {
margin: 5px 0 0 0;
background: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.3);
margin: 5px 0 0;
width: 100%; width: 100%;
} }
.mejs-time-buffering { .mejs-time-buffering {
width: 100%; -webkit-animation: buffering-stripes 2s linear infinite;
background: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 15px 15px;
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 { @keyframes buffering-stripes {
@ -340,15 +351,16 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-time-loaded { .mejs-time-loaded {
background: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, 0.3);
} }
.mejs-time-current, .mejs-time-handle-content { .mejs-time-current,
.mejs-time-handle-content {
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
} }
.mejs-time-hovered { .mejs-time-hovered {
background: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, 0.5);
z-index: 10; z-index: 10;
} }
@ -356,104 +368,126 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
} }
.mejs-time-current, .mejs-time-buffering, .mejs-time-loaded, .mejs-time-hovered { .mejs-time-current,
width: 100%; .mejs-time-buffering,
.mejs-time-loaded,
.mejs-time-hovered {
left: 0; left: 0;
-ms-transform-origin: 0 0; -webkit-transform: scaleX(0);
transform-origin: 0 0;
-ms-transform: scaleX(0); -ms-transform: scaleX(0);
transform: scaleX(0); transform: scaleX(0);
transition: .15s ease-in all; -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 { .mejs-time-hovered {
transition: height .1s cubic-bezier(0.44, 0.0, 1, 1); -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 { .mejs-time-hovered.no-hover {
-webkit-transform: scaleX(0) !important;
-ms-transform: scaleX(0) !important; -ms-transform: scaleX(0) !important;
transform: scaleX(0) !important; transform: scaleX(0) !important;
} }
.mejs-time-handle, .mejs-time-handle-content { .mejs-time-handle,
position: absolute; .mejs-time-handle-content {
cursor: pointer;
width: 10px;
height: 10px;
border: 4px solid transparent; border: 4px solid transparent;
z-index: 11; cursor: pointer;
left: 0; left: 0;
-ms-transform: translateX(0px); position: absolute;
transform: translateX(0px); -webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
z-index: 11;
} }
.mejs-time-handle-content { .mejs-time-handle-content {
left: -4px;
border: 4px solid rgba(255, 255, 255, 0.9); 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); -ms-transform: scale(0);
transform: scale(0); transform: scale(0);
top: -4px; width: 10px;
border-radius: 50%;
} }
.mejs-time-rail:hover .mejs-time-handle-content, .mejs-time-rail .mejs-time-handle-content:focus, .mejs-time-rail .mejs-time-handle-content:active { .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); -ms-transform: scale(1);
transform: scale(1); transform: scale(1);
} }
.mejs-time-float { .mejs-time-float {
position: absolute;
display: none;
background: #eee; background: #eee;
width: 36px;
height: 17px;
border: solid 1px #333; border: solid 1px #333;
top: -26px; bottom: 100%;
margin-left: -18px;
text-align: center;
color: #111; 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 { .mejs-time-float-current {
margin: 2px;
width: 30px;
display: block; display: block;
text-align: center;
left: 0; left: 0;
margin: 2px;
text-align: center;
width: 30px;
} }
.mejs-time-float-corner { .mejs-time-float-corner {
position: absolute; border: solid 5px #eee;
border-color: #eee transparent transparent;
border-radius: 0;
display: block; display: block;
width: 0;
height: 0; height: 0;
left: 50%;
line-height: 0; line-height: 0;
border: solid 5px #eee; position: absolute;
border-color: #eee transparent transparent transparent; top: 100%;
border-radius: 0; -webkit-transform: translateX(-50%);
top: 15px; -ms-transform: translateX(-50%);
left: 13px; transform: translateX(-50%);
width: 0;
} }
.mejs-long-video .mejs-time-float { .mejs-long-video .mejs-time-float {
width: 64px;
margin-left: -23px; margin-left: -23px;
width: 64px;
} }
.mejs-long-video .mejs-time-float-current { .mejs-long-video .mejs-time-float-current {
width: 60px; width: 60px;
} }
.mejs-long-video .mejs-time-float-corner {
left: 18px;
}
.mejs-broadcast { .mejs-broadcast {
color: #fff; color: #fff;
position: absolute;
width: 100%;
height: 10px; height: 10px;
position: absolute;
top: 15px; top: 15px;
width: 100%;
} }
/* End: Progress Bar */ /* End: Progress Bar */
@ -483,16 +517,20 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-volume-button > .mejs-volume-slider { .mejs-volume-button > .mejs-volume-slider {
-webkit-backface-visibility: hidden;
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
bottom: 100%;
display: none; display: none;
height: 115px; height: 115px;
left: 50%;
margin: 0;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 25px; width: 25px;
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
top: -115px;
left: 5px;
z-index: 1; z-index: 1;
position: absolute;
margin: 0;
} }
.mejs-volume-button:hover { .mejs-volume-button:hover {
@ -500,70 +538,71 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-volume-total { .mejs-volume-total {
background: rgba(255, 255, 255, 0.5);
height: 100px;
left: 50%;
margin: 0;
position: absolute; position: absolute;
left: 11px;
top: 8px; top: 8px;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 2px; width: 2px;
height: 100px;
background: rgba(255, 255, 255, 0.5);
margin: 0;
} }
.mejs-volume-current { .mejs-volume-current {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
left: 0;
margin: 0; margin: 0;
position: absolute;
width: 100%;
} }
.mejs-volume-handle { .mejs-volume-handle {
position: absolute;
left: 0;
bottom: 100%;
width: 16px;
height: 6px;
margin: 0 0 -3px -7px;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
cursor: ns-resize;
border-radius: 1px; 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 { .mejs-horizontal-volume-slider {
display: block;
height: 36px; height: 36px;
width: 56px;
position: relative; position: relative;
display: block;
float: left;
vertical-align: middle; vertical-align: middle;
width: 56px;
} }
.mejs-horizontal-volume-total { .mejs-horizontal-volume-total {
position: absolute; background: rgba(50, 50, 50, 0.8);
left: 0; border-radius: 2px;
top: 16px; font-size: 1px;
width: 50px;
height: 8px; height: 8px;
left: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 1px; position: absolute;
border-radius: 2px; top: 16px;
background: rgba(50, 50, 50, 0.8); width: 50px;
} }
.mejs-horizontal-volume-current { .mejs-horizontal-volume-current {
position: absolute; background: rgba(255, 255, 255, 0.8);
left: 0; border-radius: 2px;
top: 0; font-size: 1px;
width: 100%;
height: 100%; height: 100%;
left: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 1px; position: absolute;
border-radius: 2px; top: 0;
background: rgba(255, 255, 255, 0.8); width: 100%;
} }
.mejs-horizontal-volume-handle { .mejs-horizontal-volume-handle {
@ -573,7 +612,8 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* End: Mute/Volume */ /* End: Mute/Volume */
/* Start: Track (Captions and Chapters) */ /* Start: Track (Captions and Chapters) */
.mejs-captions-button, .mejs-chapters-button { .mejs-captions-button,
.mejs-chapters-button {
position: relative; position: relative;
} }
@ -585,84 +625,88 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
background-position: -180px 0; background-position: -180px 0;
} }
.mejs-captions-button > .mejs-captions-selector, .mejs-chapters-button > .mejs-chapters-selector { .mejs-captions-button > .mejs-captions-selector,
visibility: hidden; .mejs-chapters-button > .mejs-chapters-selector {
position: absolute;
bottom: 40px;
right: -51px;
width: 85px;
background: rgba(50, 50, 50, 0.7); background: rgba(50, 50, 50, 0.7);
border: solid 1px transparent; border: solid 1px transparent;
padding: 0;
overflow: hidden;
border-radius: 0; 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 { .mejs-chapters-button > .mejs-chapters-selector {
margin-right: -55px;
width: 110px; width: 110px;
} }
.mejs-captions-button > .mejs-captions-selector, .mejs-chapters-button > .mejs-chapters-selector { .mejs-captions-selector-list,
visibility: visible; .mejs-chapters-selector-list {
}
.mejs-captions-selector-list, .mejs-chapters-selector-list {
margin: 0;
padding: 0;
display: block;
list-style-type: none !important; list-style-type: none !important;
margin: 0;
overflow: hidden; overflow: hidden;
padding: 0;
} }
.mejs-captions-selector-list-item, .mejs-chapters-selector-list-item { .mejs-captions-selector-list-item,
margin: 0 0 6px 0; .mejs-chapters-selector-list-item {
padding: 0 10px;
list-style-type: none !important;
display: block;
color: #fff; color: #fff;
overflow: hidden;
cursor: pointer; cursor: pointer;
display: block;
list-style-type: none !important;
margin: 0 0 6px;
overflow: hidden;
padding: 0;
} }
.mejs-captions-selector-list-item:hover, .mejs-chapters-selector-list-item:hover { .mejs-captions-selector-list-item:hover,
.mejs-chapters-selector-list-item:hover {
background-color: rgb(200, 200, 200) !important; background-color: rgb(200, 200, 200) !important;
background-color: rgba(255, 255, 255, 0.4) !important; background-color: rgba(255, 255, 255, 0.4) !important;
} }
.mejs-captions-selector-input, .mejs-chapters-selector-input { .mejs-captions-selector-input,
.mejs-chapters-selector-input {
clear: both; clear: both;
float: left; float: left;
left: -1000px;
margin: 3px 3px 0 5px; margin: 3px 3px 0 5px;
position: absolute; position: absolute;
left: -1000px;
} }
.mejs-captions-selector-label, .mejs-chapters-selector-label { .mejs-captions-selector-label,
width: 55px; .mejs-chapters-selector-label {
cursor: pointer;
float: left; float: left;
padding: 4px 0 0 0;
line-height: 15px;
font-size: 10px; font-size: 10px;
cursor: pointer; line-height: 15px;
padding: 4px 10px 0;
width: 100%;
} }
.mejs-captions-selected, .mejs-chapters-selected { .mejs-captions-selected,
.mejs-chapters-selected {
color: rgba(33, 248, 248, 1); color: rgba(33, 248, 248, 1);
} }
.mejs-captions-translations { .mejs-captions-translations {
font-size: 10px; font-size: 10px;
margin: 0 0 5px 0; margin: 0 0 5px;
} }
.mejs-captions-layer { .mejs-captions-layer {
position: absolute;
bottom: 0; bottom: 0;
color: #fff;
font-size: 16px;
left: 0; left: 0;
text-align: center;
line-height: 20px; line-height: 20px;
font-size: 16px; position: absolute;
color: #fff; text-align: center;
} }
.mejs-captions-layer a { .mejs-captions-layer a {
@ -676,21 +720,22 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs-captions-position { .mejs-captions-position {
position: absolute;
width: 100%;
bottom: 15px; bottom: 15px;
left: 0; left: 0;
position: absolute;
width: 100%;
} }
.mejs-captions-position-hover { .mejs-captions-position-hover {
bottom: 35px; bottom: 35px;
} }
.mejs-captions-text, .mejs-captions-text * { .mejs-captions-text,
padding: 0; .mejs-captions-text * {
background: rgba(20, 20, 20, 0.5); background: rgba(20, 20, 20, 0.5);
white-space: pre-wrap;
box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 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 { .mejs-container.mejs-hide-cues video::-webkit-media-text-track-container {
@ -700,17 +745,30 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* End: Track (Captions and Chapters) */ /* End: Track (Captions and Chapters) */
/* Start: Error */ /* Start: Error */
.me_cannotplay a { .mejs-overlay-error {
font-weight: bold; position: relative;
} }
.mejs-overlay-error > img {
.mejs-container .me_cannotplay a { left: 0;
max-width: 100%;
position: absolute;
top: 0;
z-index: -1;
}
.mejs-cannotplay,
.mejs-cannotplay a {
color: #fff; color: #fff;
font-size: 0.8em;
} }
.me_cannotplay span { .mejs-cannotplay {
padding: 15px; position: relative;
display: block;
} }
.mejs-cannotplay p,
.mejs-cannotplay a {
display: inline-block;
padding: 0 15px;
width: 100%;
}
/* End: Error */ /* End: Error */

File diff suppressed because one or more lines are too long

@ -1,50 +1,53 @@
/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages). /* 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/ */ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
.mejs__offscreen { .mejs__offscreen {
clip: rect(1px, 1px, 1px, 1px); /* IE8-IE11 - no support for clip-path */ border: 0;
clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px); clip: rect( 1px, 1px, 1px, 1px );
position: absolute !important; -webkit-clip-path: inset( 50% );
clip-path: inset( 50% );
height: 1px; height: 1px;
width: 1px; margin: -1px;
overflow: hidden; overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal;
} }
.mejs__container { .mejs__container {
position: relative;
background: #000; background: #000;
font-family: "Helvetica", Arial, serif; box-sizing: border-box;
font-family: 'Helvetica', Arial, serif;
position: relative;
text-align: left; text-align: left;
vertical-align: top;
text-indent: 0; text-indent: 0;
box-sizing: border-box; vertical-align: top;
min-width: 250px;
}
.mejs__container .mejs__video {
min-height: 140px;
} }
.mejs__container * { .mejs__container * {
box-sizing: border-box; box-sizing: border-box;
} }
/* Hide native play button from iOS to favor plugin button */ /* 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 { .mejs__container video::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none; -webkit-appearance: none;
display: none !important;
} }
.mejs__fill-container, .mejs__fill-container,
.mejs__fill-container .mejs__container { .mejs__fill-container .mejs__container {
width: 100%;
height: 100%; height: 100%;
width: 100%;
} }
.mejs__fill-container { .mejs__fill-container {
background: transparent;
margin: 0 auto;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
margin: 0 auto;
background: transparent;
} }
.mejs__container:focus { .mejs__container:focus {
@ -52,19 +55,19 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__iframe-overlay { .mejs__iframe-overlay {
height: 100%;
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%;
} }
.mejs__embed, .mejs__embed,
.mejs__embed body { .mejs__embed body {
width: 100%; background: #000;
height: 100%; height: 100%;
margin: 0; margin: 0;
padding: 0;
background: #000;
overflow: hidden; overflow: hidden;
padding: 0;
width: 100%;
} }
.mejs__fullscreen { .mejs__fullscreen {
@ -72,48 +75,44 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__container-fullscreen { .mejs__container-fullscreen {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0; bottom: 0;
left: 0;
overflow: hidden; overflow: hidden;
position: fixed;
right: 0;
top: 0;
z-index: 1000; z-index: 1000;
} }
.mejs__container-fullscreen .mejs__mediaelement, .mejs__container-fullscreen .mejs__mediaelement,
.mejs__container-fullscreen video { .mejs__container-fullscreen video {
width: 100% !important;
height: 100% !important; height: 100% !important;
} width: 100% !important;
.mejs__clear {
clear: both;
} }
/* Start: LAYERS */ /* Start: LAYERS */
.mejs__background { .mejs__background {
left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
} }
.mejs__mediaelement { .mejs__mediaelement {
height: 100%;
left: 0;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
width: 100%; width: 100%;
height: 100%;
z-index: 0; z-index: 0;
} }
.mejs__poster { .mejs__poster {
position: absolute;
top: 0;
left: 0;
background-size: contain;
background-position: 50% 50%; background-position: 50% 50%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover;
left: 0;
position: absolute;
top: 0;
z-index: 1; z-index: 1;
} }
@ -127,10 +126,21 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__overlay { .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; position: absolute;
top: 0; top: 0;
left: 0;
z-index: 1;
} }
.mejs__layer { .mejs__layer {
@ -142,16 +152,10 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__overlay-button { .mejs__overlay-button {
position: absolute; background: url('mejs-controls.svg') no-repeat;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
margin: -40px 0 0 -40px;
background: url("mejs-controls.svg") no-repeat;
background-position: 0 -39px; background-position: 0 -39px;
overflow: hidden; height: 80px;
z-index: 1; width: 80px;
} }
.mejs__overlay:hover > .mejs__overlay-button { .mejs__overlay:hover > .mejs__overlay-button {
@ -159,38 +163,28 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__overlay-loading { .mejs__overlay-loading {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px; height: 80px;
margin: -40px 0 0 -40px; width: 80px;
} }
.mejs__overlay-loading-bg-img { .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; display: block;
width: 80px;
height: 80px; height: 80px;
background: transparent url("mejs-controls.svg") -160px -40px no-repeat; width: 80px;
-webkit-animation: mejs-loading-spinner 1s linear infinite;
-moz-animation: mejs-loading-spinner 1s linear infinite;
animation: mejs-loading-spinner 1s linear infinite;
z-index: 1; z-index: 1;
} }
@-moz-keyframes mejs-loading-spinner { @-webkit-keyframes mejs__loading-spinner {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes mejs-loading-spinner {
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg);
} }
} }
@keyframes mejs-loading-spinner { @keyframes mejs__loading-spinner {
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg); transform: rotate(360deg);
@ -201,47 +195,51 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: CONTROL BAR */ /* Start: CONTROL BAR */
.mejs__controls { .mejs__controls {
position: absolute; bottom: 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 40px;
left: 0;
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
padding: 0 10px; padding: 0 10px;
bottom: 0; position: absolute;
left: 0;
height: 40px;
width: 100%; width: 100%;
z-index: 1; z-index: 3;
} }
.mejs__controls:not([style*="display: none"]) { .mejs__controls:not([style*='display: none']) {
background: rgba(255, 0, 0, 0.7); background: rgba(255, 0, 0, 0.7);
background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.35)); background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.35));
background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
} }
.mejs__button, .mejs__button,
.mejs__time, .mejs__time,
.mejs__time-rail { .mejs__time-rail {
float: left;
margin: 0;
width: 32px;
height: 40px;
font-size: 10px; font-size: 10px;
height: 40px;
line-height: 10px; line-height: 10px;
margin: 0;
width: 32px;
} }
.mejs__button > button { .mejs__button > button {
background: transparent url('mejs-controls.svg');
border: 0;
cursor: pointer; cursor: pointer;
display: block; display: block;
font-size: 0; font-size: 0;
height: 20px;
line-height: 0; line-height: 0;
text-decoration: none;
margin: 10px 6px; margin: 10px 6px;
overflow: hidden;
padding: 0; padding: 0;
position: absolute; position: absolute;
height: 20px; text-decoration: none;
width: 20px; width: 20px;
border: 0;
background: transparent url("mejs-controls.svg");
overflow: hidden;
} }
/* :focus for accessibility */ /* :focus for accessibility */
@ -262,16 +260,15 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: Time (Current / Duration) */ /* Start: Time (Current / Duration) */
.mejs__time { .mejs__time {
box-sizing: content-box;
color: #fff; color: #fff;
display: block;
height: 24px;
width: auto;
font-weight: bold;
font-size: 11px; font-size: 11px;
padding: 16px 6px 0 6px; font-weight: bold;
height: 24px;
overflow: hidden; overflow: hidden;
padding: 16px 6px 0;
text-align: center; text-align: center;
box-sizing: content-box; width: auto;
} }
/* End: Time (Current / Duration) */ /* End: Time (Current / Duration) */
@ -294,11 +291,14 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* Start: Progress Bar */ /* Start: Progress Bar */
.mejs__time-rail { .mejs__time-rail {
direction: ltr; direction: ltr;
width: 200px; -webkit-box-flex: 1;
padding-top: 10px; -webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
height: 40px; height: 40px;
position: relative;
margin: 0 10px; margin: 0 10px;
padding-top: 10px;
position: relative;
} }
.mejs__time-total, .mejs__time-total,
@ -310,24 +310,35 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
.mejs__time-float-current, .mejs__time-float-current,
.mejs__time-float-corner, .mejs__time-float-corner,
.mejs__time-marker { .mejs__time-marker {
border-radius: 2px;
cursor: pointer; cursor: pointer;
display: block; display: block;
position: absolute;
height: 10px; height: 10px;
border-radius: 2px; position: absolute;
} }
.mejs__time-total { .mejs__time-total {
margin: 5px 0 0 0;
background: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.3);
margin: 5px 0 0;
width: 100%; width: 100%;
} }
.mejs__time-buffering { .mejs__time-buffering {
width: 100%; -webkit-animation: buffering-stripes 2s linear infinite;
background: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 15px 15px;
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 { @keyframes buffering-stripes {
@ -340,15 +351,16 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__time-loaded { .mejs__time-loaded {
background: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, 0.3);
} }
.mejs__time-current, .mejs__time-handle-content { .mejs__time-current,
.mejs__time-handle-content {
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
} }
.mejs__time-hovered { .mejs__time-hovered {
background: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, 0.5);
z-index: 10; z-index: 10;
} }
@ -356,104 +368,126 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
} }
.mejs__time-current, .mejs__time-buffering, .mejs__time-loaded, .mejs__time-hovered { .mejs__time-current,
width: 100%; .mejs__time-buffering,
.mejs__time-loaded,
.mejs__time-hovered {
left: 0; left: 0;
-ms-transform-origin: 0 0; -webkit-transform: scaleX(0);
transform-origin: 0 0;
-ms-transform: scaleX(0); -ms-transform: scaleX(0);
transform: scaleX(0); transform: scaleX(0);
transition: .15s ease-in all; -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 { .mejs__time-hovered {
transition: height .1s cubic-bezier(0.44, 0.0, 1, 1); -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 { .mejs__time-hovered.no-hover {
-webkit-transform: scaleX(0) !important;
-ms-transform: scaleX(0) !important; -ms-transform: scaleX(0) !important;
transform: scaleX(0) !important; transform: scaleX(0) !important;
} }
.mejs__time-handle, .mejs__time-handle-content { .mejs__time-handle,
position: absolute; .mejs__time-handle-content {
cursor: pointer;
width: 10px;
height: 10px;
border: 4px solid transparent; border: 4px solid transparent;
z-index: 11; cursor: pointer;
left: 0; left: 0;
-ms-transform: translateX(0px); position: absolute;
transform: translateX(0px); -webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
z-index: 11;
} }
.mejs__time-handle-content { .mejs__time-handle-content {
left: -4px;
border: 4px solid rgba(255, 255, 255, 0.9); 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); -ms-transform: scale(0);
transform: scale(0); transform: scale(0);
top: -4px; width: 10px;
border-radius: 50%;
} }
.mejs__time-rail:hover .mejs__time-handle-content, .mejs__time-rail .mejs__time-handle-content:focus, .mejs__time-rail .mejs__time-handle-content:active { .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); -ms-transform: scale(1);
transform: scale(1); transform: scale(1);
} }
.mejs__time-float { .mejs__time-float {
position: absolute;
display: none;
background: #eee; background: #eee;
width: 36px;
height: 17px;
border: solid 1px #333; border: solid 1px #333;
top: -26px; bottom: 100%;
margin-left: -18px;
text-align: center;
color: #111; 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 { .mejs__time-float-current {
margin: 2px;
width: 30px;
display: block; display: block;
text-align: center;
left: 0; left: 0;
margin: 2px;
text-align: center;
width: 30px;
} }
.mejs__time-float-corner { .mejs__time-float-corner {
position: absolute; border: solid 5px #eee;
border-color: #eee transparent transparent;
border-radius: 0;
display: block; display: block;
width: 0;
height: 0; height: 0;
left: 50%;
line-height: 0; line-height: 0;
border: solid 5px #eee; position: absolute;
border-color: #eee transparent transparent transparent; top: 100%;
border-radius: 0; -webkit-transform: translateX(-50%);
top: 15px; -ms-transform: translateX(-50%);
left: 13px; transform: translateX(-50%);
width: 0;
} }
.mejs__long-video .mejs__time-float { .mejs__long-video .mejs__time-float {
width: 64px;
margin-left: -23px; margin-left: -23px;
width: 64px;
} }
.mejs__long-video .mejs__time-float-current { .mejs__long-video .mejs__time-float-current {
width: 60px; width: 60px;
} }
.mejs__long-video .mejs__time-float-corner {
left: 18px;
}
.mejs__broadcast { .mejs__broadcast {
color: #fff; color: #fff;
position: absolute;
width: 100%;
height: 10px; height: 10px;
position: absolute;
top: 15px; top: 15px;
width: 100%;
} }
/* End: Progress Bar */ /* End: Progress Bar */
@ -483,16 +517,20 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__volume-button > .mejs__volume-slider { .mejs__volume-button > .mejs__volume-slider {
-webkit-backface-visibility: hidden;
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
bottom: 100%;
display: none; display: none;
height: 115px; height: 115px;
left: 50%;
margin: 0;
position: absolute;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 25px; width: 25px;
background: rgba(50, 50, 50, 0.7);
border-radius: 0;
top: -115px;
left: 5px;
z-index: 1; z-index: 1;
position: absolute;
margin: 0;
} }
.mejs__volume-button:hover { .mejs__volume-button:hover {
@ -500,70 +538,71 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__volume-total { .mejs__volume-total {
background: rgba(255, 255, 255, 0.5);
height: 100px;
left: 50%;
margin: 0;
position: absolute; position: absolute;
left: 11px;
top: 8px; top: 8px;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 2px; width: 2px;
height: 100px;
background: rgba(255, 255, 255, 0.5);
margin: 0;
} }
.mejs__volume-current { .mejs__volume-current {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
left: 0;
margin: 0; margin: 0;
position: absolute;
width: 100%;
} }
.mejs__volume-handle { .mejs__volume-handle {
position: absolute;
left: 0;
bottom: 100%;
width: 16px;
height: 6px;
margin: 0 0 -3px -7px;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
cursor: ns-resize;
border-radius: 1px; 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 { .mejs__horizontal-volume-slider {
display: block;
height: 36px; height: 36px;
width: 56px;
position: relative; position: relative;
display: block;
float: left;
vertical-align: middle; vertical-align: middle;
width: 56px;
} }
.mejs__horizontal-volume-total { .mejs__horizontal-volume-total {
position: absolute; background: rgba(50, 50, 50, 0.8);
left: 0; border-radius: 2px;
top: 16px; font-size: 1px;
width: 50px;
height: 8px; height: 8px;
left: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 1px; position: absolute;
border-radius: 2px; top: 16px;
background: rgba(50, 50, 50, 0.8); width: 50px;
} }
.mejs__horizontal-volume-current { .mejs__horizontal-volume-current {
position: absolute; background: rgba(255, 255, 255, 0.8);
left: 0; border-radius: 2px;
top: 0; font-size: 1px;
width: 100%;
height: 100%; height: 100%;
left: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 1px; position: absolute;
border-radius: 2px; top: 0;
background: rgba(255, 255, 255, 0.8); width: 100%;
} }
.mejs__horizontal-volume-handle { .mejs__horizontal-volume-handle {
@ -573,7 +612,8 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* End: Mute/Volume */ /* End: Mute/Volume */
/* Start: Track (Captions and Chapters) */ /* Start: Track (Captions and Chapters) */
.mejs__captions-button, .mejs__chapters-button { .mejs__captions-button,
.mejs__chapters-button {
position: relative; position: relative;
} }
@ -585,84 +625,88 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
background-position: -180px 0; background-position: -180px 0;
} }
.mejs__captions-button > .mejs__captions-selector, .mejs__chapters-button > .mejs__chapters-selector { .mejs__captions-button > .mejs__captions-selector,
visibility: hidden; .mejs__chapters-button > .mejs__chapters-selector {
position: absolute;
bottom: 40px;
right: -51px;
width: 85px;
background: rgba(50, 50, 50, 0.7); background: rgba(50, 50, 50, 0.7);
border: solid 1px transparent; border: solid 1px transparent;
padding: 0;
overflow: hidden;
border-radius: 0; 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 { .mejs__chapters-button > .mejs__chapters-selector {
margin-right: -55px;
width: 110px; width: 110px;
} }
.mejs__captions-button > .mejs__captions-selector, .mejs__chapters-button > .mejs__chapters-selector { .mejs__captions-selector-list,
visibility: visible; .mejs__chapters-selector-list {
}
.mejs__captions-selector-list, .mejs__chapters-selector-list {
margin: 0;
padding: 0;
display: block;
list-style-type: none !important; list-style-type: none !important;
margin: 0;
overflow: hidden; overflow: hidden;
padding: 0;
} }
.mejs__captions-selector-list-item, .mejs__chapters-selector-list-item { .mejs__captions-selector-list-item,
margin: 0 0 6px 0; .mejs__chapters-selector-list-item {
padding: 0 10px;
list-style-type: none !important;
display: block;
color: #fff; color: #fff;
overflow: hidden;
cursor: pointer; cursor: pointer;
display: block;
list-style-type: none !important;
margin: 0 0 6px;
overflow: hidden;
padding: 0;
} }
.mejs__captions-selector-list-item:hover, .mejs__chapters-selector-list-item:hover { .mejs__captions-selector-list-item:hover,
.mejs__chapters-selector-list-item:hover {
background-color: rgb(200, 200, 200) !important; background-color: rgb(200, 200, 200) !important;
background-color: rgba(255, 255, 255, 0.4) !important; background-color: rgba(255, 255, 255, 0.4) !important;
} }
.mejs__captions-selector-input, .mejs__chapters-selector-input { .mejs__captions-selector-input,
.mejs__chapters-selector-input {
clear: both; clear: both;
float: left; float: left;
left: -1000px;
margin: 3px 3px 0 5px; margin: 3px 3px 0 5px;
position: absolute; position: absolute;
left: -1000px;
} }
.mejs__captions-selector-label, .mejs__chapters-selector-label { .mejs__captions-selector-label,
width: 55px; .mejs__chapters-selector-label {
cursor: pointer;
float: left; float: left;
padding: 4px 0 0 0;
line-height: 15px;
font-size: 10px; font-size: 10px;
cursor: pointer; line-height: 15px;
padding: 4px 10px 0;
width: 100%;
} }
.mejs__captions-selected, .mejs__chapters-selected { .mejs__captions-selected,
.mejs__chapters-selected {
color: rgba(33, 248, 248, 1); color: rgba(33, 248, 248, 1);
} }
.mejs__captions-translations { .mejs__captions-translations {
font-size: 10px; font-size: 10px;
margin: 0 0 5px 0; margin: 0 0 5px;
} }
.mejs__captions-layer { .mejs__captions-layer {
position: absolute;
bottom: 0; bottom: 0;
color: #fff;
font-size: 16px;
left: 0; left: 0;
text-align: center;
line-height: 20px; line-height: 20px;
font-size: 16px; position: absolute;
color: #fff; text-align: center;
} }
.mejs__captions-layer a { .mejs__captions-layer a {
@ -676,21 +720,22 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
} }
.mejs__captions-position { .mejs__captions-position {
position: absolute;
width: 100%;
bottom: 15px; bottom: 15px;
left: 0; left: 0;
position: absolute;
width: 100%;
} }
.mejs__captions-position-hover { .mejs__captions-position-hover {
bottom: 35px; bottom: 35px;
} }
.mejs__captions-text, .mejs__captions-text * { .mejs__captions-text,
padding: 0; .mejs__captions-text * {
background: rgba(20, 20, 20, 0.5); background: rgba(20, 20, 20, 0.5);
white-space: pre-wrap;
box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 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 { .mejs__container.mejs__hide-cues video::-webkit-media-text-track-container {
@ -700,17 +745,30 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
/* End: Track (Captions and Chapters) */ /* End: Track (Captions and Chapters) */
/* Start: Error */ /* Start: Error */
.me_cannotplay a { .mejs__overlay-error {
font-weight: bold; position: relative;
} }
.mejs__overlay-error > img {
.mejs__container .me_cannotplay a { left: 0;
max-width: 100%;
position: absolute;
top: 0;
z-index: -1;
}
.mejs__cannotplay,
.mejs__cannotplay a {
color: #fff; color: #fff;
font-size: 0.8em;
} }
.me_cannotplay span { .mejs__cannotplay {
padding: 15px; position: relative;
display: block;
} }
.mejs__cannotplay p,
.mejs__cannotplay a {
display: inline-block;
padding: 0 15px;
width: 100%;
}
/* End: Error */ /* End: Error */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -1,122 +1 @@
<?xml version="1.0" encoding="utf-8"?> <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>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="400px" height="120px" viewBox="0 0 400 120" style="enable-background:new 0 0 400 120;" xml:space="preserve">
<style type="text/css">
.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>
<g id="controls">
<g id="play">
<path class="st0" d="M16.5,8.5c0.3,0.1,0.4,0.5,0.2,0.8c-0.1,0.1-0.1,0.2-0.2,0.2l-11.4,7c-0.5,0.3-0.8,0.1-0.8-0.5V2
c0-0.5,0.4-0.8,0.8-0.5L16.5,8.5z"/>
</g>
<g id="pause">
<g>
<path class="st0" d="M24,1h2.2c0.6,0,1,0.4,1,1v14c0,0.6-0.4,1-1,1H24c-0.6,0-1-0.4-1-1V2C23,1.5,23.4,1,24,1z"/>
<path class="st0" d="M33.8,1H36c0.6,0,1,0.4,1,1v14c0,0.6-0.4,1-1,1h-2.2c-0.6,0-1-0.4-1-1V2C32.8,1.5,33.2,1,33.8,1z"/>
</g>
</g>
<g id="fullscreen">
<g id="enter">
<path class="st0" d="M81,1.4c0-0.6,0.4-1,1-1h5.4c0.6,0,0.7,0.3,0.3,0.7l-6,6C81.3,7.5,81,7.4,81,6.8V1.4z"/>
<path class="st0" d="M81,17.2c0,0.6,0.4,1,1,1h5.4c0.6,0,0.7-0.3,0.3-0.7l-6-6c-0.4-0.4-0.7-0.3-0.7,0.3L81,17.2z"/>
<path class="st0" d="M98.8,1.4c0-0.6-0.4-1-1-1h-5.4c-0.6,0-0.7,0.3-0.3,0.7l6,6c0.4,0.4,0.7,0.3,0.7-0.3
C98.8,6.8,98.8,1.4,98.8,1.4z"/>
<path class="st0" d="M98.8,17.2c0,0.6-0.4,1-1,1h-5.4c-0.6,0-0.7-0.3-0.3-0.7l6-6c0.4-0.4,0.7-0.3,0.7,0.3
C98.8,11.8,98.8,17.2,98.8,17.2z"/>
</g>
<g id="exit">
<g>
<path class="st0" d="M112.7,5c0,0.6,0.4,1,1,1h4.1c0.6,0,0.7-0.3,0.3-0.7l-4.7-4.7c-0.4-0.4-0.7-0.3-0.7,0.3
C112.7,0.9,112.7,5,112.7,5z"/>
<path class="st0" d="M105.6,6c0.6,0,1-0.4,1-1V0.9c0-0.6-0.3-0.7-0.7-0.3l-4.7,4.7c-0.4,0.4-0.3,0.7,0.3,0.7L105.6,6z"/>
<path class="st0" d="M106.6,13.1c0-0.6-0.4-1-1-1h-4.1c-0.6,0-0.7,0.3-0.3,0.7l4.7,4.7c0.4,0.4,0.7,0.3,0.7-0.3
C106.6,17.2,106.6,13.1,106.6,13.1z"/>
<path class="st0" d="M113.7,12.1c-0.6,0-1,0.4-1,1v4.1c0,0.5,0.3,0.7,0.7,0.3l4.7-4.7c0.4-0.4,0.3-0.7-0.3-0.7H113.7z"/>
</g>
</g>
</g>
<g id="volume">
<g id="unmuted">
<path class="st0" d="M67,5.8c-0.5,0.4-1.2,0.6-1.8,0.6H62c-0.6,0-1,0.4-1,1v5.7c0,0.6,0.4,1,1,1h3.2c0.3,0,0.7,0,1,0
c0.3,0.2,0.5,0.4,0.8,0.6l3.5,2.6c0.4,0.3,0.8,0.1,0.8-0.4V3.5c0-0.5-0.4-0.7-0.8-0.4L67,5.8z"/>
<path class="st1" d="M73.9,2.5c0,0,3.9-0.8,3.9,7.7S73.9,18,73.9,18"/>
<path class="st1" d="M72.6,6.4c0,0,2.6-0.4,2.6,3.8s-2.6,3.9-2.6,3.9"/>
</g>
<g id="muted">
<path class="st0" d="M47,5.8c-0.5,0.4-1.2,0.6-1.8,0.6H42c-0.6,0-1,0.4-1,1v5.7c0,0.6,0.4,1,1,1h3.2c0.3,0,0.7,0,1,0
c0.3,0.2,0.5,0.4,0.8,0.6l3.5,2.6c0.4,0.3,0.8,0.1,0.8-0.4V3.5c0-0.5-0.4-0.7-0.8-0.4L47,5.8z"/>
<line class="st2" x1="52.8" y1="7" x2="58.2" y2="12.4"/>
<line class="st2" x1="52.8" y1="12.4" x2="58.2" y2="7"/>
</g>
</g>
<g id="closed_captions">
<path class="st3" d="M128.7,8.6c-6.2-4.2-6.5,7.8,0,3.9"/>
<path class="st3" d="M135.2,8.6c-6.2-4.2-6.5,7.8,0,3.9"/>
<path class="st0" d="M122.2,3.4h15.7v13.1h-15.7V3.4z M120.8,2v15.7h18.3V2H120.8z"/>
</g>
<g>
<path class="st0" d="M143.2,3h14c1.1,0,2,0.9,2,2v10c0,1.1-0.9,2-2,2h-14c-1.1,0-2-0.9-2-2V5C141.2,3.9,142.1,3,143.2,3z"/>
<path class="st4" d="M146.4,13.8c-0.8,0-1.6-0.4-2.1-1c-1.1-1.4-1-3.4,0.1-4.8c0.5-0.6,2-1.7,4.6,0.2L148.4,9
c-1.4-1-2.6-1.1-3.3-0.3c-0.8,1-0.8,2.4-0.1,3.5c0.7,0.9,1.9,0.8,3.4-0.1l0.5,0.9C148.2,13.5,147.3,13.7,146.4,13.8z"/>
<path class="st4" d="M153.9,13.8c-0.8,0-1.6-0.4-2.1-1c-1.1-1.4-1-3.4,0.1-4.8c0.5-0.6,2-1.7,4.6,0.2L156,9
c-1.4-1-2.6-1.1-3.3-0.3c-0.8,1-0.8,2.4-0.1,3.5c0.7,0.9,1.9,0.8,3.4-0.1l0.5,0.9C155.7,13.5,154.8,13.7,153.9,13.8z"/>
</g>
</g>
<g id="big_play">
<g id="big_play_opaque">
<path class="st0" d="M60.3,77c0.6,0.2,0.8,0.8,0.6,1.4c-0.1,0.3-0.3,0.5-0.6,0.6L30,96.5c-1,0.6-1.7,0.1-1.7-1v-35
c0-1.1,0.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,79S60.7,116.5,40,116.5S2.5,99.7,2.5,79L2.5,79z"/>
</g>
<g id="big_play_hover">
<path class="st0" d="M140.3,77c0.6,0.2,0.8,0.8,0.6,1.4c-0.1,0.3-0.3,0.5-0.6,0.6L110,96.5c-1,0.6-1.7,0.1-1.7-1v-35
c0-1.1,0.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.5s-16.8,37.5-37.5,37.5S82.5,99.7,82.5,79z"/>
</g>
<g id="loading">
<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"/>
</g>
</g>
<g id="replay">
<path class="st0" d="M178,9.4c0,0.4-0.4,0.7-0.9,0.7c-0.1,0-0.2,0-0.2-0.1l-4.9-1.8c-0.5-0.2-0.6-0.6-0.1-0.8l6.2-3.6
c0.5-0.3,0.8-0.1,0.7,0.5L178,9.4z"/>
<path class="st0" d="M169.4,15.9c-1,0-2-0.2-2.9-0.7c-2-1-3.2-3-3.2-5.2c0.1-3.4,2.9-6,6.3-6c2.5,0.1,4.8,1.7,5.6,4.1l0.1-0.1
l2.1,1.1c-0.6-4.4-4.7-7.5-9.1-6.9c-3.9,0.6-6.9,3.9-7,7.9c0,2.9,1.7,5.6,4.3,7c1.2,0.6,2.5,0.9,3.8,1c2.6,0,5-1.2,6.6-3.3
l-1.8-0.9C173,15.1,171.2,15.9,169.4,15.9z"/>
</g>
<g id="chapters">
<path class="st0" d="M183.4,3.2L183.4,3.2c0.8,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5l0,0c-0.8,0-1.5-0.7-1.5-1.5l0,0
C181.9,3.8,182.6,3.2,183.4,3.2z"/>
<path class="st0" d="M188.5,3.2h8.5c0.9,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5h-8.5c-0.9,0-1.5-0.7-1.5-1.5l0,0
C186.9,3.8,187.6,3.2,188.5,3.2z"/>
<path class="st0" d="M183.4,8.2L183.4,8.2c0.8,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5l0,0c-0.8,0-1.5-0.7-1.5-1.5l0,0
C181.9,8.8,182.6,8.2,183.4,8.2z"/>
<path class="st0" d="M188.5,8.2h8.5c0.9,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5h-8.5c-0.9,0-1.5-0.7-1.5-1.5l0,0
C186.9,8.8,187.6,8.2,188.5,8.2z"/>
<path class="st0" d="M183.4,13.2L183.4,13.2c0.8,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5l0,0c-0.8,0-1.5-0.7-1.5-1.5l0,0
C181.9,13.8,182.6,13.2,183.4,13.2z"/>
<path class="st0" d="M188.5,13.2h8.5c0.9,0,1.5,0.7,1.5,1.5l0,0c0,0.8-0.7,1.5-1.5,1.5h-8.5c-0.9,0-1.5-0.7-1.5-1.5l0,0
C186.9,13.8,187.6,13.2,188.5,13.2z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -11,33 +11,13 @@
*/(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){ */(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'; 'use strict';
/**
* DailyMotion renderer
*
* Uses <iframe> approach and uses DailyMotion API to manipulate it.
* @see https://developer.dailymotion.com/player
*
*/
var DailyMotionApi = { var DailyMotionApi = {
/**
* @type {Boolean}
*/
isSDKStarted: false, isSDKStarted: false,
/**
* @type {Boolean}
*/
isSDKLoaded: false, isSDKLoaded: false,
/**
* @type {Array}
*/
iframeQueue: [], iframeQueue: [],
/**
* Create a queue to prepare the creation of <iframe>
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
enqueueIframe: function enqueueIframe(settings) { enqueueIframe: function enqueueIframe(settings) {
if (DailyMotionApi.isLoaded) { if (DailyMotionApi.isLoaded) {
@ -48,25 +28,13 @@ var DailyMotionApi = {
} }
}, },
/**
* Load DailyMotion API script on the header of the document
*
*/
loadIframeApi: function loadIframeApi() { loadIframeApi: function loadIframeApi() {
if (!DailyMotionApi.isSDKStarted) { if (!DailyMotionApi.isSDKStarted) {
var e = document.createElement('script'); mejs.Utils.loadScript('https://api.dmcdn.net/all.js');
e.async = true;
e.src = 'https://api.dmcdn.net/all.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(e, s);
DailyMotionApi.isSDKStarted = true; DailyMotionApi.isSDKStarted = true;
} }
}, },
/**
* Process queue of DailyMotion <iframe> element creation
*
*/
apiReady: function apiReady() { apiReady: function apiReady() {
DailyMotionApi.isLoaded = true; DailyMotionApi.isLoaded = true;
@ -74,15 +42,17 @@ var DailyMotionApi = {
while (DailyMotionApi.iframeQueue.length > 0) { while (DailyMotionApi.iframeQueue.length > 0) {
var settings = DailyMotionApi.iframeQueue.pop(); var settings = DailyMotionApi.iframeQueue.pop();
DM.init({
apiKey: settings.apiKey,
status: settings.status,
cookie: settings.cookie
});
DailyMotionApi.createIframe(settings); DailyMotionApi.createIframe(settings);
} }
}, },
/**
* Create a new instance of DailyMotion API player and trigger a custom event to initialize it
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
createIframe: function createIframe(settings) { createIframe: function createIframe(settings) {
var player = DM.player(settings.container, { var player = DM.player(settings.container, {
@ -98,15 +68,6 @@ var DailyMotionApi = {
}); });
}, },
/**
* Extract ID from DailyMotion's URL to be loaded through API
* Valid URL format(s):
* - http://www.dailymotion.com/embed/video/x35yawy
* - http://dai.ly/x35yawy
*
* @param {String} url
* @return {String}
*/
getDailyMotionId: function getDailyMotionId(url) { getDailyMotionId: function getDailyMotionId(url) {
var parts = url.split('/'), var parts = url.split('/'),
lastPart = parts[parts.length - 1], lastPart = parts[parts.length - 1],
@ -118,10 +79,8 @@ var DailyMotionApi = {
var DailyMotionIframeRenderer = { var DailyMotionIframeRenderer = {
name: 'dailymotion_iframe', name: 'dailymotion_iframe',
options: { options: {
prefix: 'dailymotion_iframe', prefix: 'dailymotion_iframe',
dailymotion: { dailymotion: {
width: '100%', width: '100%',
height: '100%', height: '100%',
@ -131,28 +90,17 @@ var DailyMotionIframeRenderer = {
info: 0, info: 0,
logo: 0, logo: 0,
related: 0 related: 0
} },
apiKey: null,
status: true,
cookie: true
} }
}, },
/**
* Determine if a specific element type can be played with this render
*
* @param {String} type
* @return {Boolean}
*/
canPlayType: function canPlayType(type) { canPlayType: function canPlayType(type) {
return ~['video/dailymotion', 'video/x-dailymotion'].indexOf(type.toLowerCase()); return ~['video/dailymotion', 'video/x-dailymotion'].indexOf(type.toLowerCase());
}, },
/**
* Create the player instance and add all native events/methods/properties as possible
*
* @param {MediaElement} mediaElement Instance of mejs.MediaElement already created
* @param {Object} options All the player configuration options passed through constructor
* @param {Object[]} mediaFiles List of sources with format: {src: url, type: x/y-z}
* @return {Object}
*/
create: function create(mediaElement, options, mediaFiles) { create: function create(mediaElement, options, mediaFiles) {
var dm = {}, var dm = {},
@ -161,44 +109,36 @@ var DailyMotionIframeRenderer = {
var events = void 0, var events = void 0,
dmPlayer = null, dmPlayer = null,
dmIframe = null; dmIframe = null,
muted = mediaElement.originalNode.muted;
dm.options = options; dm.options = options;
dm.id = mediaElement.id + '_' + options.prefix; dm.id = mediaElement.id + '_' + options.prefix;
dm.mediaElement = mediaElement; dm.mediaElement = mediaElement;
// wrappers for get/set
var props = mejs.html5media.properties, var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) { assignGettersSetters = function assignGettersSetters(propName) {
// add to flash state that we will store
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1); var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
dm['get' + capName] = function () { dm['get' + capName] = function () {
if (dmPlayer !== null) { if (dmPlayer !== null) {
var value = null; var value = null;
// figure out how to get dm dta here
switch (propName) { switch (propName) {
case 'currentTime': case 'currentTime':
return dmPlayer.currentTime; return dmPlayer.currentTime;
case 'duration': case 'duration':
return isNaN(dmPlayer.duration) ? 0 : dmPlayer.duration; return isNaN(dmPlayer.duration) ? 0 : dmPlayer.duration;
case 'volume': case 'volume':
return dmPlayer.volume; return dmPlayer.volume;
case 'paused': case 'paused':
return dmPlayer.paused; return dmPlayer.paused;
case 'ended': case 'ended':
return dmPlayer.ended; return dmPlayer.ended;
case 'muted': case 'muted':
return dmPlayer.muted; muted = dmPlayer.muted;
return muted;
case 'buffered': case 'buffered':
var percentLoaded = dmPlayer.bufferedTime, var percentLoaded = dmPlayer.bufferedTime,
duration = dmPlayer.duration; duration = dmPlayer.duration;
@ -213,7 +153,6 @@ var DailyMotionIframeRenderer = {
}; };
case 'src': case 'src':
return mediaElement.originalNode.getAttribute('src'); return mediaElement.originalNode.getAttribute('src');
case 'readyState': case 'readyState':
return readyState; return readyState;
} }
@ -226,50 +165,49 @@ var DailyMotionIframeRenderer = {
dm['set' + capName] = function (value) { dm['set' + capName] = function (value) {
if (dmPlayer !== null) { if (dmPlayer !== null) {
switch (propName) { switch (propName) {
case 'src': case 'src':
var url = typeof value === 'string' ? value : value[0].src; var url = typeof value === 'string' ? value : value[0].src;
dmPlayer.load(DailyMotionApi.getDailyMotionId(url)); dmPlayer.load(DailyMotionApi.getDailyMotionId(url));
break; break;
case 'currentTime': case 'currentTime':
dmPlayer.seek(value); dmPlayer.seek(value);
break; break;
case 'muted': case 'muted':
if (value) { if (value === true) {
dmPlayer.setMuted(true); dmPlayer.setVolume(0);
} else {
dmPlayer.setMuted(false);
} }
dmPlayer.setMuted(value);
muted = value;
setTimeout(function () { setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', dm); var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'volume': case 'volume':
dmPlayer.setVolume(value); dmPlayer.setVolume(value);
if (value === 0 && !dmPlayer.muted) {
dmPlayer.setMuted(true);
muted = true;
} else if (value > 0 && dmPlayer.muted) {
dmPlayer.setMuted(false);
muted = false;
}
setTimeout(function () { setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', dm); var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'readyState': case 'readyState':
var event = mejs.Utils.createEvent('canplay', dm); var event = mejs.Utils.createEvent('canplay', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
break; break;
default: default:
break; break;
} }
} else { } else {
// store for after "READY" event fires
apiStack.push({ type: 'set', propName: propName, value: value }); apiStack.push({ type: 'set', propName: propName, value: value });
} }
}; };
@ -279,15 +217,10 @@ var DailyMotionIframeRenderer = {
assignGettersSetters(props[i]); assignGettersSetters(props[i]);
} }
// add wrappers for native methods
var methods = mejs.html5media.methods, var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) { assignMethods = function assignMethods(methodName) {
// run the method on the native HTMLMediaElement
dm[methodName] = function () { dm[methodName] = function () {
if (dmPlayer !== null) { if (dmPlayer !== null) {
// DO method
switch (methodName) { switch (methodName) {
case 'play': case 'play':
return dmPlayer.play(); return dmPlayer.play();
@ -295,7 +228,6 @@ var DailyMotionIframeRenderer = {
return dmPlayer.pause(); return dmPlayer.pause();
case 'load': case 'load':
return null; return null;
} }
} else { } else {
apiStack.push({ type: 'call', methodName: methodName }); apiStack.push({ type: 'call', methodName: methodName });
@ -307,12 +239,10 @@ var DailyMotionIframeRenderer = {
assignMethods(methods[_i]); assignMethods(methods[_i]);
} }
// Initial method to register all DailyMotion events when initializing <iframe>
window['__ready__' + dm.id] = function (_dmPlayer) { window['__ready__' + dm.id] = function (_dmPlayer) {
mediaElement.dmPlayer = dmPlayer = _dmPlayer; mediaElement.dmPlayer = dmPlayer = _dmPlayer;
// do call stack
if (apiStack.length) { if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) { for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
@ -331,7 +261,6 @@ var DailyMotionIframeRenderer = {
dmIframe = document.getElementById(dm.id); dmIframe = document.getElementById(dm.id);
// a few more events
events = ['mouseover', 'mouseout']; events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) { var assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, dm); var event = mejs.Utils.createEvent(e.type, dm);
@ -342,16 +271,20 @@ var DailyMotionIframeRenderer = {
dmIframe.addEventListener(events[_i3], assignEvents, false); dmIframe.addEventListener(events[_i3], assignEvents, false);
} }
// BUBBLE EVENTS up if (mediaElement.originalNode.muted) {
dmPlayer.setVolume(0);
dmPlayer.setMuted(true);
} else {
dmPlayer.setVolume(dmPlayer.volume);
dmPlayer.setMuted(false);
}
events = mejs.html5media.events; events = mejs.html5media.events;
events = events.concat(['click', 'mouseover', 'mouseout']); events = events.concat(['click', 'mouseover', 'mouseout']);
var assignNativeEvents = function assignNativeEvents(eventName) { var assignNativeEvents = function assignNativeEvents(eventName) {
// Deprecated event; not consider it
if (eventName !== 'ended') { if (eventName !== 'ended') {
dmPlayer.addEventListener(eventName, function (e) { dmPlayer.addEventListener(eventName, function (e) {
var event = mejs.Utils.createEvent(e.type, dmPlayer); var event = mejs.Utils.createEvent(e.type, dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
} }
@ -361,51 +294,51 @@ var DailyMotionIframeRenderer = {
assignNativeEvents(events[_i4]); assignNativeEvents(events[_i4]);
} }
// Custom DailyMotion events
dmPlayer.addEventListener('ad_start', function () { dmPlayer.addEventListener('ad_start', function () {
var event = mejs.Utils.createEvent('play', dmPlayer); var event = mejs.Utils.createEvent('play', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('progress', dmPlayer); event = mejs.Utils.createEvent('progress', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('timeupdate', dmPlayer); event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
dmPlayer.addEventListener('ad_timeupdate', function () { dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dmPlayer); var event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
dmPlayer.addEventListener('ad_pause', function () { dmPlayer.addEventListener('ad_pause', function () {
var event = mejs.Utils.createEvent('pause', dmPlayer); var event = mejs.Utils.createEvent('pause', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
dmPlayer.addEventListener('ad_end', function () { dmPlayer.addEventListener('start', function () {
var event = mejs.Utils.createEvent('ended', dmPlayer); if (dmPlayer.muted) {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}
}); });
dmPlayer.addEventListener('video_start', function () { dmPlayer.addEventListener('video_start', function () {
var event = mejs.Utils.createEvent('play', dmPlayer); var event = mejs.Utils.createEvent('play', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('timeupdate', dmPlayer); var playingEvent = mejs.Utils.createEvent('playing', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(playingEvent);
});
dmPlayer.addEventListener('video_end', function () {
var event = mejs.Utils.createEvent('ended', dmPlayer);
mediaElement.dispatchEvent(event);
}); });
dmPlayer.addEventListener('progress', function () { dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dmPlayer); var event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
dmPlayer.addEventListener('durationchange', function () { dmPlayer.addEventListener('video_end', function () {
var event = mejs.Utils.createEvent('timeupdate', dmPlayer); var event = mejs.Utils.createEvent('ended', dm);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
if (mediaElement.originalNode.getAttribute('loop')) {
dmPlayer.play();
}
}); });
// give initial events var initEvents = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
var initEvents = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay'];
for (var _i5 = 0, _total5 = initEvents.length; _i5 < _total5; _i5++) { for (var _i5 = 0, _total5 = initEvents.length; _i5 < _total5; _i5++) {
var event = mejs.Utils.createEvent(initEvents[_i5], dm); var event = mejs.Utils.createEvent(initEvents[_i5], dm);
@ -423,17 +356,27 @@ var DailyMotionIframeRenderer = {
mediaElement.originalNode.style.display = 'none'; mediaElement.originalNode.style.display = 'none';
var videoId = DailyMotionApi.getDailyMotionId(mediaFiles[0].src), var videoId = DailyMotionApi.getDailyMotionId(mediaFiles[0].src),
dmSettings = Object.assign({ dmSettings = {
id: dm.id, id: dm.id,
container: dmContainer, container: dmContainer,
videoId: videoId, videoId: videoId
autoplay: mediaElement.originalNode.autoplay };
}, dm.options.dailymotion);
dmSettings.params = Object.assign({}, dm.options.dailymotion);
dmSettings.params.controls = !!mediaElement.originalNode.controls;
if (mediaElement.originalNode.autoplay) {
dmSettings.params.autoplay = true;
}
if (mediaElement.originalNode.muted) {
dmSettings.params.mute = true;
}
dmSettings.params.api = '1';
DailyMotionApi.enqueueIframe(dmSettings); DailyMotionApi.enqueueIframe(dmSettings);
dm.hide = function () { dm.hide = function () {
dm.stopInterval();
dm.pause(); dm.pause();
if (dmIframe) { if (dmIframe) {
dmIframe.style.display = 'none'; dmIframe.style.display = 'none';
@ -445,36 +388,19 @@ var DailyMotionIframeRenderer = {
} }
}; };
dm.setSize = function (width, height) { dm.setSize = function (width, height) {
if (dmIframe) {
dmIframe.width = width; dmIframe.width = width;
dmIframe.height = height; dmIframe.height = height;
}
}; };
dm.destroy = function () { dm.destroy = function () {
dmPlayer.destroy(); dmPlayer.destroy();
}; };
dm.interval = null;
dm.startInterval = function () {
dm.interval = setInterval(function () {
DailyMotionApi.sendEvent(dm.id, dmPlayer, 'timeupdate', {
paused: false,
ended: false
});
}, 250);
};
dm.stopInterval = function () {
if (dm.interval) {
clearInterval(dm.interval);
}
};
return dm; return dm;
} }
}; };
/*
* Register DailyMotion event globally
*
*/
mejs.Utils.typeChecks.push(function (url) { mejs.Utils.typeChecks.push(function (url) {
return (/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(url) ? 'video/x-dailymotion' : null return (/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(url) ? 'video/x-dailymotion' : null
); );

File diff suppressed because one or more lines are too long

@ -11,94 +11,91 @@
*/(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){ */(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'; 'use strict';
/** var FacebookApi = {
* Facebook renderer
* promise: null,
* It creates an <iframe> from a <div> with specific configuration.
* @see https://developers.facebook.com/docs/plugins/embedded-video-player load: function load(settings) {
*/
if (typeof FB !== 'undefined') {
FacebookApi._createPlayer(settings);
} else {
FacebookApi.promise = FacebookApi.promise || mejs.Utils.loadScript('https://connect.facebook.net/' + settings.options.lang + '/sdk.js');
FacebookApi.promise.then(function () {
FB.init(settings.options);
setTimeout(function () {
FacebookApi._createPlayer(settings);
}, 50);
});
}
},
_createPlayer: function _createPlayer(settings) {
window['__ready__' + settings.id]();
}
};
var FacebookRenderer = { var FacebookRenderer = {
name: 'facebook', name: 'facebook',
options: { options: {
prefix: 'facebook', prefix: 'facebook',
facebook: { facebook: {
appId: '{your-app-id}', appId: '',
xfbml: true, xfbml: true,
version: 'v2.6' version: 'v2.10',
lang: 'en_US'
} }
}, },
/**
* Determine if a specific element type can be played with this render
*
* @param {String} type
* @return {Boolean}
*/
canPlayType: function canPlayType(type) { canPlayType: function canPlayType(type) {
return ~['video/facebook', 'video/x-facebook'].indexOf(type.toLowerCase()); return ~['video/facebook', 'video/x-facebook'].indexOf(type.toLowerCase());
}, },
/**
* Create the player instance and add all native events/methods/properties as possible
*
* @param {MediaElement} mediaElement Instance of mejs.MediaElement already created
* @param {Object} options All the player configuration options passed through constructor
* @param {Object[]} mediaFiles List of sources with format: {src: url, type: x/y-z}
* @return {Object}
*/
create: function create(mediaElement, options, mediaFiles) { create: function create(mediaElement, options, mediaFiles) {
var apiStack = [],
fb = {},
readyState = 4;
var fbWrapper = {}, var hasStartedPlaying = false,
apiStack = [],
eventHandler = {},
readyState = 4,
autoplay = mediaElement.originalNode.autoplay;
var src = '',
paused = true, paused = true,
ended = false, ended = false,
hasStartedPlaying = false, fbPlayer = null,
fbApi = null, src = '',
fbDiv = null; poster = '',
autoplay = mediaElement.originalNode.autoplay;
fb.options = options;
fb.id = mediaElement.id + '_' + options.prefix;
fb.mediaElement = mediaElement;
options = Object.assign(options, mediaElement.options); if (mejs.Features.isiPhone && mediaElement.originalNode.getAttribute('poster')) {
fbWrapper.options = options; poster = mediaElement.originalNode.getAttribute('poster');
fbWrapper.id = mediaElement.id + '_' + options.prefix; mediaElement.originalNode.removeAttribute('poster');
fbWrapper.mediaElement = mediaElement; }
// wrappers for get/set
var props = mejs.html5media.properties, var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) { assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1); var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fbWrapper['get' + capName] = function () { fb['get' + capName] = function () {
if (fbApi !== null) { if (fbPlayer !== null) {
var value = null; var value = null;
// figure out how to get youtube dta here
switch (propName) { switch (propName) {
case 'currentTime': case 'currentTime':
return fbApi.getCurrentPosition(); return fbPlayer.getCurrentPosition();
case 'duration': case 'duration':
return fbApi.getDuration(); return fbPlayer.getDuration();
case 'volume': case 'volume':
return fbApi.getVolume(); return fbPlayer.getVolume();
case 'paused': case 'paused':
return paused; return paused;
case 'ended': case 'ended':
return ended; return ended;
case 'muted': case 'muted':
return fbApi.isMuted(); return fbPlayer.isMuted();
case 'buffered': case 'buffered':
return { return {
start: function start() { start: function start() {
@ -111,7 +108,6 @@ var FacebookRenderer = {
}; };
case 'src': case 'src':
return src; return src;
case 'readyState': case 'readyState':
return readyState; return readyState;
} }
@ -122,64 +118,67 @@ var FacebookRenderer = {
} }
}; };
fbWrapper['set' + capName] = function (value) { fb['set' + capName] = function (value) {
if (fbApi !== null) { if (fbPlayer !== null) {
switch (propName) { switch (propName) {
case 'src': case 'src':
var url = typeof value === 'string' ? value : value[0].src; var url = typeof value === 'string' ? value : value[0].src;
src = url;
fbContainer.remove();
fbContainer = document.createElement('div');
fbContainer.id = fb.id;
fbContainer.className = 'fb-video';
fbContainer.setAttribute('data-href', url);
fbContainer.setAttribute('data-allowfullscreen', 'true');
fbContainer.setAttribute('data-controls', 'false');
// Only way is to destroy instance and all the events fired, mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
// and create new one mediaElement.originalNode.style.display = 'none';
fbDiv.remove();
createFacebookEmbed(url, options.facebook); FacebookApi.load({
lang: fb.options.lang,
id: fb.id
});
// This method reloads video on-demand
FB.XFBML.parse(); FB.XFBML.parse();
if (autoplay) { if (autoplay) {
fbApi.play(); fbPlayer.play();
} }
break; break;
case 'currentTime': case 'currentTime':
fbApi.seek(value); fbPlayer.seek(value);
break; break;
case 'muted': case 'muted':
if (value) { if (value) {
fbApi.mute(); fbPlayer.mute();
} else { } else {
fbApi.unmute(); fbPlayer.unmute();
} }
setTimeout(function () { setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fbWrapper); var event = mejs.Utils.createEvent('volumechange', fb);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'volume': case 'volume':
fbApi.setVolume(value); fbPlayer.setVolume(value);
setTimeout(function () { setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fbWrapper); var event = mejs.Utils.createEvent('volumechange', fb);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'readyState': case 'readyState':
var event = mejs.Utils.createEvent('canplay', fbWrapper); var event = mejs.Utils.createEvent('canplay', fb);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
break; break;
default: default:
break; break;
} }
} else { } else {
// store for after "READY" event fires
apiStack.push({ type: 'set', propName: propName, value: value }); apiStack.push({ type: 'set', propName: propName, value: value });
} }
}; };
@ -189,24 +188,17 @@ var FacebookRenderer = {
assignGettersSetters(props[i]); assignGettersSetters(props[i]);
} }
// add wrappers for native methods
var methods = mejs.html5media.methods, var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) { assignMethods = function assignMethods(methodName) {
fb[methodName] = function () {
// run the method on the native HTMLMediaElement if (fbPlayer !== null) {
fbWrapper[methodName] = function () {
if (fbApi !== null) {
// DO method
switch (methodName) { switch (methodName) {
case 'play': case 'play':
return fbApi.play(); return fbPlayer.play();
case 'pause': case 'pause':
return fbApi.pause(); return fbPlayer.pause();
case 'load': case 'load':
return null; return null;
} }
} else { } else {
apiStack.push({ type: 'call', methodName: methodName }); apiStack.push({ type: 'call', methodName: methodName });
@ -218,205 +210,148 @@ var FacebookRenderer = {
assignMethods(methods[_i]); assignMethods(methods[_i]);
} }
/** function assignEvents(events) {
* Dispatch a list of events
*
* @private
* @param {Array} events
*/
function sendEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) { for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], fbWrapper); var event = mejs.Utils.createEvent(events[_i2], fb);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
} }
} }
/** window['__ready__' + fb.id] = function () {
* Create a new Facebook player and attach all its events
*
* This method creates a <div> element that, once the API is available, will generate an <iframe>.
* Valid URL format(s):
* - https://www.facebook.com/johndyer/videos/10107816243681884/
*
* @param {String} url
* @param {Object} config
*/
function createFacebookEmbed(url, config) {
// Append width and height if not detected
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';
/*
* Register Facebook API event globally
*
*/
window.fbAsyncInit = function () {
FB.init(config);
FB.Event.subscribe('xfbml.ready', function (msg) { FB.Event.subscribe('xfbml.ready', function (msg) {
if (msg.type === 'video' && fb.id === msg.id) {
mediaElement.fbPlayer = fbPlayer = msg.instance;
if (msg.type === 'video') { var fbIframe = document.getElementById(fb.id),
fbApi = msg.instance;
// Set proper size since player dimensions are unknown before this event
var fbIframe = fbDiv.getElementsByTagName('iframe')[0],
width = fbIframe.offsetWidth, width = fbIframe.offsetWidth,
height = fbIframe.offsetHeight, height = fbIframe.offsetHeight,
events = ['mouseover', 'mouseout'], events = ['mouseover', 'mouseout'],
assignEvents = function assignEvents(e) { assignIframeEvents = function assignIframeEvents(e) {
var event = mejs.Utils.createEvent(e.type, fbWrapper); var event = mejs.Utils.createEvent(e.type, fb);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}; };
fbWrapper.setSize(width, height); fb.setSize(width, height);
if (!mediaElement.originalNode.muted) {
fbPlayer.unmute();
}
if (autoplay) { if (autoplay) {
fbApi.play(); fbPlayer.play();
} }
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) { for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
fbIframe.addEventListener(events[_i3], assignEvents, false); fbIframe.addEventListener(events[_i3], assignIframeEvents);
} }
// remove previous listeners fb.eventHandler = {};
var fbEvents = ['startedPlaying', 'paused', 'finishedPlaying', 'startedBuffering', 'finishedBuffering']; var fbEvents = ['startedPlaying', 'paused', 'finishedPlaying', 'startedBuffering', 'finishedBuffering'];
for (var _i4 = 0, _total4 = fbEvents.length; _i4 < _total4; _i4++) { for (var _i4 = 0, _total4 = fbEvents.length; _i4 < _total4; _i4++) {
var event = fbEvents[_i4], var event = fbEvents[_i4],
handler = eventHandler[event]; handler = fb.eventHandler[event];
if (handler !== undefined && handler !== null && !mejs.Utils.isObjectEmpty(handler) && typeof handler.removeListener === 'function') { if (handler !== undefined && handler !== null && !mejs.Utils.isObjectEmpty(handler) && typeof handler.removeListener === 'function') {
handler.removeListener(event); handler.removeListener(event);
} }
} }
// do call stack
if (apiStack.length) { if (apiStack.length) {
for (var _i5 = 0, _total5 = apiStack.length; _i5 < _total5; _i5++) { for (var _i5 = 0, _total5 = apiStack.length; _i5 < _total5; _i5++) {
var stackItem = apiStack[_i5]; var stackItem = apiStack[_i5];
if (stackItem.type === 'set') { if (stackItem.type === 'set') {
var propName = stackItem.propName, var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1); capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fbWrapper['set' + capName](stackItem.value); fb['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') { } else if (stackItem.type === 'call') {
fbWrapper[stackItem.methodName](); fb[stackItem.methodName]();
} }
} }
} }
sendEvents(['rendererready', 'loadeddata', 'canplay', 'progress', 'loadedmetadata', 'timeupdate']); assignEvents(['rendererready', 'loadeddata', 'canplay', 'progress', 'loadedmetadata', 'timeupdate']);
var timer = void 0; var timer = void 0;
// Custom Facebook events fb.eventHandler.startedPlaying = fbPlayer.subscribe('startedPlaying', function () {
eventHandler.startedPlaying = fbApi.subscribe('startedPlaying', function () {
if (!hasStartedPlaying) { if (!hasStartedPlaying) {
hasStartedPlaying = true; hasStartedPlaying = true;
} }
paused = false; paused = false;
ended = false; ended = false;
sendEvents(['play', 'playing', 'timeupdate']); assignEvents(['play', 'playing', 'timeupdate']);
// Workaround to update progress bar
timer = setInterval(function () { timer = setInterval(function () {
fbApi.getCurrentPosition(); fbPlayer.getCurrentPosition();
sendEvents(['timeupdate']); assignEvents(['timeupdate']);
}, 250); }, 250);
}); });
eventHandler.paused = fbApi.subscribe('paused', function () { fb.eventHandler.paused = fbPlayer.subscribe('paused', function () {
paused = true; paused = true;
ended = false; ended = false;
sendEvents(['pause']); assignEvents(['pause']);
}); });
eventHandler.finishedPlaying = fbApi.subscribe('finishedPlaying', function () { fb.eventHandler.finishedPlaying = fbPlayer.subscribe('finishedPlaying', function () {
paused = true; paused = true;
ended = true; ended = true;
sendEvents(['ended']); assignEvents(['ended']);
clearInterval(timer); clearInterval(timer);
timer = null; timer = null;
}); });
eventHandler.startedBuffering = fbApi.subscribe('startedBuffering', function () { fb.eventHandler.startedBuffering = fbPlayer.subscribe('startedBuffering', function () {
sendEvents(['progress', 'timeupdate']); assignEvents(['progress', 'timeupdate']);
}); });
eventHandler.finishedBuffering = fbApi.subscribe('finishedBuffering', function () { fb.eventHandler.finishedBuffering = fbPlayer.subscribe('finishedBuffering', function () {
sendEvents(['progress', 'timeupdate']); assignEvents(['progress', 'timeupdate']);
}); });
} }
}); });
}; };
(function (d, s, id) { src = mediaFiles[0].src;
var fjs = d.getElementsByTagName(s)[0]; var fbContainer = document.createElement('div');
if (d.getElementById(id)) { fbContainer.id = fb.id;
return; fbContainer.className = 'fb-video';
} fbContainer.setAttribute('data-href', src);
var js = d.createElement(s); fbContainer.setAttribute('data-allowfullscreen', 'true');
js.id = id; fbContainer.setAttribute('data-controls', !!mediaElement.originalNode.controls);
js.src = 'https://connect.facebook.net/en_US/sdk.js'; mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
fjs.parentNode.insertBefore(js, fjs); mediaElement.originalNode.style.display = 'none';
})(document, 'script', 'facebook-jssdk');
}
if (mediaFiles.length > 0) { FacebookApi.load({
createFacebookEmbed(mediaFiles[0].src, fbWrapper.options.facebook); options: fb.options.facebook,
} id: fb.id
});
fbWrapper.hide = function () { fb.hide = function () {
fbWrapper.stopInterval(); fb.pause();
fbWrapper.pause(); if (fbPlayer) {
if (fbDiv) { fbContainer.style.display = 'none';
fbDiv.style.display = 'none';
} }
}; };
fbWrapper.show = function () { fb.setSize = function (width) {
if (fbDiv) { if (fbPlayer !== null && !isNaN(width)) {
fbDiv.style.display = ''; fbContainer.style.width = width;
} }
}; };
fbWrapper.setSize = function (width, height) { fb.show = function () {
if (fbApi !== null && !isNaN(width) && !isNaN(height)) { if (fbPlayer) {
fbDiv.style.width = width; fbContainer.style.display = '';
fbDiv.style.height = height;
} }
}; };
fbWrapper.destroy = function () {};
fbWrapper.interval = null;
fbWrapper.startInterval = function () { fb.destroy = function () {
// create timer if (poster) {
fbWrapper.interval = setInterval(function () { mediaElement.originalNode.setAttribute('poster', poster);
var event = mejs.Utils.createEvent('timeupdate', fbWrapper);
mediaElement.dispatchEvent(event);
}, 250);
};
fbWrapper.stopInterval = function () {
if (fbWrapper.interval) {
clearInterval(fbWrapper.interval);
} }
}; };
return fbWrapper; return fb;
} }
}; };
/**
* Register Facebook type based on URL structure
*
*/
mejs.Utils.typeChecks.push(function (url) { mejs.Utils.typeChecks.push(function (url) {
return ~url.toLowerCase().indexOf('//www.facebook') ? 'video/x-facebook' : null; return ~url.toLowerCase().indexOf('//www.facebook') ? 'video/x-facebook' : null;
}); });

File diff suppressed because one or more lines are too long

@ -11,93 +11,23 @@
*/(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){ */(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'; 'use strict';
/**
* SoundCloud renderer
*
* Uses <iframe> approach and uses SoundCloud Widget API to manipulate it.
* @see https://developers.soundcloud.com/docs/api/html5-widget
*/
var SoundCloudApi = { var SoundCloudApi = {
/**
* @type {Boolean}
*/
isSDKStarted: false,
/**
* @type {Boolean}
*/
isSDKLoaded: false,
/**
* @type {Array}
*/
iframeQueue: [],
/**
* Create a queue to prepare the creation of <iframe>
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
enqueueIframe: function enqueueIframe(settings) {
if (SoundCloudApi.isLoaded) {
SoundCloudApi.createIframe(settings);
} else {
SoundCloudApi.loadIframeApi();
SoundCloudApi.iframeQueue.push(settings);
}
},
/** promise: null,
* Load SoundCloud API script on the header of the document
*
*/
loadIframeApi: function loadIframeApi() {
if (!SoundCloudApi.isSDKStarted) {
var head = document.getElementsByTagName("head")[0] || document.documentElement,
script = document.createElement("script");
var done = false;
script.src = 'https://w.soundcloud.com/player/api.js';
// Attach handlers for all browsers load: function load(settings) {
// Is onload enough now? do IE9 support it?
script.onload = script.onreadystatechange = function () {
if (!done && (!SoundCloudApi.readyState || SoundCloudApi.readyState === "loaded" || SoundCloudApi.readyState === "complete")) {
done = true;
SoundCloudApi.apiReady();
// Handle memory leak in IE
script.onload = script.onreadystatechange = null;
script.remove();
}
};
head.appendChild(script);
SoundCloudApi.isSDKStarted = true;
}
},
/** if (typeof SC !== 'undefined') {
* Process queue of SoundCloud <iframe> element creation SoundCloudApi._createPlayer(settings);
* } else {
*/ SoundCloudApi.promise = SoundCloudApi.promise || mejs.Utils.loadScript('https://w.soundcloud.com/player/api.js');
apiReady: function apiReady() { SoundCloudApi.promise.then(function () {
SoundCloudApi.isLoaded = true; SoundCloudApi._createPlayer(settings);
SoundCloudApi.isSDKLoaded = true; });
while (SoundCloudApi.iframeQueue.length > 0) {
var settings = SoundCloudApi.iframeQueue.pop();
SoundCloudApi.createIframe(settings);
} }
}, },
/** _createPlayer: function _createPlayer(settings) {
* Create a new instance of SoundCloud Widget player and trigger a custom event to initialize it
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
createIframe: function createIframe(settings) {
var player = SC.Widget(settings.iframe); var player = SC.Widget(settings.iframe);
window['__ready__' + settings.id](player); window['__ready__' + settings.id](player);
} }
@ -105,36 +35,20 @@ var SoundCloudApi = {
var SoundCloudIframeRenderer = { var SoundCloudIframeRenderer = {
name: 'soundcloud_iframe', name: 'soundcloud_iframe',
options: { options: {
prefix: 'soundcloud_iframe' prefix: 'soundcloud_iframe'
}, },
/**
* Determine if a specific element type can be played with this render
*
* @param {String} type
* @return {Boolean}
*/
canPlayType: function canPlayType(type) { canPlayType: function canPlayType(type) {
return ~['video/soundcloud', 'video/x-soundcloud'].indexOf(type.toLowerCase()); return ~['video/soundcloud', 'video/x-soundcloud'].indexOf(type.toLowerCase());
}, },
/**
* Create the player instance and add all native events/methods/properties as possible
*
* @param {MediaElement} mediaElement Instance of mejs.MediaElement already created
* @param {Object} options All the player configuration options passed through constructor
* @param {Object[]} mediaFiles List of sources with format: {src: url, type: x/y-z}
* @return {Object}
*/
create: function create(mediaElement, options, mediaFiles) { create: function create(mediaElement, options, mediaFiles) {
// create our fake element that allows events and such to work
var sc = {}, var sc = {},
apiStack = [], apiStack = [],
readyState = 4, readyState = 4,
autoplay = mediaElement.originalNode.autoplay; autoplay = mediaElement.originalNode.autoplay,
isVideo = mediaElement.originalNode !== null && mediaElement.originalNode.tagName.toLowerCase() === 'video';
var duration = 0, var duration = 0,
currentTime = 0, currentTime = 0,
@ -146,43 +60,31 @@ var SoundCloudIframeRenderer = {
scPlayer = null, scPlayer = null,
scIframe = null; scIframe = null;
// store main variable
sc.options = options; sc.options = options;
sc.id = mediaElement.id + '_' + options.prefix; sc.id = mediaElement.id + '_' + options.prefix;
sc.mediaElement = mediaElement; sc.mediaElement = mediaElement;
// wrappers for get/set
var props = mejs.html5media.properties, var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) { assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
// add to flash state that we will store sc['get' + capName] = function () {
var capName = "" + propName.substring(0, 1).toUpperCase() + propName.substring(1);
sc["get" + capName] = function () {
if (scPlayer !== null) { if (scPlayer !== null) {
var value = null; var value = null;
// figure out how to get dm dta here
switch (propName) { switch (propName) {
case 'currentTime': case 'currentTime':
return currentTime; return currentTime;
case 'duration': case 'duration':
return duration; return duration;
case 'volume': case 'volume':
return volume; return volume;
case 'paused': case 'paused':
return paused; return paused;
case 'ended': case 'ended':
return ended; return ended;
case 'muted': case 'muted':
return muted; // ? return muted;
case 'buffered': case 'buffered':
return { return {
start: function start() { start: function start() {
@ -195,50 +97,39 @@ var SoundCloudIframeRenderer = {
}; };
case 'src': case 'src':
return scIframe ? scIframe.src : ''; return scIframe ? scIframe.src : '';
case 'readyState': case 'readyState':
return readyState; return readyState;
} }
return value; return value;
} else { } else {
return null; return null;
} }
}; };
sc["set" + capName] = function (value) { sc['set' + capName] = function (value) {
if (scPlayer !== null) { if (scPlayer !== null) {
// do something
switch (propName) { switch (propName) {
case 'src': case 'src':
var url = typeof value === 'string' ? value : value[0].src; var url = typeof value === 'string' ? value : value[0].src;
scPlayer.load(url); scPlayer.load(url);
if (autoplay) { if (autoplay) {
scPlayer.play(); scPlayer.play();
} }
break; break;
case 'currentTime': case 'currentTime':
scPlayer.seekTo(value * 1000); scPlayer.seekTo(value * 1000);
break; break;
case 'muted': case 'muted':
if (value) { if (value) {
scPlayer.setVolume(0); // ? scPlayer.setVolume(0);
} else { } else {
scPlayer.setVolume(1); // ? scPlayer.setVolume(1);
} }
setTimeout(function () { setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', sc); var event = mejs.Utils.createEvent('volumechange', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'volume': case 'volume':
scPlayer.setVolume(value); scPlayer.setVolume(value);
setTimeout(function () { setTimeout(function () {
@ -246,7 +137,6 @@ var SoundCloudIframeRenderer = {
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'readyState': case 'readyState':
var event = mejs.Utils.createEvent('canplay', sc); var event = mejs.Utils.createEvent('canplay', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
@ -257,7 +147,6 @@ var SoundCloudIframeRenderer = {
break; break;
} }
} else { } else {
// store for after "READY" event fires
apiStack.push({ type: 'set', propName: propName, value: value }); apiStack.push({ type: 'set', propName: propName, value: value });
} }
}; };
@ -267,16 +156,10 @@ var SoundCloudIframeRenderer = {
assignGettersSetters(props[i]); assignGettersSetters(props[i]);
} }
// add wrappers for native methods
var methods = mejs.html5media.methods, var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) { assignMethods = function assignMethods(methodName) {
// run the method on the Soundcloud API
sc[methodName] = function () { sc[methodName] = function () {
if (scPlayer !== null) { if (scPlayer !== null) {
// DO method
switch (methodName) { switch (methodName) {
case 'play': case 'play':
return scPlayer.play(); return scPlayer.play();
@ -284,7 +167,6 @@ var SoundCloudIframeRenderer = {
return scPlayer.pause(); return scPlayer.pause();
case 'load': case 'load':
return null; return null;
} }
} else { } else {
apiStack.push({ type: 'call', methodName: methodName }); apiStack.push({ type: 'call', methodName: methodName });
@ -296,7 +178,6 @@ var SoundCloudIframeRenderer = {
assignMethods(methods[_i]); assignMethods(methods[_i]);
} }
// add a ready method that SC can fire
window['__ready__' + sc.id] = function (_scPlayer) { window['__ready__' + sc.id] = function (_scPlayer) {
mediaElement.scPlayer = scPlayer = _scPlayer; mediaElement.scPlayer = scPlayer = _scPlayer;
@ -305,7 +186,6 @@ var SoundCloudIframeRenderer = {
scPlayer.play(); scPlayer.play();
} }
// do call stack
if (apiStack.length) { if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) { for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
@ -313,51 +193,44 @@ var SoundCloudIframeRenderer = {
if (stackItem.type === 'set') { if (stackItem.type === 'set') {
var propName = stackItem.propName, var propName = stackItem.propName,
capName = "" + propName.substring(0, 1).toUpperCase() + propName.substring(1); capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
sc["set" + capName](stackItem.value); sc['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') { } else if (stackItem.type === 'call') {
sc[stackItem.methodName](); sc[stackItem.methodName]();
} }
} }
} }
// SoundCloud properties are async, so we don't fire the event until the property callback fires
scPlayer.bind(SC.Widget.Events.PLAY_PROGRESS, function () { scPlayer.bind(SC.Widget.Events.PLAY_PROGRESS, function () {
paused = false; paused = false;
ended = false; ended = false;
scPlayer.getPosition(function (_currentTime) { scPlayer.getPosition(function (_currentTime) {
currentTime = _currentTime / 1000; currentTime = _currentTime / 1000;
var event = mejs.Utils.createEvent('timeupdate', sc); var event = mejs.Utils.createEvent('timeupdate', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
}); });
scPlayer.bind(SC.Widget.Events.PAUSE, function () { scPlayer.bind(SC.Widget.Events.PAUSE, function () {
paused = true; paused = true;
var event = mejs.Utils.createEvent('pause', sc); var event = mejs.Utils.createEvent('pause', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
scPlayer.bind(SC.Widget.Events.PLAY, function () { scPlayer.bind(SC.Widget.Events.PLAY, function () {
paused = false; paused = false;
ended = false; ended = false;
var event = mejs.Utils.createEvent('play', sc); var event = mejs.Utils.createEvent('play', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
scPlayer.bind(SC.Widget.Events.FINISHED, function () { scPlayer.bind(SC.Widget.Events.FINISHED, function () {
paused = false; paused = false;
ended = true; ended = true;
var event = mejs.Utils.createEvent('ended', sc); var event = mejs.Utils.createEvent('ended', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
scPlayer.bind(SC.Widget.Events.READY, function () { scPlayer.bind(SC.Widget.Events.READY, function () {
scPlayer.getDuration(function (_duration) { scPlayer.getDuration(function (_duration) {
duration = _duration / 1000; duration = _duration / 1000;
var event = mejs.Utils.createEvent('loadedmetadata', sc); var event = mejs.Utils.createEvent('loadedmetadata', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
@ -366,7 +239,6 @@ var SoundCloudIframeRenderer = {
scPlayer.getDuration(function (loadProgress) { scPlayer.getDuration(function (loadProgress) {
if (duration > 0) { if (duration > 0) {
bufferedTime = duration * loadProgress; bufferedTime = duration * loadProgress;
var event = mejs.Utils.createEvent('progress', sc); var event = mejs.Utils.createEvent('progress', sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
} }
@ -379,22 +251,19 @@ var SoundCloudIframeRenderer = {
}); });
}); });
// give initial events
var initEvents = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay']; var initEvents = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay'];
for (var _i3 = 0, _total3 = initEvents.length; _i3 < _total3; _i3++) { for (var _i3 = 0, _total3 = initEvents.length; _i3 < _total3; _i3++) {
var event = mejs.Utils.createEvent(initEvents[_i3], sc); var event = mejs.Utils.createEvent(initEvents[_i3], sc);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
} }
}; };
// container for API API
scIframe = document.createElement('iframe'); scIframe = document.createElement('iframe');
scIframe.id = sc.id; scIframe.id = sc.id;
scIframe.width = 10; scIframe.width = isVideo ? '100%' : 1;
scIframe.height = 10; scIframe.height = isVideo ? '100%' : 1;
scIframe.frameBorder = 0; scIframe.frameBorder = 0;
scIframe.style.visibility = 'hidden'; scIframe.style.visibility = isVideo ? 'visible' : 'hidden';
scIframe.src = mediaFiles[0].src; scIframe.src = mediaFiles[0].src;
scIframe.scrolling = 'no'; scIframe.scrolling = 'no';
@ -406,7 +275,7 @@ var SoundCloudIframeRenderer = {
id: sc.id id: sc.id
}; };
SoundCloudApi.enqueueIframe(scSettings); SoundCloudApi.load(scSettings);
sc.setSize = function () {}; sc.setSize = function () {};
sc.hide = function () { sc.hide = function () {
@ -428,10 +297,6 @@ var SoundCloudIframeRenderer = {
} }
}; };
/**
* Register SoundCloud type based on URL structure
*
*/
mejs.Utils.typeChecks.push(function (url) { mejs.Utils.typeChecks.push(function (url) {
return (/\/\/(w\.)?soundcloud.com/i.test(url) ? 'video/x-soundcloud' : null return (/\/\/(w\.)?soundcloud.com/i.test(url) ? 'video/x-soundcloud' : null
); );

@ -1,14 +1,4 @@
/*! /*!
* 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/)
* License: MIT
*
*//*!
* MediaElement.js * MediaElement.js
* http://www.mediaelementjs.com/ * http://www.mediaelementjs.com/
* *
@ -19,4 +9,4 @@
* License: MIT * License: MIT
* *
*/ */
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";var d={isSDKStarted:!1,isSDKLoaded:!1,iframeQueue:[],enqueueIframe:function(a){d.isLoaded?d.createIframe(a):(d.loadIframeApi(),d.iframeQueue.push(a))},loadIframeApi:function(){if(!d.isSDKStarted){var a=document.getElementsByTagName("head")[0]||document.documentElement,b=document.createElement("script"),c=!1;b.src="https://w.soundcloud.com/player/api.js",b.onload=b.onreadystatechange=function(){c||d.readyState&&"loaded"!==d.readyState&&"complete"!==d.readyState||(c=!0,d.apiReady(),b.onload=b.onreadystatechange=null,b.remove())},a.appendChild(b),d.isSDKStarted=!0}},apiReady:function(){for(d.isLoaded=!0,d.isSDKLoaded=!0;d.iframeQueue.length>0;){var a=d.iframeQueue.pop();d.createIframe(a)}},createIframe:function(a){var b=SC.Widget(a.iframe);window["__ready__"+a.id](b)}},e={name:"soundcloud_iframe",options:{prefix:"soundcloud_iframe"},canPlayType:function(a){return~["video/soundcloud","video/x-soundcloud"].indexOf(a.toLowerCase())},create:function(a,b,c){var e={},f=[],g=4,h=a.originalNode.autoplay,i=0,j=0,k=0,l=1,m=!1,n=!0,o=!1,p=null,q=null;e.options=b,e.id=a.id+"_"+b.prefix,e.mediaElement=a;for(var r=mejs.html5media.properties,s=function(b){var c=""+b.substring(0,1).toUpperCase()+b.substring(1);e["get"+c]=function(){if(null!==p){var a=null;switch(b){case"currentTime":return j;case"duration":return i;case"volume":return l;case"paused":return n;case"ended":return o;case"muted":return m;case"buffered":return{start:function(){return 0},end:function(){return k*i},length:1};case"src":return q?q.src:"";case"readyState":return g}return a}return null},e["set"+c]=function(c){if(null!==p)switch(b){case"src":var d="string"==typeof c?c:c[0].src;p.load(d),h&&p.play();break;case"currentTime":p.seekTo(1e3*c);break;case"muted":c?p.setVolume(0):p.setVolume(1),setTimeout(function(){var b=mejs.Utils.createEvent("volumechange",e);a.dispatchEvent(b)},50);break;case"volume":p.setVolume(c),setTimeout(function(){var b=mejs.Utils.createEvent("volumechange",e);a.dispatchEvent(b)},50);break;case"readyState":var g=mejs.Utils.createEvent("canplay",e);a.dispatchEvent(g)}else f.push({type:"set",propName:b,value:c})}},t=0,u=r.length;u>t;t++)s(r[t]);for(var v=mejs.html5media.methods,w=function(a){e[a]=function(){if(null!==p)switch(a){case"play":return p.play();case"pause":return p.pause();case"load":return null}else f.push({type:"call",methodName:a})}},x=0,y=v.length;y>x;x++)w(v[x]);window["__ready__"+e.id]=function(b){if(a.scPlayer=p=b,h&&p.play(),f.length)for(var c=0,d=f.length;d>c;c++){var g=f[c];if("set"===g.type){var l=g.propName,m=""+l.substring(0,1).toUpperCase()+l.substring(1);e["set"+m](g.value)}else"call"===g.type&&e[g.methodName]()}p.bind(SC.Widget.Events.PLAY_PROGRESS,function(){n=!1,o=!1,p.getPosition(function(b){j=b/1e3;var c=mejs.Utils.createEvent("timeupdate",e);a.dispatchEvent(c)})}),p.bind(SC.Widget.Events.PAUSE,function(){n=!0;var b=mejs.Utils.createEvent("pause",e);a.dispatchEvent(b)}),p.bind(SC.Widget.Events.PLAY,function(){n=!1,o=!1;var b=mejs.Utils.createEvent("play",e);a.dispatchEvent(b)}),p.bind(SC.Widget.Events.FINISHED,function(){n=!1,o=!0;var b=mejs.Utils.createEvent("ended",e);a.dispatchEvent(b)}),p.bind(SC.Widget.Events.READY,function(){p.getDuration(function(b){i=b/1e3;var c=mejs.Utils.createEvent("loadedmetadata",e);a.dispatchEvent(c)})}),p.bind(SC.Widget.Events.LOAD_PROGRESS,function(){p.getDuration(function(b){if(i>0){k=i*b;var c=mejs.Utils.createEvent("progress",e);a.dispatchEvent(c)}}),p.getDuration(function(b){i=b;var c=mejs.Utils.createEvent("loadedmetadata",e);a.dispatchEvent(c)})});for(var q=["rendererready","loadeddata","loadedmetadata","canplay"],r=0,s=q.length;s>r;r++){var t=mejs.Utils.createEvent(q[r],e);a.dispatchEvent(t)}},q=document.createElement("iframe"),q.id=e.id,q.width=10,q.height=10,q.frameBorder=0,q.style.visibility="hidden",q.src=c[0].src,q.scrolling="no",a.appendChild(q),a.originalNode.style.display="none";var z={iframe:q,id:e.id};return d.enqueueIframe(z),e.setSize=function(){},e.hide=function(){e.pause(),q&&(q.style.display="none")},e.show=function(){q&&(q.style.display="")},e.destroy=function(){p.destroy()},e}};mejs.Utils.typeChecks.push(function(a){return/\/\/(w\.)?soundcloud.com/i.test(a)?"video/x-soundcloud":null}),mejs.Renderers.add(e)},{}]},{},[1]); !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 d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}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={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=null!==e.originalNode&&"video"===e.originalNode.tagName.toLowerCase(),u=0,d=0,c=0,l=!0,p=!1,f=null,v=null;a.options=t,a.id=e.id+"_"+t.prefix,a.mediaElement=e;for(var m=mejs.html5media.properties,h=0,y=m.length;h<y;h++)!function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);a["get"+n]=function(){if(null!==f){switch(t){case"currentTime":return d;case"duration":return u;case"volume":return 1;case"paused":return l;case"ended":return p;case"muted":return!1;case"buffered":return{start:function(){return 0},end:function(){return c*u},length:1};case"src":return v?v.src:"";case"readyState":return 4}return null}return null},a["set"+n]=function(n){if(null!==f)switch(t){case"src":var r="string"==typeof n?n:n[0].src;f.load(r),s&&f.play();break;case"currentTime":f.seekTo(1e3*n);break;case"muted":n?f.setVolume(0):f.setVolume(1),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"volume":f.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})}}(m[h]);for(var E=mejs.html5media.methods,g=0,S=E.length;g<S;g++)!function(e){a[e]=function(){if(null!==f)switch(e){case"play":return f.play();case"pause":return f.pause();case"load":return null}else i.push({type:"call",methodName:e})}}(E[g]);window["__ready__"+a.id]=function(t){if(e.scPlayer=f=t,s&&f.play(),i.length)for(var n=0,r=i.length;n<r;n++){var o=i[n];if("set"===o.type){var v=o.propName,m=""+v.substring(0,1).toUpperCase()+v.substring(1);a["set"+m](o.value)}else"call"===o.type&&a[o.methodName]()}f.bind(SC.Widget.Events.PLAY_PROGRESS,function(){l=!1,p=!1,f.getPosition(function(t){d=t/1e3;var n=mejs.Utils.createEvent("timeupdate",a);e.dispatchEvent(n)})}),f.bind(SC.Widget.Events.PAUSE,function(){l=!0;var t=mejs.Utils.createEvent("pause",a);e.dispatchEvent(t)}),f.bind(SC.Widget.Events.PLAY,function(){l=!1,p=!1;var t=mejs.Utils.createEvent("play",a);e.dispatchEvent(t)}),f.bind(SC.Widget.Events.FINISHED,function(){l=!1,p=!0;var t=mejs.Utils.createEvent("ended",a);e.dispatchEvent(t)}),f.bind(SC.Widget.Events.READY,function(){f.getDuration(function(t){u=t/1e3;var n=mejs.Utils.createEvent("loadedmetadata",a);e.dispatchEvent(n)})}),f.bind(SC.Widget.Events.LOAD_PROGRESS,function(){f.getDuration(function(t){if(u>0){c=u*t;var n=mejs.Utils.createEvent("progress",a);e.dispatchEvent(n)}}),f.getDuration(function(t){u=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)}},(v=document.createElement("iframe")).id=a.id,v.width=o?"100%":1,v.height=o?"100%":1,v.frameBorder=0,v.style.visibility=o?"visible":"hidden",v.src=n[0].src,v.scrolling="no",e.appendChild(v),e.originalNode.style.display="none";var U={iframe:v,id:a.id};return r.load(U),a.setSize=function(){},a.hide=function(){a.pause(),v&&(v.style.display="none")},a.show=function(){v&&(v.style.display="")},a.destroy=function(){f.destroy()},a}};mejs.Utils.typeChecks.push(function(e){return/\/\/(w\.)?soundcloud.com/i.test(e)?"video/x-soundcloud":null}),mejs.Renderers.add(a)},{}]},{},[1]);

@ -11,134 +11,46 @@
*/(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){ */(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'; 'use strict';
/** var TwitchApi = {
* Twitch renderer
*
* Uses <iframe> approach and uses Twitch API to manipulate it.
* @see https://github.com/justintv/Twitch-API/blob/master/embed-video.md
*/
var twitchApi = {
/**
* @type {Boolean}
*/
isIframeStarted: false,
/**
* @type {Boolean}
*/
isIframeLoaded: false,
/**
* @type {Array}
*/
iframeQueue: [],
/**
* Create a queue to prepare the creation of <iframe>
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
enqueueIframe: function enqueueIframe(settings) {
// Check whether Twitch API is already loaded. promise: null,
twitchApi.isLoaded = typeof Twitch !== 'undefined';
if (twitchApi.isLoaded) { load: function load(settings) {
twitchApi.createIframe(settings); if (typeof Twitch !== 'undefined') {
TwitchApi.promise = new Promise(function (resolve) {
resolve();
}).then(function () {
TwitchApi._createPlayer(settings);
});
} else { } else {
twitchApi.loadIframeApi(); TwitchApi.promise = TwitchApi.promise || mejs.Utils.loadScript('https://player.twitch.tv/js/embed/v1.js');
twitchApi.iframeQueue.push(settings); TwitchApi.promise.then(function () {
} TwitchApi._createPlayer(settings);
}, });
/**
* Load Twitch API script on the header of the document
*
*/
loadIframeApi: function loadIframeApi() {
if (!twitchApi.isIframeStarted) {
var script = document.createElement('script'),
firstScriptTag = document.getElementsByTagName('script')[0];
var done = false;
script.src = 'https://player.twitch.tv/js/embed/v1.js';
// Attach handlers for all browsers
script.onload = script.onreadystatechange = function () {
if (!done && (!this.readyState || this.readyState === undefined || this.readyState === 'loaded' || this.readyState === 'complete')) {
done = true;
twitchApi.iFrameReady();
script.onload = script.onreadystatechange = null;
}
};
firstScriptTag.parentNode.insertBefore(script, firstScriptTag);
twitchApi.isIframeStarted = true;
}
},
/**
* Process queue of Twitch <iframe> element creation
*
*/
iFrameReady: function iFrameReady() {
twitchApi.isLoaded = true;
twitchApi.isIframeLoaded = true;
while (twitchApi.iframeQueue.length > 0) {
var settings = twitchApi.iframeQueue.pop();
twitchApi.createIframe(settings);
} }
}, },
/** _createPlayer: function _createPlayer(settings) {
* Create a new instance of Twitch API player and trigger a custom event to initialize it
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
createIframe: function createIframe(settings) {
var player = new Twitch.Player(settings.id, settings); var player = new Twitch.Player(settings.id, settings);
window['__ready__' + settings.id](player); window['__ready__' + settings.id](player);
}, },
/**
* Extract ID from Twitch to be loaded through API
* Valid URL format(s):
* - https://player.twitch.tv/?video=40464143
* - https://www.twitch.tv/40464143
* - https://player.twitch.tv/?channel=monserrat
* - https://www.twitch.tv/monserrat
*
* @param {String} url - Twitch full URL to grab the number Id of the source
* @return {int}
*/
getTwitchId: function getTwitchId(url) { getTwitchId: function getTwitchId(url) {
var twitchId = ''; var twitchId = '';
if (url.indexOf('?') > 0) { if (url.indexOf('?') > 0) {
twitchId = twitchApi.getTwitchIdFromParam(url); twitchId = TwitchApi.getTwitchIdFromParam(url);
if (twitchId === '') { if (twitchId === '') {
twitchId = twitchApi.getTwitchIdFromUrl(url); twitchId = TwitchApi.getTwitchIdFromUrl(url);
} }
} else { } else {
twitchId = twitchApi.getTwitchIdFromUrl(url); twitchId = TwitchApi.getTwitchIdFromUrl(url);
} }
return twitchId; return twitchId;
}, },
/**
* Get ID from URL with format:
* - https://player.twitch.tv/?channel=monserrat
* - https://player.twitch.tv/?video=40464143
*
* @param {String} url
* @returns {string}
*/
getTwitchIdFromParam: function getTwitchIdFromParam(url) { getTwitchIdFromParam: function getTwitchIdFromParam(url) {
if (url === undefined || url === null || !url.trim().length) { if (url === undefined || url === null || !url.trim().length) {
return null; return null;
} }
@ -150,10 +62,10 @@ var twitchApi = {
for (var i = 0, total = parameters.length; i < total; i++) { for (var i = 0, total = parameters.length; i < total; i++) {
var paramParts = parameters[i].split('='); var paramParts = parameters[i].split('=');
if (~paramParts[0].indexOf('channel=')) { if (~paramParts[0].indexOf('channel')) {
twitchId = paramParts[1]; twitchId = paramParts[1];
break; break;
} else if (~paramParts[0].indexOf('video=')) { } else if (~paramParts[0].indexOf('video')) {
twitchId = 'v' + paramParts[1]; twitchId = 'v' + paramParts[1];
break; break;
} }
@ -162,16 +74,7 @@ var twitchApi = {
return twitchId; return twitchId;
}, },
/**
* Get ID from URL with formats:
* - https://www.twitch.tv/40464143
* - https://www.twitch.tv/monserrat
*
* @param {String} url
* @return {?String}
*/
getTwitchIdFromUrl: function getTwitchIdFromUrl(url) { getTwitchIdFromUrl: function getTwitchIdFromUrl(url) {
if (url === undefined || url === null || !url.trim().length) { if (url === undefined || url === null || !url.trim().length) {
return null; return null;
} }
@ -179,55 +82,31 @@ var twitchApi = {
var parts = url.split('?'); var parts = url.split('?');
url = parts[0]; url = parts[0];
var id = url.substring(url.lastIndexOf('/') + 1); var id = url.substring(url.lastIndexOf('/') + 1);
return (/^\d+$/i.test(id) !== null ? 'v' + id : id return (/^\d+$/i.test(id) ? 'v' + id : id
); );
}, },
/**
* Determine whether media is channel or video based on Twitch ID
*
* @see getTwitchId()
* @param {String} id
* @returns {String}
*/
getTwitchType: function getTwitchType(id) { getTwitchType: function getTwitchType(id) {
return (/^v\d+/i.test(id) !== null ? 'video' : 'channel' return (/^v\d+/i.test(id) ? 'video' : 'channel'
); );
} }
}; };
var TwitchIframeRenderer = { var TwitchIframeRenderer = {
name: 'twitch_iframe', name: 'twitch_iframe',
options: { options: {
prefix: 'twitch_iframe' prefix: 'twitch_iframe'
}, },
/**
* Determine if a specific element type can be played with this render
*
* @param {String} type
* @return {Boolean}
*/
canPlayType: function canPlayType(type) { canPlayType: function canPlayType(type) {
return ~['video/twitch', 'video/x-twitch'].indexOf(type.toLowerCase()); return ~['video/twitch', 'video/x-twitch'].indexOf(type.toLowerCase());
}, },
/**
* Create the player instance and add all native events/methods/properties as possible
*
* @param {MediaElement} mediaElement Instance of mejs.MediaElement already created
* @param {Object} options All the player configuration options passed through constructor
* @param {Object[]} mediaFiles List of sources with format: {src: url, type: x/y-z}
* @return {Object}
*/
create: function create(mediaElement, options, mediaFiles) { create: function create(mediaElement, options, mediaFiles) {
// API objects
var twitch = {}, var twitch = {},
apiStack = [], apiStack = [],
readyState = 4, readyState = 4,
twitchId = twitchApi.getTwitchId(mediaFiles[0].src); twitchId = TwitchApi.getTwitchId(mediaFiles[0].src);
var twitchPlayer = null, var twitchPlayer = null,
paused = true, paused = true,
@ -241,43 +120,32 @@ var TwitchIframeRenderer = {
twitch.id = mediaElement.id + '_' + options.prefix; twitch.id = mediaElement.id + '_' + options.prefix;
twitch.mediaElement = mediaElement; twitch.mediaElement = mediaElement;
// wrappers for get/set
var props = mejs.html5media.properties, var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) { assignGettersSetters = function assignGettersSetters(propName) {
// add to flash state that we will store
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1); var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
twitch['get' + capName] = function () { twitch['get' + capName] = function () {
if (twitchPlayer !== null) { if (twitchPlayer !== null) {
var value = null; var value = null;
// figure out how to get Twitch dta here
switch (propName) { switch (propName) {
case 'currentTime': case 'currentTime':
time = twitchPlayer.getCurrentTime(); time = twitchPlayer.getCurrentTime();
return time; return time;
case 'duration': case 'duration':
duration = twitchPlayer.getDuration(); duration = twitchPlayer.getDuration();
return duration; return duration;
case 'volume': case 'volume':
volume = twitchPlayer.getVolume(); volume = twitchPlayer.getVolume();
return volume; return volume;
case 'paused': case 'paused':
paused = twitchPlayer.isPaused(); paused = twitchPlayer.isPaused();
return paused; return paused;
case 'ended': case 'ended':
ended = twitchPlayer.getEnded(); ended = twitchPlayer.getEnded();
return ended; return ended;
case 'muted': case 'muted':
return twitchPlayer.getMuted(); return twitchPlayer.getMuted();
case 'buffered': case 'buffered':
return { return {
start: function start() { start: function start() {
@ -289,9 +157,7 @@ var TwitchIframeRenderer = {
length: 1 length: 1
}; };
case 'src': case 'src':
return TwitchApi.getTwitchType(twitchId) === 'channel' ? twitchPlayer.getChannel() : twitchPlayer.getVideo();
return twitchApi.getTwitchType(twitchId) === 'channel' ? twitchPlayer.getChannel() : twitchPlayer.getVideo();
case 'readyState': case 'readyState':
return readyState; return readyState;
} }
@ -303,23 +169,18 @@ var TwitchIframeRenderer = {
}; };
twitch['set' + capName] = function (value) { twitch['set' + capName] = function (value) {
if (twitchPlayer !== null) { if (twitchPlayer !== null) {
// do something
switch (propName) { switch (propName) {
case 'src': case 'src':
var url = typeof value === 'string' ? value : value[0].src, var url = typeof value === 'string' ? value : value[0].src,
videoId = twitchApi.getTwitchId(url); videoId = TwitchApi.getTwitchId(url);
if (twitchApi.getTwitchType(twitchId) === 'channel') { if (TwitchApi.getTwitchType(twitchId) === 'channel') {
twitchPlayer.setChannel(videoId); twitchPlayer.setChannel(videoId);
} else { } else {
twitchPlayer.setVideo(videoId); twitchPlayer.setVideo(videoId);
} }
break; break;
case 'currentTime': case 'currentTime':
twitchPlayer.seek(value); twitchPlayer.seek(value);
setTimeout(function () { setTimeout(function () {
@ -327,7 +188,6 @@ var TwitchIframeRenderer = {
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'muted': case 'muted':
twitchPlayer.setMuted(value); twitchPlayer.setMuted(value);
setTimeout(function () { setTimeout(function () {
@ -335,7 +195,6 @@ var TwitchIframeRenderer = {
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
break; break;
case 'volume': case 'volume':
volume = value; volume = value;
twitchPlayer.setVolume(value); twitchPlayer.setVolume(value);
@ -348,13 +207,11 @@ var TwitchIframeRenderer = {
var event = mejs.Utils.createEvent('canplay', twitch); var event = mejs.Utils.createEvent('canplay', twitch);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
break; break;
default: default:
break; break;
} }
} else { } else {
// store for after "READY" event fires
apiStack.push({ type: 'set', propName: propName, value: value }); apiStack.push({ type: 'set', propName: propName, value: value });
} }
}; };
@ -364,16 +221,10 @@ var TwitchIframeRenderer = {
assignGettersSetters(props[i]); assignGettersSetters(props[i]);
} }
// add wrappers for native methods
var methods = mejs.html5media.methods, var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) { assignMethods = function assignMethods(methodName) {
// run the method on the native HTMLMediaElement
twitch[methodName] = function () { twitch[methodName] = function () {
if (twitchPlayer !== null) { if (twitchPlayer !== null) {
// DO method
switch (methodName) { switch (methodName) {
case 'play': case 'play':
paused = false; paused = false;
@ -383,7 +234,6 @@ var TwitchIframeRenderer = {
return twitchPlayer.pause(); return twitchPlayer.pause();
case 'load': case 'load':
return null; return null;
} }
} else { } else {
apiStack.push({ type: 'call', methodName: methodName }); apiStack.push({ type: 'call', methodName: methodName });
@ -395,12 +245,6 @@ var TwitchIframeRenderer = {
assignMethods(methods[_i]); assignMethods(methods[_i]);
} }
/**
* Dispatch a list of events
*
* @private
* @param {Array} events
*/
function sendEvents(events) { function sendEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) { for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], twitch); var event = mejs.Utils.createEvent(events[_i2], twitch);
@ -408,15 +252,11 @@ var TwitchIframeRenderer = {
} }
} }
// Initial method to register all Twitch events when initializing <iframe>
window['__ready__' + twitch.id] = function (_twitchPlayer) { window['__ready__' + twitch.id] = function (_twitchPlayer) {
mediaElement.twitchPlayer = twitchPlayer = _twitchPlayer; mediaElement.twitchPlayer = twitchPlayer = _twitchPlayer;
// do call stack
if (apiStack.length) { if (apiStack.length) {
for (var _i3 = 0, _total3 = apiStack.length; _i3 < _total3; _i3++) { for (var _i3 = 0, _total3 = apiStack.length; _i3 < _total3; _i3++) {
var stackItem = apiStack[_i3]; var stackItem = apiStack[_i3];
if (stackItem.type === 'set') { if (stackItem.type === 'set') {
@ -434,11 +274,9 @@ var TwitchIframeRenderer = {
twitchIframe.style.width = '100%'; twitchIframe.style.width = '100%';
twitchIframe.style.height = '100%'; twitchIframe.style.height = '100%';
// a few more events var events = ['mouseover', 'mouseout'],
var events = ['mouseover', 'mouseout']; assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, twitch);
var assignEvents = function assignEvents(e) {
var event = createEvent(e.type, twitch);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}; };
@ -448,13 +286,12 @@ var TwitchIframeRenderer = {
var timer = void 0; var timer = void 0;
// Twitch events twitchPlayer.addEventListener(Twitch.Player.READY, function () {
twitchPlayer.addEventListener('ready', function () {
paused = false; paused = false;
ended = false; ended = false;
sendEvents(['rendererready', 'loadedmetadata', 'loadeddata', 'canplay']); sendEvents(['rendererready', 'loadedmetadata', 'loadeddata', 'canplay']);
}); });
twitchPlayer.addEventListener('play', function () { twitchPlayer.addEventListener(Twitch.Player.PLAY, function () {
if (!hasStartedPlaying) { if (!hasStartedPlaying) {
hasStartedPlaying = true; hasStartedPlaying = true;
} }
@ -462,20 +299,19 @@ var TwitchIframeRenderer = {
ended = false; ended = false;
sendEvents(['play', 'playing', 'progress']); sendEvents(['play', 'playing', 'progress']);
// Workaround to update progress bar
timer = setInterval(function () { timer = setInterval(function () {
twitchPlayer.getCurrentTime(); twitchPlayer.getCurrentTime();
sendEvents(['timeupdate']); sendEvents(['timeupdate']);
}, 250); }, 250);
}); });
twitchPlayer.addEventListener('pause', function () { twitchPlayer.addEventListener(Twitch.Player.PAUSE, function () {
paused = true; paused = true;
ended = false; ended = false;
if (!twitchPlayer.getEnded()) { if (!twitchPlayer.getEnded()) {
sendEvents(['pause']); sendEvents(['pause']);
} }
}); });
twitchPlayer.addEventListener('ended', function () { twitchPlayer.addEventListener(Twitch.Player.ENDED, function () {
paused = true; paused = true;
ended = true; ended = true;
sendEvents(['ended']); sendEvents(['ended']);
@ -485,17 +321,17 @@ var TwitchIframeRenderer = {
}); });
}; };
// CREATE Twitch
var height = mediaElement.originalNode.height, var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width, width = mediaElement.originalNode.width,
twitchContainer = document.createElement('div'), twitchContainer = document.createElement('div'),
type = twitchApi.getTwitchType(twitchId), type = TwitchApi.getTwitchType(twitchId),
twitchSettings = { twitchSettings = {
id: twitch.id, id: twitch.id,
width: width, width: width,
height: height, height: height,
playsinline: false, playsinline: false,
autoplay: mediaElement.originalNode.autoplay autoplay: mediaElement.originalNode.autoplay,
muted: mediaElement.originalNode.muted
}; };
twitchSettings[type] = twitchId; twitchSettings[type] = twitchId;
@ -507,11 +343,8 @@ var TwitchIframeRenderer = {
mediaElement.originalNode.style.display = 'none'; mediaElement.originalNode.style.display = 'none';
mediaElement.originalNode.autoplay = false; mediaElement.originalNode.autoplay = false;
// send it off for async loading and creation
twitchApi.enqueueIframe(twitchSettings);
twitch.setSize = function (width, height) { twitch.setSize = function (width, height) {
if (twitchApi !== null && !isNaN(width) && !isNaN(height)) { if (TwitchApi !== null && !isNaN(width) && !isNaN(height)) {
twitchContainer.setAttribute('width', width); twitchContainer.setAttribute('width', width);
twitchContainer.setAttribute('height', height); twitchContainer.setAttribute('height', height);
} }
@ -525,6 +358,8 @@ var TwitchIframeRenderer = {
}; };
twitch.destroy = function () {}; twitch.destroy = function () {};
TwitchApi.load(twitchSettings);
return twitch; return twitch;
} }
}; };

File diff suppressed because one or more lines are too long

@ -11,151 +11,50 @@
*/(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){ */(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'; 'use strict';
/** var VimeoApi = {
* Vimeo renderer
*
* Uses <iframe> approach and uses Vimeo API to manipulate it.
* All Vimeo calls return a Promise so this renderer accounts for that
* to update all the necessary values to interact with MediaElement player.
* Note: IE8 implements ECMAScript 3 that does not allow bare keywords in dot notation;
* that's why instead of using .catch ['catch'] is being used.
* @see https://github.com/vimeo/player.js
*
*/
var vimeoApi = {
/**
* @type {Boolean}
*/
isIframeStarted: false,
/**
* @type {Boolean}
*/
isIframeLoaded: false,
/**
* @type {Array}
*/
iframeQueue: [],
/**
* Create a queue to prepare the creation of <iframe>
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
enqueueIframe: function enqueueIframe(settings) {
if (vimeoApi.isLoaded) {
vimeoApi.createIframe(settings);
} else {
vimeoApi.loadIframeApi();
vimeoApi.iframeQueue.push(settings);
}
},
/**
* Load Vimeo API script on the header of the document
*
*/
loadIframeApi: function loadIframeApi() {
if (!vimeoApi.isIframeStarted) {
var script = document.createElement('script'),
firstScriptTag = document.getElementsByTagName('script')[0];
var done = false; promise: null,
script.src = 'https://player.vimeo.com/api/player.js'; load: function load(settings) {
// Attach handlers for all browsers if (typeof Vimeo !== 'undefined') {
script.onload = script.onreadystatechange = function () { VimeoApi._createPlayer(settings);
if (!done && (!this.readyState || this.readyState === undefined || this.readyState === 'loaded' || this.readyState === 'complete')) { } else {
done = true; VimeoApi.promise = VimeoApi.promise || mejs.Utils.loadScript('https://player.vimeo.com/api/player.js');
vimeoApi.iFrameReady(); VimeoApi.promise.then(function () {
script.onload = script.onreadystatechange = null; VimeoApi._createPlayer(settings);
} });
};
firstScriptTag.parentNode.insertBefore(script, firstScriptTag);
vimeoApi.isIframeStarted = true;
}
},
/**
* Process queue of Vimeo <iframe> element creation
*
*/
iFrameReady: function iFrameReady() {
vimeoApi.isLoaded = true;
vimeoApi.isIframeLoaded = true;
while (vimeoApi.iframeQueue.length > 0) {
var settings = vimeoApi.iframeQueue.pop();
vimeoApi.createIframe(settings);
} }
}, },
/** _createPlayer: function _createPlayer(settings) {
* Create a new instance of Vimeo API player and trigger a custom event to initialize it
*
* @param {Object} settings - an object with settings needed to create <iframe>
*/
createIframe: function createIframe(settings) {
var player = new Vimeo.Player(settings.iframe); var player = new Vimeo.Player(settings.iframe);
window['__ready__' + settings.id](player); window['__ready__' + settings.id](player);
}, },
/**
* Extract numeric value from Vimeo to be loaded through API
* Valid URL format(s):
* - https://player.vimeo.com/video/59777392
* - https://vimeo.com/59777392
*
* @param {String} url - Vimeo full URL to grab the number Id of the source
* @return {int}
*/
getVimeoId: function getVimeoId(url) { getVimeoId: function getVimeoId(url) {
if (url === undefined || url === null) { if (url === undefined || url === null) {
return null; return null;
} }
var parts = url.split('?'); var parts = url.split('?');
url = parts[0]; url = parts[0];
return parseInt(url.substring(url.lastIndexOf('/') + 1), 10);
return parseInt(url.substring(url.lastIndexOf('/') + 1));
} }
}; };
var vimeoIframeRenderer = { var vimeoIframeRenderer = {
name: 'vimeo_iframe', name: 'vimeo_iframe',
options: { options: {
prefix: 'vimeo_iframe' prefix: 'vimeo_iframe'
}, },
/**
* Determine if a specific element type can be played with this render
*
* @param {String} type
* @return {Boolean}
*/
canPlayType: function canPlayType(type) { canPlayType: function canPlayType(type) {
return ~['video/vimeo', 'video/x-vimeo'].indexOf(type.toLowerCase()); return ~['video/vimeo', 'video/x-vimeo'].indexOf(type.toLowerCase());
}, },
/**
* Create the player instance and add all native events/methods/properties as possible
*
* @param {MediaElement} mediaElement Instance of mejs.MediaElement already created
* @param {Object} options All the player configuration options passed through constructor
* @param {Object[]} mediaFiles List of sources with format: {src: url, type: x/y-z}
* @return {Object}
*/
create: function create(mediaElement, options, mediaFiles) { create: function create(mediaElement, options, mediaFiles) {
// exposed object
var apiStack = [], var apiStack = [],
vimeo = {}, vimeo = {},
readyState = 4; readyState = 4;
@ -174,20 +73,10 @@ var vimeoIframeRenderer = {
vimeo.id = mediaElement.id + '_' + options.prefix; vimeo.id = mediaElement.id + '_' + options.prefix;
vimeo.mediaElement = mediaElement; vimeo.mediaElement = mediaElement;
/** var errorHandler = function errorHandler(error) {
* Generate custom errors for Vimeo based on the API specifications mediaElement.generateError('Code ' + error.name + ': ' + error.message, mediaFiles);
*
* @see https://github.com/vimeo/player.js#error
* @param {Object} error
* @param {Object} target
*/
var errorHandler = function errorHandler(error, target) {
var event = mejs.Utils.createEvent('error', target);
event.message = error.name + ': ' + error.message;
mediaElement.dispatchEvent(event);
}; };
// wrappers for get/set
var props = mejs.html5media.properties, var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) { assignGettersSetters = function assignGettersSetters(propName) {
@ -200,10 +89,8 @@ var vimeoIframeRenderer = {
switch (propName) { switch (propName) {
case 'currentTime': case 'currentTime':
return currentTime; return currentTime;
case 'duration': case 'duration':
return duration; return duration;
case 'volume': case 'volume':
return volume; return volume;
case 'muted': case 'muted':
@ -212,12 +99,12 @@ var vimeoIframeRenderer = {
return paused; return paused;
case 'ended': case 'ended':
return ended; return ended;
case 'src': case 'src':
vimeoPlayer.getVideoUrl().then(function (_url) { vimeoPlayer.getVideoUrl().then(function (_url) {
url = _url; url = _url;
}).catch(function (error) {
return errorHandler(error);
}); });
return url; return url;
case 'buffered': case 'buffered':
return { return {
@ -232,7 +119,6 @@ var vimeoIframeRenderer = {
case 'readyState': case 'readyState':
return readyState; return readyState;
} }
return value; return value;
} else { } else {
return null; return null;
@ -240,25 +126,20 @@ var vimeoIframeRenderer = {
}; };
vimeo['set' + capName] = function (value) { vimeo['set' + capName] = function (value) {
if (vimeoPlayer !== null) { if (vimeoPlayer !== null) {
// do something
switch (propName) { switch (propName) {
case 'src': case 'src':
var _url2 = typeof value === 'string' ? value : value[0].src, var _url2 = typeof value === 'string' ? value : value[0].src,
videoId = vimeoApi.getVimeoId(_url2); videoId = VimeoApi.getVimeoId(_url2);
vimeoPlayer.loadVideo(videoId).then(function () { vimeoPlayer.loadVideo(videoId).then(function () {
if (mediaElement.originalNode.autoplay) { if (mediaElement.originalNode.autoplay) {
vimeoPlayer.play(); vimeoPlayer.play();
} }
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
break; break;
case 'currentTime': case 'currentTime':
vimeoPlayer.setCurrentTime(value).then(function () { vimeoPlayer.setCurrentTime(value).then(function () {
currentTime = value; currentTime = value;
@ -266,11 +147,10 @@ var vimeoIframeRenderer = {
var event = mejs.Utils.createEvent('timeupdate', vimeo); var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
break; break;
case 'volume': case 'volume':
vimeoPlayer.setVolume(value).then(function () { vimeoPlayer.setVolume(value).then(function () {
volume = value; volume = value;
@ -279,14 +159,13 @@ var vimeoIframeRenderer = {
var event = mejs.Utils.createEvent('volumechange', vimeo); var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
break; break;
case 'loop': case 'loop':
vimeoPlayer.setLoop(value)['catch'](function (error) { vimeoPlayer.setLoop(value).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
break; break;
case 'muted': case 'muted':
@ -297,8 +176,8 @@ var vimeoIframeRenderer = {
var event = mejs.Utils.createEvent('volumechange', vimeo); var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
} else { } else {
vimeoPlayer.setVolume(oldVolume).then(function () { vimeoPlayer.setVolume(oldVolume).then(function () {
@ -307,8 +186,8 @@ var vimeoIframeRenderer = {
var event = mejs.Utils.createEvent('volumechange', vimeo); var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}, 50); }, 50);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
} }
break; break;
@ -321,7 +200,6 @@ var vimeoIframeRenderer = {
break; break;
} }
} else { } else {
// store for after "READY" event fires
apiStack.push({ type: 'set', propName: propName, value: value }); apiStack.push({ type: 'set', propName: propName, value: value });
} }
}; };
@ -331,14 +209,10 @@ var vimeoIframeRenderer = {
assignGettersSetters(props[i]); assignGettersSetters(props[i]);
} }
// add wrappers for native methods
var methods = mejs.html5media.methods, var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) { assignMethods = function assignMethods(methodName) {
vimeo[methodName] = function () { vimeo[methodName] = function () {
if (vimeoPlayer !== null) { if (vimeoPlayer !== null) {
// DO method
switch (methodName) { switch (methodName) {
case 'play': case 'play':
paused = false; paused = false;
@ -348,7 +222,6 @@ var vimeoIframeRenderer = {
return vimeoPlayer.pause(); return vimeoPlayer.pause();
case 'load': case 'load':
return null; return null;
} }
} else { } else {
apiStack.push({ type: 'call', methodName: methodName }); apiStack.push({ type: 'call', methodName: methodName });
@ -360,15 +233,12 @@ var vimeoIframeRenderer = {
assignMethods(methods[_i]); assignMethods(methods[_i]);
} }
// Initial method to register all Vimeo events when initializing <iframe>
window['__ready__' + vimeo.id] = function (_vimeoPlayer) { window['__ready__' + vimeo.id] = function (_vimeoPlayer) {
mediaElement.vimeoPlayer = vimeoPlayer = _vimeoPlayer; mediaElement.vimeoPlayer = vimeoPlayer = _vimeoPlayer;
// do call stack
if (apiStack.length) { if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) { for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2]; var stackItem = apiStack[_i2];
if (stackItem.type === 'set') { if (stackItem.type === 'set') {
@ -382,10 +252,14 @@ var vimeoIframeRenderer = {
} }
} }
if (mediaElement.originalNode.muted) {
vimeoPlayer.setVolume(0);
volume = 0;
}
var vimeoIframe = document.getElementById(vimeo.id); var vimeoIframe = document.getElementById(vimeo.id);
var events = void 0; var events = void 0;
// a few more events
events = ['mouseover', 'mouseout']; events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) { var assignEvents = function assignEvents(e) {
@ -397,47 +271,50 @@ var vimeoIframeRenderer = {
vimeoIframe.addEventListener(events[_i3], assignEvents, false); vimeoIframe.addEventListener(events[_i3], assignEvents, false);
} }
// Vimeo events
vimeoPlayer.on('loaded', function () { vimeoPlayer.on('loaded', function () {
vimeoPlayer.getDuration().then(function (loadProgress) { vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress; duration = loadProgress;
if (duration > 0) { if (duration > 0) {
bufferedTime = duration * loadProgress; bufferedTime = duration * loadProgress;
} if (mediaElement.originalNode.autoplay) {
paused = false;
var event = mejs.Utils.createEvent('loadedmetadata', vimeo); ended = false;
var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
})['catch'](function (error) { }
}
}).catch(function (error) {
errorHandler(error, vimeo); errorHandler(error, vimeo);
}); });
}); });
vimeoPlayer.on('progress', function () { vimeoPlayer.on('progress', function () {
vimeoPlayer.getDuration().then(function (loadProgress) { vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress; duration = loadProgress;
if (duration > 0) { if (duration > 0) {
bufferedTime = duration * loadProgress; bufferedTime = duration * loadProgress;
if (mediaElement.originalNode.autoplay) {
var initEvent = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(initEvent);
var playingEvent = mejs.Utils.createEvent('playing', vimeo);
mediaElement.dispatchEvent(playingEvent);
}
} }
var event = mejs.Utils.createEvent('progress', vimeo); var event = mejs.Utils.createEvent('progress', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
}); });
vimeoPlayer.on('timeupdate', function () { vimeoPlayer.on('timeupdate', function () {
vimeoPlayer.getCurrentTime().then(function (seconds) { vimeoPlayer.getCurrentTime().then(function (seconds) {
currentTime = seconds; currentTime = seconds;
var event = mejs.Utils.createEvent('timeupdate', vimeo); var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
})['catch'](function (error) { }).catch(function (error) {
errorHandler(error, vimeo); return errorHandler(error);
}); });
}); });
vimeoPlayer.on('play', function () { vimeoPlayer.on('play', function () {
@ -445,6 +322,9 @@ var vimeoIframeRenderer = {
ended = false; ended = false;
var event = mejs.Utils.createEvent('play', vimeo); var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
var playingEvent = mejs.Utils.createEvent('playing', vimeo);
mediaElement.dispatchEvent(playingEvent);
}); });
vimeoPlayer.on('pause', function () { vimeoPlayer.on('pause', function () {
paused = true; paused = true;
@ -461,8 +341,7 @@ var vimeoIframeRenderer = {
mediaElement.dispatchEvent(event); mediaElement.dispatchEvent(event);
}); });
// give initial events events = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
events = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay'];
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) { for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
var event = mejs.Utils.createEvent(events[_i4], vimeo); var event = mejs.Utils.createEvent(events[_i4], vimeo);
@ -473,23 +352,29 @@ var vimeoIframeRenderer = {
var height = mediaElement.originalNode.height, var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width, width = mediaElement.originalNode.width,
vimeoContainer = document.createElement('iframe'), vimeoContainer = document.createElement('iframe'),
standardUrl = '//player.vimeo.com/video/' + vimeoApi.getVimeoId(mediaFiles[0].src), standardUrl = 'https://player.vimeo.com/video/' + VimeoApi.getVimeoId(mediaFiles[0].src);
queryArgs = ~mediaFiles[0].src.indexOf('?') ? '?' + mediaFiles[0].src.slice(mediaFiles[0].src.indexOf('?') + 1) : '';
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';
}
// Create Vimeo <iframe> markup
vimeoContainer.setAttribute('id', vimeo.id); vimeoContainer.setAttribute('id', vimeo.id);
vimeoContainer.setAttribute('width', width); vimeoContainer.setAttribute('width', width);
vimeoContainer.setAttribute('height', height); vimeoContainer.setAttribute('height', height);
vimeoContainer.setAttribute('frameBorder', '0'); vimeoContainer.setAttribute('frameBorder', '0');
vimeoContainer.setAttribute('src', '' + standardUrl + queryArgs); vimeoContainer.setAttribute('src', '' + standardUrl + queryArgs);
vimeoContainer.setAttribute('webkitallowfullscreen', ''); vimeoContainer.setAttribute('webkitallowfullscreen', 'true');
vimeoContainer.setAttribute('mozallowfullscreen', ''); vimeoContainer.setAttribute('mozallowfullscreen', 'true');
vimeoContainer.setAttribute('allowfullscreen', ''); vimeoContainer.setAttribute('allowfullscreen', 'true');
mediaElement.originalNode.parentNode.insertBefore(vimeoContainer, mediaElement.originalNode); mediaElement.originalNode.parentNode.insertBefore(vimeoContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none'; mediaElement.originalNode.style.display = 'none';
vimeoApi.enqueueIframe({ VimeoApi.load({
iframe: vimeoContainer, iframe: vimeoContainer,
id: vimeo.id id: vimeo.id
}); });
@ -510,15 +395,12 @@ var vimeoIframeRenderer = {
} }
}; };
vimeo.destroy = function () {};
return vimeo; return vimeo;
} }
}; };
/**
* Register Vimeo type based on URL structure
*
*/
mejs.Utils.typeChecks.push(function (url) { mejs.Utils.typeChecks.push(function (url) {
return (/(\/\/player\.vimeo|vimeo\.com)/i.test(url) ? 'video/x-vimeo' : null return (/(\/\/player\.vimeo|vimeo\.com)/i.test(url) ? 'video/x-vimeo' : null
); );

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save