Actualización

This commit is contained in:
Xes
2025-04-10 11:37:29 +02:00
parent 4bfeadb360
commit 8969cc929d
39112 changed files with 975884 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
"name": "mediaelement",
"homepage": "https://github.com/mediaelement/mediaelement",
"description": "HTML5 <video> and <audio> made easy.",
"moduleType": [
"globals"
],
"keywords": [
"html5",
"video",
"audio",
"shim"
],
"license": "MIT",
"ignore": [
"**",
"!/build/**",
"!/bower.json",
"!/README*",
"!/changelog*"
],
"main": [
"./build/mediaelement-and-player.js",
"./build/mediaelementplayer.css"
],
"version": "4.2.16",
"_release": "4.2.16",
"_resolution": {
"type": "version",
"tag": "4.2.16",
"commit": "80b658fc7e9f125659b9a7b1a6284c8fba2a244e"
},
"_source": "https://github.com/johndyer/mediaelement.git",
"_target": "^4.2.16",
"_originalSource": "mediaelement"
}

View File

@@ -0,0 +1,127 @@
# ![MediaElementJS](https://cloud.githubusercontent.com/assets/910829/22357262/e6cf32b4-e404-11e6-876b-59afa009f65c.png)
One file. Any browser. Same UI.
* Author: John Dyer [http://j.hn/](http://j.hn/)
* Website: [http://mediaelementjs.com/](http://mediaelementjs.com/)
* License: [MIT](http://mediaelement.mit-license.org/)
* Meaning: Use everywhere, keep copyright, it'd be swell if you'd link back here.
* Thanks: my employer, [Dallas Theological Seminary](http://www.dts.edu/)
* Contributors: [all contributors](https://github.com/mediaelement/mediaelement/graphs/contributors)
[![GitHub Version](https://img.shields.io/npm/v/mediaelement.svg)](https://github.com/mediaelement/mediaelement)
[![Build Status](https://img.shields.io/travis/mediaelement/mediaelement.svg)](https://travis-ci.org/mediaelement/mediaelement)
[![Coverage Status](https://img.shields.io/coveralls/mediaelement/mediaelement.svg)](https://coveralls.io/github/mediaelement/mediaelement)
[![MIT License](https://img.shields.io/npm/l/mediaelement.svg)](https://mediaelement.mit-license.org/)
[![CDNJS](https://img.shields.io/cdnjs/v/mediaelement.svg)](https://cdnjs.com/libraries/mediaelement)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/mediaelement/badge?style=rounded)](https://www.jsdelivr.com/package/npm/mediaelement)
# Table of Contents
* [Introduction](#intro)
* [Migrating from `2.x` to `4.x` version](#migration)
* [Installation and Usage](#installation)
* [API and Configuration](#api)
* [Guidelines for Contributors](#guidelines)
* [Change Log](#changelog)
* [TODO list](#todo)
<a id="intro"></a>
## Introduction
_MediaElementPlayer: HTML5 `<video>` and `<audio>` player_
A complete HTML/CSS audio/video player built on top `MediaElement.js`. Many great HTML5 players have a completely separate Flash UI in fallback mode, but MediaElementPlayer.js uses the same HTML/CSS for all players.
`MediaElement.js` is a set of custom Flash plugins that mimic the HTML5 MediaElement API for browsers that don't support HTML5 or don't support the media codecs you're using.
Instead of using Flash as a _fallback_, Flash is used to make the browser seem HTML5 compliant and enable codecs like H.264 (via Flash) on all browsers.
In general, `MediaElement.js` supports **IE11+, MS Edge, Chrome, Firefox, Safari, iOS 8+** and **Android 4.0+**.
**It is strongly recommended to read the entire documentation and check the `demo` folder to get the most out of this package**. Visit [here](docs) to start.
## * IMPORTANT NOTE for Safari users (Jun 8, 2017)
Since Sierra version, `autoplay` policies have changed. You may experience an error if you try to execute `play` programmatically or via `autoplay` attribute with MediaElement, unless `muted` attribute is specified.
For more information, read https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
## * IMPORTANT CHANGES on `4.2.0` version
As part of the continuous improvements the player, we have decided to drop completely support for IE9 and IE10, since market share of those browsers together is 0.4%, according to http://caniuse.com/usage-table.
This change is for `MediaElement` and `MediaElement Plugins` repositories.
<a id="migration"></a>
## * IMPORTANT: Migrating from `2.x` to `4.x` version
**NOTE:** `3.x` version has jQuery in the code base, and `4.x` is framework-agnostic. So for either `3.x` or `4.x` versions, the following steps are valid, but it is highly recommended to upgrade to `4.x`.
In order to successfully install `4.x` in an existing setup, you must consider the following guidelines:
1. If your installation relies on the legacy player classes (i.e., `mejs-player`, `mejs-container`, etc.), you **must** set up the proper namespace. In `2.x`, the default namespace is `mejs-` but now is `mejs__`. In order to set up a new namespace (or the legacy one), use the `classPrefix` configuration, and make sure you use the `mediaelementplayer-legacy` stylesheet provided in the `/build/` folder.
2. By default, `MediaElement` has bundled native renderers, such as HLS, M(PEG)-DASH and FLV, as well as YouTube and Flash shims. **If you want to use any other renderer, you MUST refer to the `build/renderers` folder and add as many as you want**. Check `demo/index.html` for a better reference.
3. You **must** set up now the path for the Flash shims if they are not in the same folder as the JS files. To do this, set the path via the `pluginPath` configuration. In the same topic, if you need to support browsers with JavaScript disabled, you **must** reference the correct Flash shim, since in `2.x` there was only a single Flash shim and in `3.x` it was split to target specific media types. Check the [Browsers with JavaScript disabled](docs/installation.md#disabled-javascript) section for more details.
4. If you want to use Flash shims from a CDN, do the change related to `pluginPath` setting the CDN's URL, and also setting `shimScriptAccess` configuration as **`always`**.
5. If you need to force the Flash shim, the way to do it in `3.x` version is to use the `renderers` configuration and list them in an array.
6. `pluginType` was removed to favor `rendererName`. If you rely on that element, just create conditionals based on the renderer ID (all listed [here](docs/usage.md#renderers-list)). For example:
```javascript
$('video, audio').mediaelementplayer({
// Configuration
success: function(media) {
var isNative = /html5|native/i.test(media.rendererName);
var isYoutube = ~media.rendererName.indexOf('youtube');
// etc.
}
});
```
<a id="installation"></a>
## Installation and Usage
The full documentation on how to install `MediaElement.js` is available at [Installation](docs/installation.md).
A brief guide on how to create and use instances of `MediaElement` available at [Usage](docs/usage.md).
Additional features can be found at https://github.com/mediaelement/mediaelement-plugins.
<a id="api"></a>
## API and Configuration
`MediaElement.js` has many options that you can take advantage from. Visit [API and Configuration](docs/api.md) for more details.
Also, a `Utilities/Features` guide is available for development. Visit [Utilities/Features](docs/utils.md) for more details.
<a id="guidelines"></a>
## Guidelines for Contributors
If you want to contribute to improve this package, please read [Guidelines](docs/guidelines.md).
**NOTE**: If you would like to contribute with translations, make sure that you also check https://github.com/mediaelement/mediaelement-plugins, and perform the
translations for the files suffixed as `-i18n`.
<a id="sources"></a>
## Useful resources
A compilation of useful articles can be found [here](docs/resources.md).
<a id="changelog"></a>
## Change Log
Changes available at [Change Log](changelog.md).
<a id="todo"></a>
## TODO list
**IMPORTANT:** Before posting an issue, it is strongly encouraged to read the whole documentation since it covers the majority of scenarios exposed in prior issues.
New features and pending bugs can be found at [TODO list](TODO.md).

View File

@@ -0,0 +1,26 @@
{
"name": "mediaelement",
"homepage": "https://github.com/mediaelement/mediaelement",
"description": "HTML5 <video> and <audio> made easy.",
"moduleType": [
"globals"
],
"keywords": [
"html5",
"video",
"audio",
"shim"
],
"license": "MIT",
"ignore": [
"**",
"!/build/**",
"!/bower.json",
"!/README*",
"!/changelog*"
],
"main": [
"./build/mediaelement-and-player.js",
"./build/mediaelementplayer.css"
]
}

View File

@@ -0,0 +1,89 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Catalan
*
* @author
* Tongro
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ca === undefined) {
exports.ca = {
'mejs.plural-form': 1,
'mejs.download-file': 'Descarregar arxiu',
'mejs.install-flash': '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.play': 'Reproducció',
'mejs.pause': 'Pausa',
'mejs.time-slider': 'Control lliscant de temps',
'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' : 'Transmissió en directe',
'mejs.volume-help-text': 'Utilitzeu les tecles de fletxa amunt / avall per augmentar o disminuir el volum.',
'mejs.unmute': 'Reactivar silenci',
'mejs.mute': 'Silenci',
'mejs.volume-slider': 'Control deslizador de volum',
'mejs.video-player': 'Reproductor de vídeo',
'mejs.audio-player': 'Reproductor d\'àudio',
'mejs.captions-subtitles': 'Llegendes/Subtítols',
'mejs.captions-chapters': 'Capítols',
'mejs.none': 'Ningú',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albanès',
'mejs.arabic': 'Àrab',
'mejs.belarusian': 'Bielorús',
'mejs.bulgarian': 'Búlgar',
'mejs.catalan': 'Català',
'mejs.chinese': 'Xinès',
'mejs.chinese-simplified': 'Xinès (Simplificat)',
'mejs.chinese-traditional': 'Xinès (Tradicional)',
'mejs.croatian': 'Croat',
'mejs.czech': 'Txec',
'mejs.danish': 'Danès',
'mejs.dutch': 'Holandès',
'mejs.english': 'Anglès',
'mejs.estonian': 'Estonià',
'mejs.filipino': 'Filipí',
'mejs.finnish': 'Finlandès',
'mejs.french': 'Francès',
'mejs.galician': 'Gallec',
'mejs.german': 'Alemany',
'mejs.greek': 'Grec',
'mejs.haitian-creole': 'Crioll haitià',
'mejs.hebrew': 'Hebreu',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Hongarès',
'mejs.icelandic': 'Islandès',
'mejs.indonesian': 'Indonesi',
'mejs.irish': 'Irlandès',
'mejs.italian': 'Italià',
'mejs.japanese': 'Japonès',
'mejs.korean': 'Coreà',
'mejs.latvian': 'Letó',
'mejs.lithuanian': 'Lituà',
'mejs.macedonian': 'Macedoni',
'mejs.malay': 'Malai',
'mejs.maltese': 'Maltès',
'mejs.norwegian': 'Noruec',
'mejs.persian': 'Persa',
'mejs.polish': 'Polonès',
'mejs.portuguese': 'Portuguès',
'mejs.romanian': 'Romanès',
'mejs.russian': 'Rus',
'mejs.serbian': 'Serbi',
'mejs.slovak': 'Eslovac',
'mejs.slovenian': 'Eslovè',
'mejs.spanish': 'Espanyol',
'mejs.swahili': 'Suahili',
'mejs.swedish': 'Suec',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turc',
'mejs.ukrainian': 'Ucraïnès',
'mejs.vietnamese': 'Vietnamita',
'mejs.welsh': 'Gal·lès',
'mejs.yiddish': 'Yiddish'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Czech
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.cs === undefined) {
exports.cs = {
'mejs.plural-form': 8,
'mejs.download-file': 'Stáhnout soubor',
'mejs.install-flash': '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.play': 'Přehrát',
'mejs.pause': 'Pozastavit',
'mejs.time-slider': 'Posuvný běžec nastavení času',
'mejs.time-help-text': 'Použijte tlačítka se šipkami doleva / doprava pro posun o jednu vteřinu, tlačítka se šipkami nahoru / dolů pro posun o deset vteřin.',
'mejs.live-broadcast' : 'Živé vysílání',
'mejs.volume-help-text': 'Použijte tlačítka se šipkami nahoru / dolů pro zesílení nebo zeslabení hlasitosti.',
'mejs.unmute': 'Zapnout zvuk',
'mejs.mute': 'Vypnout zvuk',
'mejs.volume-slider': 'Posuvný běžec nastavení hlasitosti',
'mejs.video-player': 'Přehrávač videa',
'mejs.audio-player': 'Přehrávač hudby',
'mejs.captions-subtitles': 'Titulky',
'mejs.captions-chapters': 'Kapitoly',
'mejs.none': 'Žádný',
'mejs.afrikaans': 'Afrikánština',
'mejs.albanian': 'Albánský',
'mejs.arabic': 'Arabština',
'mejs.belarusian': 'Běloruské',
'mejs.bulgarian': 'Bulharský',
'mejs.catalan': 'Katalánština',
'mejs.chinese': 'čínština',
'mejs.chinese-simplified': 'Zjednodušená čínština)',
'mejs.chinese-traditional': 'Čínština (tradiční)',
'mejs.croatian': 'Chorvatský',
'mejs.czech': 'čeština',
'mejs.danish': 'Dánština',
'mejs.dutch': 'Holandský',
'mejs.english': 'Angličtina',
'mejs.estonian': 'Estonština',
'mejs.filipino': 'Filipino',
'mejs.finnish': 'Finština',
'mejs.french': 'Francouzština',
'mejs.galician': 'Galicijština',
'mejs.german': 'Němec',
'mejs.greek': 'řecký',
'mejs.haitian-creole': 'Haitian kreolský',
'mejs.hebrew': 'Hebrejština',
'mejs.hindi': 'Hindština',
'mejs.hungarian': 'Maďarský',
'mejs.icelandic': 'Islandský',
'mejs.indonesian': 'Indonéština',
'mejs.irish': 'Irština',
'mejs.italian': 'Italština',
'mejs.japanese': 'Japonský',
'mejs.korean': 'Korejština',
'mejs.latvian': 'Lotyšský',
'mejs.lithuanian': 'Lithuanian',
'mejs.macedonian': 'Makedonština',
'mejs.malay': 'Malay',
'mejs.maltese': 'Maltština',
'mejs.norwegian': 'Norština',
'mejs.persian': 'Peršan',
'mejs.polish': 'Polština',
'mejs.portuguese': 'Portugalština',
'mejs.romanian': 'Rumunština',
'mejs.russian': 'Ruština',
'mejs.serbian': 'Srbština',
'mejs.slovak': 'Slovák',
'mejs.slovenian': 'Slovinský',
'mejs.spanish': 'španělština',
'mejs.swahili': 'Svahilský',
'mejs.swedish': 'švédský',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thajština',
'mejs.turkish': 'Turečtina',
'mejs.ukrainian': 'Ukrajinština',
'mejs.vietnamese': 'Vietnamština',
'mejs.welsh': 'Velština',
'mejs.yiddish': 'Jidiš'
};
}
})(mejs.i18n);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Hungarian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.hu === undefined) {
exports.hu = {
'mejs.plural-form': 1,
'mejs.download-file': 'Fájl letöltése',
'mejs.install-flash': '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.play': 'Lejátszás',
'mejs.pause': 'Szünet',
'mejs.time-slider': 'Idő csúszka',
'mejs.time-help-text': 'Használja a Bal/Jobb nyíl gombokat az egy másodperces léptetéshez, a Fel/Le nyíl gombokat a tíz másodperces léptetéshez.',
'mejs.live-broadcast' : 'É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.unmute': 'Némítás feloldása',
'mejs.mute': 'Némítás',
'mejs.volume-slider': 'Hangerőcsúszka',
'mejs.video-player': 'Videolejátszó',
'mejs.audio-player': 'Audiolejátszó',
'mejs.captions-subtitles': 'Képaláírás/Feliratok',
'mejs.captions-chapters': 'Fejezetek',
'mejs.none': 'Nincs',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albán',
'mejs.arabic': 'Arab',
'mejs.belarusian': 'Belorusz',
'mejs.bulgarian': 'Bolgár',
'mejs.catalan': 'Katalán',
'mejs.chinese': 'Kínai',
'mejs.chinese-simplified': 'Kínai (Egyszerűsített)',
'mejs.chinese-traditional': 'Kínai (Hagyományos)',
'mejs.croatian': 'Horvát',
'mejs.czech': 'Cseh',
'mejs.danish': 'Dán',
'mejs.dutch': 'Holland',
'mejs.english': 'Angol',
'mejs.estonian': 'Észt',
'mejs.filipino': 'Filippínó',
'mejs.finnish': 'Finn',
'mejs.french': 'Francia',
'mejs.galician': 'Galíciai',
'mejs.german': 'Német',
'mejs.greek': 'Görög',
'mejs.haitian-creole': 'Haiti Kreol',
'mejs.hebrew': 'Héber',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Magyar',
'mejs.icelandic': 'Izlandi',
'mejs.indonesian': 'Indonéz',
'mejs.irish': 'Ír',
'mejs.italian': 'Olasz',
'mejs.japanese': 'Japán',
'mejs.korean': 'Koreai',
'mejs.latvian': 'Lett',
'mejs.lithuanian': 'Litván',
'mejs.macedonian': 'Macedóniai',
'mejs.malay': 'Maláj',
'mejs.maltese': 'Máltai',
'mejs.norwegian': 'Norvég',
'mejs.persian': 'Perzsa',
'mejs.polish': 'Lengyel',
'mejs.portuguese': 'Portugál',
'mejs.romanian': 'Román',
'mejs.russian': 'Orosz',
'mejs.serbian': 'Szerb',
'mejs.slovak': 'Szlovák',
'mejs.slovenian': 'Szlovén',
'mejs.spanish': 'Spanyol',
'mejs.swahili': 'Szuahéli',
'mejs.swedish': 'Svéd',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Török',
'mejs.ukrainian': 'Ukrán',
'mejs.vietnamese': 'Vietnami',
'mejs.welsh': 'Walesi',
'mejs.yiddish': 'Jiddis'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Italian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha 'SoftCreatR' Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.it === undefined) {
exports.it = {
'mejs.plural-form': 1,
'mejs.download-file': 'Scaricare il file',
'mejs.install-flash': '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.play': 'Eseguire',
'mejs.pause': 'Pausa',
'mejs.time-slider': 'Barra di scorrimento',
'mejs.time-help-text': 'Utilizzare i tasti Freccia sinistra/Freccia destra per avanzare di un secondo, Freccia Su/Giù per avanzare dieci secondi.',
'mejs.live-broadcast' : 'Trasmissione in diretta',
'mejs.volume-help-text': 'Utilizzare i tasti Freccia Su/Giù per aumentare o diminuire il volume.',
'mejs.unmute': 'Disattivare muto',
'mejs.mute': 'Muto',
'mejs.volume-slider': 'Barra del volume',
'mejs.video-player': 'Lettore Video',
'mejs.audio-player': 'Lettore Audio',
'mejs.captions-subtitles': 'Acquisizioni/sottotitoli',
'mejs.captions-chapters': 'Capitoli',
'mejs.none': 'Nessuno',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albanese',
'mejs.arabic': 'Arabo',
'mejs.belarusian': 'Bielorusso',
'mejs.bulgarian': 'Bulgaro',
'mejs.catalan': 'Catalano',
'mejs.chinese': 'Cinese',
'mejs.chinese-semplificato': 'Cinese (Semplificato)',
'mejs.chinese-traditional': 'Cinese (Tradizionale)',
'mejs.croatian': 'Croato',
'mejs.czech': 'Ceco',
'mejs.danish': 'Danese',
'mejs.dutch': 'Olandese',
'mejs.english': 'Inglese',
'mejs.estonian': 'Estone',
'mejs.filipino': 'Filippino',
'mejs.finnish': 'Finlandese',
'mejs.french': 'Francese',
'mejs.galician': 'Galiziano',
'mejs.german': 'Tedesco',
'mejs.greek': 'Greco',
'mejs.haitian-creole': 'Creolo Haitiano',
'mejs.hebrew': 'Ebraico',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Ungherese',
'mejs.icelandic': 'Islandese',
'mejs.indonesian': 'Indonesiano',
'mejs.irish': 'Irlandese',
'mejs.italian': 'Italiano',
'mejs.japanese': 'Giapponese',
'mejs.korean': 'Coreano',
'mejs.latvian': 'Lettone',
'mejs.lithuanian': 'Lituano',
'mejs.macedonian': 'Macedone',
'mejs.malay': 'Malay',
'mejs.maltese': 'Maltese',
'mejs.norwegian': 'Norvegese',
'mejs.persian': 'Persiano',
'mejs.polish': 'Polacco',
'mejs.portuguese': 'Portoghese',
'mejs.romanian': 'Rumeno',
'mejs.russian': 'Russo',
'mejs.serbian': 'Serbo',
'mejs.slovak': 'Slovacco',
'mejs.slovenian': 'Sloveno',
'mejs.spanish': 'Spagnolo',
'mejs.swahili': 'Swahili',
'mejs.swedish': 'Svedese',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turco',
'mejs.ukrainian': 'Ucraino',
'mejs.vietnamese': 'Vietnamita',
'mejs.welsh': 'Gallese',
'mejs.yiddish': 'Yiddish'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Japanese
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha 'SoftCreatR' Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ja === undefined) {
exports.ja = {
'mejs.plural-form': 0,
'mejs.download-file': 'ファイルをダウンロードする',
'mejs.install-flash': 'Flash Playerが有効またはインストールされていないブラウザを使用しています。Flash Playerプラグインをオンにするか,https://get.adobe.com/flashplayer/から最新バージョンをダウンロードしてください。',
'mejs.fullscreen': '全画面',
'mejs.play': '再生',
'mejs.pause': '一時停止',
'mejs.time-slider': 'タイムスライダー',
'mejs.time-help-text': '1秒進めるには左/右矢印をキーを,10秒進めるには上/下矢印を使います。',
'mejs.live-broadcast': 'ライブブロードキャスト',
'mejs.volume-help-text': '音量を上げたり下げたりするには,上/下矢印を使います。',
'mejs.unmute': 'ミュートを解除',
'mejs.mute': 'ミュート',
'mejs.volume-slider': '音量スライダー',
'mejs.video-player': 'ビデオプレーヤー',
'mejs.audio-player': 'オーディオプレーヤー',
'mejs.captions-subtitles': 'キャプション/字幕',
'mejs.captions-chapters': '章',
'mejs.none': 'なし',
'mejs.afrikaans': 'アフリカーンス語',
'mejs.albanian': 'アルバニア語',
'mejs.arabic': 'アラビア語',
'mejs.belarusian': 'ベラルーシ語',
'mejs.bulgarian': 'ブルガリア語',
'mejs.catalan': 'カタロニア語',
'mejs.chinese': '中国語',
'mejs.chinese-simplified': '中国語(簡体字)',
'mejs.chinese-traditional': '中国語(繁体字)',
'mejs.croatian': 'クロアチア語',
'mejs.czech': 'チェコ語',
'mejs.danish': 'デンマーク語',
'mejs.dutch': 'オランダの',
'mejs.english': '英語',
'mejs.estonian': 'エストニア語',
'mejs.filipino': 'フィリピン人',
'mejs.finnish': 'フィンランド語',
'mejs.french': 'フランス語',
'mejs.galician': 'ガリシア人',
'mejs.german': 'ドイツ語',
'mejs.greek': 'ギリシャ語',
'mejs.haitian-creole': 'ハイチクレオール',
'mejs.hebrew': 'ヘブライ語',
'mejs.hindi': 'ヒンディー語',
'mejs.hungarian': 'ハンガリー語',
'mejs.icelandic': 'アイスランド語',
'mejs.indonesian': 'インドネシア語',
'mejs.irish': 'アイルランド',
'mejs.italian': 'イタリア語',
'mejs.japanese': '日本語',
'mejs.korean': '韓国語',
'mejs.latvian': 'ラトビア語',
'mejs.lithuanian': 'リトアニア語',
'mejs.macedonian': 'マケドニアの',
'mejs.malay': 'マレー語',
'mejs.maltese': 'マルタ',
'mejs.norwegian': 'ノルウェー語',
'mejs.persian': 'ペルシア語',
'mejs.polish': 'ポーランド語',
'mejs.portuguese': 'ポルトガル語',
'mejs.romanian': 'ルーマニア語',
'mejs.russian': 'ロシア語',
'mejs.serbian': 'セルビア語',
'mejs.slovak': 'スロバキア語',
'mejs.slovenian': 'スロベニア語',
'mejs.spanish': 'スペイン語',
'mejs.swahili': 'スワヒリ語',
'mejs.swedish': 'スウェーデン語',
'mejs.tagalog': 'タガログ',
'mejs.thai': 'タイ',
'mejs.turkish': 'トルコ語',
'mejs.ukrainian': 'ウクライナ語',
'mejs.vietnamese': 'ベトナム語',
'mejs.welsh': 'ウェールズ',
'mejs.yiddish': 'イディッシュ'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Korean
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha 'SoftCreatR' Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ko === undefined) {
exports.ko = {
'mejs.plural-form': 0,
'mejs.download-file': '파일 다운로드',
'mejs.install-flash': 'Flash Player가 활성화되거나 설치되지 않은 브라우저를 사용 중입니다. 플래시 플레이어 플러그인을 켜거나 https://get.adobe.com/flashplayer/에서 최신 버전을 다운로드하십시오.',
'mejs.fullscreen': '전체화면',
'mejs.play': '작동',
'mejs.pause': '정지',
'mejs.time-slider': '시간 슬라이더',
'mejs.time-help-text': '1초 전진하려면 좌/우측 화살표를 사용하시고 10초 전진하려면 위/아래 화살표를 사용하세요.',
'mejs.live-broadcast' : '생방송',
'mejs.volume-help-text': '볼륨을 높이거나 낮추려면 위/아래 화살표를 이용하세요.',
'mejs.unmute': '음소거 해제',
'mejs.mute': '말 없는',
'mejs.volume-slider': '볼륨 슬라이더',
'mejs.video-player': '비디오 플레이어',
'mejs.audio-player': '오디오 플레이어',
'mejs.captions-subtitles': '캡션/자막',
'mejs.captions-chapters': '챕터',
'mejs.none': '없음',
'mejs.afrikaans': '아프리칸스어',
'mejs.albanian': '알바니아',
'mejs.arabic': '아랍어',
'mejs.belarusian': '벨로루시 어',
'mejs.bulgarian': '불가리아',
'mejs.catalan': '카탈로니아 어',
'mejs.chinese': '중국어',
'mejs.chinese-simplified': '중국어 (간체)',
'mejs.chinese-traditional': '중국어 (번체)',
'mejs.croatian': '크로아티아어',
'mejs.czech': '체코 어',
'mejs.danish': '덴마크어',
'mejs.dutch': '네덜란드어',
'mejs.english': '영어',
'mejs.estonian': '에스토니아',
'mejs.filipino': '필리핀',
'mejs.finnish': '핀란드어',
'mejs.french': '프랑스어',
'mejs.galician': '갈리시아인',
'mejs.german': '독일어',
'mejs.greek': '그리스어',
'mejs.haitian-creole': '아이티 크리올',
'mejs.hebrew': '히브리어',
'mejs.hindi': '힌디어',
'mejs.hungarian': '헝가리어',
'mejs.icelandic': '아이슬란드 어',
'mejs.indonesian': '인도네시아어',
'mejs.irish': '아일랜드어',
'mejs.italian': '이탈리아어',
'mejs.japanese': '일본어',
'mejs.korean': '한국어',
'mejs.latvian': '라트비아어',
'mejs.lithuanian': '리투아니아어',
'mejs.macedonian': '마케도니아인',
'mejs.malay': '말레이',
'mejs.maltese': '몰타어',
'mejs.norwegian': '노르웨이어',
'mejs.persian': '페르시아어',
'mejs.polish': '폴란드어',
'mejs.portuguese': '포르투갈어',
'mejs.romanian': '루마니아어',
'mejs.russian': '러시아어',
'mejs.serbian': '세르비아어',
'mejs.slovak': '슬로바키아어',
'mejs.slovenian': '슬로베니아어',
'mejs.spanish': '스페인어',
'mejs.swahili': '스와힐리어',
'mejs.swedish': '스웨덴어',
'mejs.tagalog': '타갈로그어',
'mejs.thai': '태국어',
'mejs.turkish': '터키어',
'mejs.ukrainian': '우크라이나어',
'mejs.vietnamese': '베트남인',
'mejs.welsh': '웨일스 어',
'mejs.yiddish': '이디시어'
};
}
})(mejs.i18n);

View File

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

View File

@@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Dutch
*
* @author
* Leonard de Ruijter, Twitter: @LeonarddR
* Jalios (Twitter: @Jalios)
* Sascha 'SoftCreatR' Greuel
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.nl === undefined) {
exports.nl = {
'mejs.plural-form': 1,
'mejs.download-file': 'Bestand downloaden',
'mejs.install-flash': '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.play': 'Afspelen',
'mejs.pause': 'Pauzeren',
'mejs.time-slider': 'Tijd schuifbalk',
'mejs.time-help-text': 'Gebruik pijl naar links/rechts om per seconde te springen, pijl omhoog/omlaag om per tien seconden te springen.',
'mejs.live-broadcast' : 'Live uitzending',
'mejs.volume-help-text': 'Gebruik pijl omhoog/omlaag om het volume te verhogen/verlagen.',
'mejs.unmute': 'Dempen opheffen',
'mejs.mute': 'Dempen',
'mejs.volume-slider': 'Volume schuifbalk',
'mejs.video-player': 'Videospeler',
'mejs.audio-player': 'Audiospeler',
'mejs.captions-subtitles': 'Bijschriften/ondertiteling',
'mejs.captions-chapters': 'Hoofdstukken',
'mejs.none': 'Geen',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albanees',
'mejs.arabic': 'Arabisch',
'mejs.belarusian': 'Wit-Russisch',
'mejs.bulgarian': 'Bulgaars',
'mejs.catalan': 'Catalaans',
'mejs.chinese': 'Chinees',
'mejs.chinese-simplified': 'Chinees (Vereenvoudigd)',
'mejs.chinese-traditional': 'Chinees (Traditioneel)',
'mejs.croatian': 'Kroatisch',
'mejs.czech': 'Tsjechisch',
'mejs.danish': 'Deens',
'mejs.dutch': 'Nederlands',
'mejs.english': 'Engels',
'mejs.estonian': 'Estlands',
'mejs.filipino': 'Filipijns',
'mejs.finnish': 'Finse',
'mejs.french': 'Frans',
'mejs.galician': 'Galicisch',
'mejs.german': 'Duits',
'mejs.greek': 'Grieks',
'mejs.haitian-creole': 'Haïtiaanse Creoolse',
'mejs.hebrew': 'Hebreeuws',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Hongaars',
'mejs.icelandic': 'Icelandic',
'mejs.indonesian': 'Indonesisch',
'mejs.irish': 'Iers',
'mejs.italian': 'Italiaans',
'mejs.japanese': 'Japans',
'mejs.korean': 'Koreaans',
'mejs.latvian': 'Letlands',
'mejs.lithuanian': 'Litouws',
'mejs.macedonian': 'Macedonisch',
'mejs.malay': 'Maleis',
'mejs.maltese': 'Maltese',
'mejs.norwegian': 'Noors',
'mejs.persian': 'Perzisch',
'mejs.polish': 'Pools',
'mejs.portuguese': 'Portugees',
'mejs.romanian': 'Roemeens',
'mejs.russian': 'Russisch',
'mejs.serbian': 'Servisch',
'mejs.slovak': 'Slowaaks',
'mejs.slovenian': 'Sloveens',
'mejs.spanish': 'Spaans',
'mejs.swahili': 'Swahili',
'mejs.swedish': 'Zweeds',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turks',
'mejs.ukrainian': 'Oekraïens',
'mejs.vietnamese': 'Vietnamese',
'mejs.welsh': 'Welsh',
'mejs.yiddish': 'Jiddisch'
};
}
})(mejs.i18n);

View File

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

View File

@@ -0,0 +1,92 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Portuguese
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.pt === undefined) {
exports.pt = {
'mejs.plural-form': 1,
'mejs.download-file': 'Descarregar o ficheiro',
'mejs.install-flash': '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.play': 'Reprodução',
'mejs.pause': 'Pausa',
'mejs.time-slider': 'Deslizador do tempo',
'mejs.time-help-text': 'Use as teclas das setas para a esquerda/direita para avançar um segundo, e as setas para cima/baixo para avançar dez segundos.',
'mejs.live-broadcast' : 'Transmissão ao vivo',
'mejs.volume-help-text': 'Use as teclas das setas para cima/baixo para aumentar ou diminuir o volume.',
'mejs.unmute': 'Voltar ao som',
'mejs.mute': 'Silêncio',
'mejs.volume-slider': 'Deslizador do volume',
'mejs.video-player': 'Leitor de vídeo',
'mejs.audio-player': 'Leitor de áudio',
'mejs.captions-subtitles': 'Legendas',
'mejs.captions-chapters': 'Capítulos',
'mejs.none': 'Nenhum',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albanês',
'mejs.arabic': 'Árabe',
'mejs.belarusian': 'Bielorrusso',
'mejs.bulgarian': 'Búlgaro',
'mejs.catalan': 'Catalão',
'mejs.chinese': 'Chinês',
'mejs.chinese-simplified': 'Chinese (Simplified)',
'mejs.chinese-traditional': 'Chinese (Traditional)',
'mejs.croatian': 'Croata',
'mejs.czech': 'Checo',
'mejs.danish': 'Danish',
'mejs.dutch': 'Dutch',
'mejs.english': 'Inglês',
'mejs.estonian': 'Estoniano',
'mejs.filipino': 'Filipino',
'mejs.finnish': 'Finlandês',
'mejs.french': 'French',
'mejs.galician': 'Galego',
'mejs.german': 'Alemão',
'mejs.greek': 'Grego',
'mejs.haitian-creole': 'Crioulo Haitiano',
'mejs.hebrew': 'Hebraico',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Húngaro',
'mejs.icelandic': 'Islandês',
'mejs.indonesian': 'Indonésio',
'mejs.irish': 'Irish',
'mejs.italian': 'Italiano',
'mejs.japanese': 'Japonês',
'mejs.korean': 'Coreano',
'mejs.latvian': 'Letão',
'mejs.lithuanian': 'Lithuanian',
'mejs.macedonian': 'Macedônio',
'mejs.malay': 'Malaio',
'mejs.maltese': 'Maltês',
'mejs.norwegian': 'Norwegian',
'mejs.persian': 'Persa',
'mejs.polish': 'Polish',
'mejs.portuguese': 'Português',
'mejs.romanian': 'Romanian',
'mejs.russian': 'Russian',
'mejs.serbian': 'Sérvio',
'mejs.slovak': 'Slovak',
'mejs.slovenian': 'Slovenian',
'mejs.spanish': 'Espanhol',
'mejs.swahili': 'Swahili',
'mejs.swedish': 'sueco',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turco',
'mejs.ukrainian': 'Ucraniano',
'mejs.vietnamese': 'Vietnamita',
'mejs.welsh': 'Welsh',
'mejs.yiddish': 'Iídiche'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Romanian
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.ro === undefined) {
exports.ro = {
'mejs.plural-form': 5,
'mejs.download-file': 'Descarcă fişierul',
'mejs.install-flash': '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.play': 'Redare',
'mejs.pause': 'Pauză',
'mejs.time-slider': 'Cursor timp',
'mejs.time-help-text': 'Utilizează tastele săgeată Stânga/Dreapta pentru a avansa o secundă şi săgeţile Sus/Jos pentru a avansa zece secunde.',
'mejs.live-broadcast' : 'Difuzare în direct',
'mejs.volume-help-text': 'Utilizează tastele de săgeată Sus/Jos pentru a creşte/micşora volumul',
'mejs.unmute': 'Cu sunet',
'mejs.mute': 'Fără sunet',
'mejs.volume-slider': 'Cursor volum',
'mejs.video-player': 'Player video',
'mejs.audio-player': 'Player audio',
'mejs.captions-subtitles': 'Legende/Subtitrări',
'mejs.captions-chapters': 'Capitolele',
'mejs.none': 'Niciunul',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albanez',
'mejs.arabic': 'Arabă',
'mejs.belarusian': 'Belarusian',
'mejs.bulgarian': 'Bulgară',
'mejs.catalan': 'Catalană',
'mejs.chinese': 'Chinezesc',
'mejs.chinese-simplified': 'Chineză (Simplificată)',
'mejs.chinese-traditional': 'Chineză (Tradițională)',
'mejs.croatian': 'Croată',
'mejs.czech': 'Cehă',
'mejs.danish': 'Daneză',
'mejs.dutch': 'Olandeză',
'mejs.english': 'Engleză',
'mejs.estonian': 'Estonă',
'mejs.filipino': 'Filipinez',
'mejs.finnish': 'Finlandeză',
'mejs.french': 'Franceză',
'mejs.galician': 'Galiciană',
'mejs.german': 'Germană',
'mejs.greek': 'Greacă',
'mejs.haitian-creole': 'Creolele Haitiene',
'mejs.hebrew': 'Ebraică',
'mejs.hindi': 'Hindi',
'mejs.hungarian': 'Maghiar',
'mejs.icelandic': 'Islandeză',
'mejs.indonesian': 'Indonezian',
'mejs.irish': 'Irlandeză',
'mejs.italian': 'Italiană',
'mejs.japanese': 'Japoneză',
'mejs.korean': 'Coreeană',
'mejs.latvian': 'Letonă',
'mejs.lithuanian': 'Lituanian',
'mejs.macedonian': 'Macedonean',
'mejs.malay': 'Malay',
'mejs.maltese': 'Malteză',
'mejs.norwegian': 'Norvegiană',
'mejs.persian': 'Persană',
'mejs.polish': 'Polonez',
'mejs.portuguese': 'Portugheză',
'mejs.romanian': 'Română',
'mejs.russian': 'Rusă',
'mejs.serbian': 'Sârbă',
'mejs.slovak': 'Slovacă',
'mejs.slovenian': 'Slovenă',
'mejs.spanish': 'Spaniolă',
'mejs.swahili': 'Swahili',
'mejs.swedish': 'Suedeză',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turcă',
'mejs.ukrainian': 'Ucrainean',
'mejs.vietnamese': 'Vietnamez',
'mejs.welsh': 'Welsh',
'mejs.yiddish': 'Idiș'
};
}
})(mejs.i18n);

View File

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

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Slovak
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.sk === undefined) {
exports.sk = {
'mejs.plural-form': 8,
'mejs.download-file': 'Prevziať súbor',
'mejs.install-flash': '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.play': 'Prehrať',
'mejs.pause': 'Pozastaviť',
'mejs.time-slider': 'Posúvač času',
'mejs.time-help-text': 'Klávesmi so šípkou doľava/doprava posuniete o jednu sekundu, šípkami nahor/ nadol posuniete o desať sekúnd.',
'mejs.live-broadcast' : 'Živé vysielanie',
'mejs.volume-help-text': 'Klávesmi so šípkou nahor/nadol zvýšite alebo znížite hlasitosť.',
'mejs.unmute': 'Zrušiť stlmenie',
'mejs.mute': 'Stlmiť',
'mejs.volume-slider': 'Posúvač hlasitosti',
'mejs.video-player': 'Prehrávač videa',
'mejs.audio-player': 'Prehrávač zvuku',
'mejs.captions-subtitles': 'Skryté titulky/Titulky',
'mejs.captions-chapters': 'Kapitoly',
'mejs.none': 'Žiadne',
'mejs.afrikaans': 'Afrikaans',
'mejs.albanian': 'Albánsky',
'mejs.arabic': 'Arabčina',
'mejs.belarusian': 'Bieloruský',
'mejs.bulgarian': 'Bulharčina',
'mejs.catalan': 'Katalánsky',
'mejs.chinese': 'čínština',
'mejs.chinese-simplified': 'Čínsky (Zjednodušený)',
'mejs.chinese-traditional': 'čínsky (Tradičný)',
'mejs.croatian': 'Chorvátčina',
'mejs.czech': 'čeština',
'mejs.danish': 'Dánsky',
'mejs.dutch': 'Holandský',
'mejs.english': 'Angličtina',
'mejs.estonian': 'Estónčina',
'mejs.filipino': 'Filipínsky',
'mejs.finnish': 'Fínčina',
'mejs.french': 'Francúzština',
'mejs.galician': 'Galicijčan',
'mejs.german': 'Nemčina',
'mejs.greek': 'Gréčtina',
'mejs.haitian-creole': 'Haitian Kreolský',
'mejs.hebrew': 'Hebrejčina',
'mejs.hindi': 'Hindčina',
'mejs.hungarian': 'Maďarčina',
'mejs.icelandic': 'Islandský',
'mejs.indonesian': 'Indonézsky',
'mejs.irish': 'Írsky',
'mejs.italian': 'Taliančina',
'mejs.japanese': 'Japonský',
'mejs.korean': 'Kórejský',
'mejs.latvian': 'Lotyština',
'mejs.lithuanian': 'Litovský',
'mejs.macedonian': 'Macedónsky',
'mejs.malay': 'Malajský',
'mejs.maltese': 'Maltčina',
'mejs.norwegian': 'Nórsky',
'mejs.persian': 'Perzský',
'mejs.polish': 'poľština',
'mejs.portuguese': 'Portugalčina',
'mejs.romanian': 'Rumunčina',
'mejs.russian': 'Ruský',
'mejs.serbian': 'Srbský',
'mejs.slovak': 'Slovenský',
'mejs.slovenian': 'Slovinský',
'mejs.spanish': 'španielčina',
'mejs.swahili': 'Swahili',
'mejs.swedish': 'švédčina',
'mejs.tagalog': 'Tagalog',
'mejs.thai': 'Thai',
'mejs.turkish': 'Turecký',
'mejs.ukrainian': 'Ukrajinský',
'mejs.vietnamese': 'Vietnamčina',
'mejs.welsh': 'Welsh',
'mejs.yiddish': 'Jidiš'
};
}
})(mejs.i18n);

View File

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

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Turkish
*
* @author
* Ogün Karakuş (Twitter: @ogunkarakus)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.tr === undefined) {
exports.tr = {
'mejs.plural-form': 1,
'mejs.download-file': 'Dosyayı İndir',
'mejs.install-flash': 'Flash oynatıcısı etkin olmayan veya yüklü olmayan bir tarayıcı kullanıyorsunuz. Lütfen Flash player eklentinizi açın veya en son sürümü https://get.adobe.com/flashplayer/ adresinden indirin.',
'mejs.fullscreen': 'Tam ekran',
'mejs.play': 'Oynat',
'mejs.pause': 'Duraklat',
'mejs.time-slider': 'Zaman Ayarı',
'mejs.time-help-text': 'Bir saniye ileri gitmek için Sol / Sağ Ok tuşlarını, on saniye ileri gitmek için Yukarı / Aşağı oklarını kullanın.',
'mejs.live-broadcast' : 'Canlı Yayın',
'mejs.volume-help-text': 'Sesi artırmak veya azaltmak için Yukarı / Aşağı Ok tuşlarını kullanın.',
'mejs.unmute': 'Sesi aç',
'mejs.mute': 'Sessiz',
'mejs.volume-slider': 'Ses Ayarı',
'mejs.video-player': 'Video Oynatıcı',
'mejs.audio-player': 'Ses Oynatıcı',
'mejs.captions-subtitles': 'Başlıklar / Altyazılar',
'mejs.captions-chapters': 'Bölümler',
'mejs.none': 'Yok',
'mejs.afrikaans': 'Afrikaanca',
'mejs.albanian': 'Arnavutça',
'mejs.arabic': 'Arapça',
'mejs.belarusian': 'Belarusça',
'mejs.bulgarian': 'Bulgarca',
'mejs.catalan': 'Katalanca',
'mejs.chinese': 'Çince',
'mejs.chinese-simplified': 'Çince (Basitleştirilmiş)',
'mejs.chinese-traditional': 'Çince (Geleneksel)',
'mejs.croatian': 'Hırvatça',
'mejs.czech': 'Çekçe',
'mejs.danish': 'Danca',
'mejs.dutch': 'Flemenkçe',
'mejs.english': 'İngilizce',
'mejs.estonian': 'Estonca',
'mejs.filipino': 'Filipince',
'mejs.finnish': 'Fince',
'mejs.french': 'Fransızca',
'mejs.galician': 'Galiçyaca',
'mejs.german': 'Almanca',
'mejs.greek': 'Yunanca',
'mejs.haitian-creole': 'Haiti Kreyolu',
'mejs.hebrew': 'İbranice',
'mejs.hindi': 'Hintçe',
'mejs.hungarian': 'Macarca',
'mejs.icelandic': 'İzlandaca',
'mejs.indonesian': 'Endonezce',
'mejs.irish': 'İrlandaca',
'mejs.italian': 'İtalyanca',
'mejs.japanese': 'Japonca',
'mejs.korean': 'Korece',
'mejs.latvian': 'Letonca',
'mejs.lithuanian': 'Litvanca',
'mejs.macedonian': 'Makedonca',
'mejs.malay': 'Malayca',
'mejs.maltese': 'Maltaca',
'mejs.norwegian': 'Norveççe',
'mejs.persian': 'Farsça',
'mejs.polish': 'Lehçe',
'mejs.portuguese': 'Portekizce',
'mejs.romanian': 'Rumence',
'mejs.russian': 'Rusça',
'mejs.serbian': 'Sırpça',
'mejs.slovak': 'Slovakça',
'mejs.slovenian': 'Slovence',
'mejs.spanish': 'İspanyolca',
'mejs.swahili': 'Svahili',
'mejs.swedish': 'İsveççe',
'mejs.tagalog': 'Tagalogca',
'mejs.thai': 'Tayca',
'mejs.turkish': 'Türkçe',
'mejs.ukrainian': 'Ukraynaca',
'mejs.vietnamese': 'Vietnamca',
'mejs.welsh': 'Galce',
'mejs.yiddish': 'Yidiş'
};
}
})(mejs.i18n);

View File

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

View File

@@ -0,0 +1,90 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Chinese (Simplified)
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports['zh-CN'] === undefined) {
exports['zh-CN'] = {
'mejs.plural-form': 0,
'mejs.download-file': '下载文件',
'mejs.install-flash': '您正在使用未启用或安装Flash播放器的浏览器。请打开您的Flash Player插件或从https://get.adobe.com/flashplayer/下载最新版本',
'mejs.fullscreen': '全屏',
'mejs.play': '播放',
'mejs.pause': '暂停',
'mejs.time-slider': '时间滑动棒',
'mejs.time-help-text': '使用作/右箭头快进1秒,使用上/下箭头快进10秒。',
'mejs.live-broadcast' : '现场直播',
'mejs.volume-help-text': '使用上/下箭头提高或降低音量。',
'mejs.unmute': '取消静音',
'mejs.mute': '静音',
'mejs.volume-slider': '音量选择键',
'mejs.video-player': '视频播放器',
'mejs.audio-player': '音频播放器',
'mejs.captions-subtitles': '字幕/标题',
'mejs.captions-chapters': '章',
'mejs.none': '无',
'mejs.afrikaans': '南非荷兰语',
'mejs.albanian': '阿尔巴尼亚人',
'mejs.arabic': '阿拉伯语',
'mejs.belarusian': '白俄罗斯',
'mejs.bulgarian': '保加利亚语',
'mejs.catalan': '加泰罗尼亚语',
'mejs.chinese': '中国',
'mejs.chinese-simplified': '中文(简体)',
'mejs.chinese-traditional': '中国(传统)',
'mejs.croatian': '克罗地亚语',
'mejs.czech': '捷克',
'mejs.danish': '丹麦语',
'mejs.dutch': '荷兰人',
'mejs.english': '英语',
'mejs.estonian': '爱沙尼亚语',
'mejs.filipino': '菲律宾',
'mejs.finnish': '芬兰语',
'mejs.french': '法语',
'mejs.galician': '加利西亚',
'mejs.german': '德语',
'mejs.greek': '希腊语',
'mejs.haitian-creole': '海地克里奥尔人',
'mejs.hebrew': '希伯来语',
'mejs.hindi': '印地语',
'mejs.hungarian': '匈牙利',
'mejs.icelandic': '冰岛',
'mejs.indonesian': '印尼语',
'mejs.irish': '爱尔兰',
'mejs.italian': '意大利语',
'mejs.japanese': '日本',
'mejs.korean': '韩国人',
'mejs.latvian': '拉脱维亚人',
'mejs.lithuanian': '立陶宛语',
'mejs.macedonian': '马其顿',
'mejs.malay': '马来语',
'mejs.maltese': '马耳他',
'mejs.norwegian': '挪威语',
'mejs.persian': '波斯人',
'mejs.polish': '波兰语',
'mejs.portuguese': '葡萄牙语',
'mejs.romanian': '罗马尼亚语',
'mejs.russian': '俄罗斯',
'mejs.serbian': '塞尔维亚人',
'mejs.slovak': '斯洛伐克语',
'mejs.slovenian': '斯洛文尼亚语',
'mejs.spanish': '西班牙语',
'mejs.swahili': '斯瓦希里语',
'mejs.swedish': '瑞典语',
'mejs.tagalog': '他加禄语',
'mejs.thai': '泰国',
'mejs.turkish': '土耳其语',
'mejs.ukrainian': '乌克兰',
'mejs.vietnamese': '越南人',
'mejs.welsh': '威尔士',
'mejs.yiddish': '意第绪语'
};
}
})(mejs.i18n);

View File

@@ -0,0 +1,91 @@
'use strict';/*!
* This is a `i18n` language object.
*
* Chinese (Traditional)
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
* Peter Dave Hello (Twitter: @PeterDaveHello)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.zh === undefined) {
exports.zh = {
'mejs.plural-form': 0,
'mejs.download-file': '下載檔案',
'mejs.install-flash': '您正在使用未啟用或安裝Flash播放器的瀏覽器。請打開您的Flash Player插件,或從https://get.adobe.com/flashplayer/下載最新版本',
'mejs.fullscreen': '全螢幕',
'mejs.play': '播放',
'mejs.pause': '暫停',
'mejs.time-slider': '時間軸',
'mejs.time-help-text': '使用左/右箭頭快轉1秒,上/下箭頭快轉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);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

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

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -0,0 +1,415 @@
/*!
* 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
*
*/(function(){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}return e})()({1:[function(_dereq_,module,exports){
'use strict';
var DailyMotionApi = {
isSDKStarted: false,
isSDKLoaded: false,
iframeQueue: [],
enqueueIframe: function enqueueIframe(settings) {
if (DailyMotionApi.isLoaded) {
DailyMotionApi.createIframe(settings);
} else {
DailyMotionApi.loadIframeApi();
DailyMotionApi.iframeQueue.push(settings);
}
},
loadIframeApi: function loadIframeApi() {
if (!DailyMotionApi.isSDKStarted) {
mejs.Utils.loadScript('https://api.dmcdn.net/all.js');
DailyMotionApi.isSDKStarted = true;
}
},
apiReady: function apiReady() {
DailyMotionApi.isLoaded = true;
DailyMotionApi.isSDKLoaded = true;
while (DailyMotionApi.iframeQueue.length > 0) {
var settings = DailyMotionApi.iframeQueue.pop();
DM.init({
apiKey: settings.apiKey,
status: settings.status,
cookie: settings.cookie
});
DailyMotionApi.createIframe(settings);
}
},
createIframe: function createIframe(settings) {
var player = DM.player(settings.container, {
height: settings.height || '100%',
width: settings.width || '100%',
video: settings.videoId,
params: Object.assign({ api: true }, settings.params),
origin: location.host
});
player.addEventListener('apiready', function () {
window['__ready__' + settings.id](player, { paused: true, ended: false });
});
},
getDailyMotionId: function getDailyMotionId(url) {
var parts = url.split('/'),
lastPart = parts[parts.length - 1],
dashParts = lastPart.split('_');
return dashParts[0];
}
};
var DailyMotionIframeRenderer = {
name: 'dailymotion_iframe',
options: {
prefix: 'dailymotion_iframe',
dailymotion: {
width: '100%',
height: '100%',
params: {
autoplay: false,
chromeless: 1,
info: 0,
logo: 0,
related: 0
},
apiKey: null,
status: true,
cookie: true
}
},
canPlayType: function canPlayType(type) {
return ~['video/dailymotion', 'video/x-dailymotion'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var dm = {},
apiStack = [],
readyState = 4;
var events = void 0,
dmPlayer = null,
dmIframe = null,
muted = mediaElement.originalNode.muted;
dm.options = options;
dm.id = mediaElement.id + '_' + options.prefix;
dm.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
dm['get' + capName] = function () {
if (dmPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return dmPlayer.currentTime;
case 'duration':
return isNaN(dmPlayer.duration) ? 0 : dmPlayer.duration;
case 'volume':
return dmPlayer.volume;
case 'paused':
return dmPlayer.paused;
case 'ended':
return dmPlayer.ended;
case 'muted':
muted = dmPlayer.muted;
return muted;
case 'buffered':
var percentLoaded = dmPlayer.bufferedTime,
duration = dmPlayer.duration;
return {
start: function start() {
return 0;
},
end: function end() {
return percentLoaded / duration;
},
length: 1
};
case 'src':
return mediaElement.originalNode.getAttribute('src');
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
dm['set' + capName] = function (value) {
if (dmPlayer !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src;
dmPlayer.load(DailyMotionApi.getDailyMotionId(url));
break;
case 'currentTime':
dmPlayer.seek(value);
break;
case 'muted':
if (value === true) {
dmPlayer.setVolume(0);
}
dmPlayer.setMuted(value);
muted = value;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
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 () {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', dm);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
dm[methodName] = function () {
if (dmPlayer !== null) {
switch (methodName) {
case 'play':
return dmPlayer.play();
case 'pause':
return dmPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
window['__ready__' + dm.id] = function (_dmPlayer) {
mediaElement.dmPlayer = dmPlayer = _dmPlayer;
if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
dm['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
dm[stackItem.methodName]();
}
}
}
dmIframe = document.getElementById(dm.id);
events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, dm);
mediaElement.dispatchEvent(event);
};
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
dmIframe.addEventListener(events[_i3], assignEvents, false);
}
if (mediaElement.originalNode.muted) {
dmPlayer.setVolume(0);
dmPlayer.setMuted(true);
} else {
dmPlayer.setVolume(dmPlayer.volume);
dmPlayer.setMuted(false);
}
events = mejs.html5media.events;
events = events.concat(['click', 'mouseover', 'mouseout']);
var assignNativeEvents = function assignNativeEvents(eventName) {
if (eventName !== 'ended') {
dmPlayer.addEventListener(eventName, function (e) {
var event = mejs.Utils.createEvent(e.type, dm);
mediaElement.dispatchEvent(event);
});
}
};
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
assignNativeEvents(events[_i4]);
}
dmPlayer.addEventListener('ad_start', function () {
var event = mejs.Utils.createEvent('play', dm);
mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('progress', dm);
mediaElement.dispatchEvent(event);
event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('ad_pause', function () {
var event = mejs.Utils.createEvent('pause', dm);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('start', function () {
if (dmPlayer.muted) {
var event = mejs.Utils.createEvent('volumechange', dm);
mediaElement.dispatchEvent(event);
}
});
dmPlayer.addEventListener('video_start', function () {
var event = mejs.Utils.createEvent('play', dm);
mediaElement.dispatchEvent(event);
var playingEvent = mejs.Utils.createEvent('playing', dm);
mediaElement.dispatchEvent(playingEvent);
});
dmPlayer.addEventListener('ad_timeupdate', function () {
var event = mejs.Utils.createEvent('timeupdate', dm);
mediaElement.dispatchEvent(event);
});
dmPlayer.addEventListener('video_end', function () {
var event = mejs.Utils.createEvent('ended', dm);
mediaElement.dispatchEvent(event);
if (mediaElement.originalNode.getAttribute('loop')) {
dmPlayer.play();
}
});
var initEvents = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
for (var _i5 = 0, _total5 = initEvents.length; _i5 < _total5; _i5++) {
var event = mejs.Utils.createEvent(initEvents[_i5], dm);
mediaElement.dispatchEvent(event);
}
};
var dmContainer = document.createElement('div');
dmContainer.id = dm.id;
mediaElement.appendChild(dmContainer);
if (mediaElement.originalNode) {
dmContainer.style.width = mediaElement.originalNode.style.width;
dmContainer.style.height = mediaElement.originalNode.style.height;
}
mediaElement.originalNode.style.display = 'none';
var videoId = DailyMotionApi.getDailyMotionId(mediaFiles[0].src),
dmSettings = {
id: dm.id,
container: dmContainer,
videoId: videoId
};
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);
dm.hide = function () {
dm.pause();
if (dmIframe) {
dmIframe.style.display = 'none';
}
};
dm.show = function () {
if (dmIframe) {
dmIframe.style.display = '';
}
};
dm.setSize = function (width, height) {
if (dmIframe) {
dmIframe.width = width;
dmIframe.height = height;
}
};
dm.destroy = function () {
dmPlayer.destroy();
};
return dm;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(url) ? 'video/x-dailymotion' : null
);
});
window.dmAsyncInit = function () {
DailyMotionApi.apiReady();
};
mejs.Renderers.add(DailyMotionIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,361 @@
/*!
* 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
*
*/(function(){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}return e})()({1:[function(_dereq_,module,exports){
'use strict';
var FacebookApi = {
promise: null,
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 = {
name: 'facebook',
options: {
prefix: 'facebook',
facebook: {
appId: '',
xfbml: true,
version: 'v2.10',
lang: 'en_US'
}
},
canPlayType: function canPlayType(type) {
return ~['video/facebook', 'video/x-facebook'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var apiStack = [],
fb = {},
readyState = 4;
var hasStartedPlaying = false,
paused = true,
ended = false,
fbPlayer = null,
src = '',
poster = '',
autoplay = mediaElement.originalNode.autoplay;
fb.options = options;
fb.id = mediaElement.id + '_' + options.prefix;
fb.mediaElement = mediaElement;
if (mejs.Features.isiPhone && mediaElement.originalNode.getAttribute('poster')) {
poster = mediaElement.originalNode.getAttribute('poster');
mediaElement.originalNode.removeAttribute('poster');
}
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fb['get' + capName] = function () {
if (fbPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return fbPlayer.getCurrentPosition();
case 'duration':
return fbPlayer.getDuration();
case 'volume':
return fbPlayer.getVolume();
case 'paused':
return paused;
case 'ended':
return ended;
case 'muted':
return fbPlayer.isMuted();
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return 0;
},
length: 1
};
case 'src':
return src;
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
fb['set' + capName] = function (value) {
if (fbPlayer !== null) {
switch (propName) {
case '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');
mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
FacebookApi.load({
lang: fb.options.lang,
id: fb.id
});
FB.XFBML.parse();
if (autoplay) {
fbPlayer.play();
}
break;
case 'currentTime':
fbPlayer.seek(value);
break;
case 'muted':
if (value) {
fbPlayer.mute();
} else {
fbPlayer.unmute();
}
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fb);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
fbPlayer.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', fb);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', fb);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
fb[methodName] = function () {
if (fbPlayer !== null) {
switch (methodName) {
case 'play':
return fbPlayer.play();
case 'pause':
return fbPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
function assignEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], fb);
mediaElement.dispatchEvent(event);
}
}
window['__ready__' + fb.id] = function () {
FB.Event.subscribe('xfbml.ready', function (msg) {
if (msg.type === 'video' && fb.id === msg.id) {
mediaElement.fbPlayer = fbPlayer = msg.instance;
var fbIframe = document.getElementById(fb.id),
width = fbIframe.offsetWidth,
height = fbIframe.offsetHeight,
events = ['mouseover', 'mouseout'],
assignIframeEvents = function assignIframeEvents(e) {
var event = mejs.Utils.createEvent(e.type, fb);
mediaElement.dispatchEvent(event);
};
fb.setSize(width, height);
if (!mediaElement.originalNode.muted) {
fbPlayer.unmute();
}
if (autoplay) {
fbPlayer.play();
}
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
fbIframe.addEventListener(events[_i3], assignIframeEvents);
}
fb.eventHandler = {};
var fbEvents = ['startedPlaying', 'paused', 'finishedPlaying', 'startedBuffering', 'finishedBuffering'];
for (var _i4 = 0, _total4 = fbEvents.length; _i4 < _total4; _i4++) {
var event = fbEvents[_i4],
handler = fb.eventHandler[event];
if (handler !== undefined && handler !== null && !mejs.Utils.isObjectEmpty(handler) && typeof handler.removeListener === 'function') {
handler.removeListener(event);
}
}
if (apiStack.length) {
for (var _i5 = 0, _total5 = apiStack.length; _i5 < _total5; _i5++) {
var stackItem = apiStack[_i5];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
fb['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
fb[stackItem.methodName]();
}
}
}
assignEvents(['rendererready', 'loadeddata', 'canplay', 'progress', 'loadedmetadata', 'timeupdate']);
var timer = void 0;
fb.eventHandler.startedPlaying = fbPlayer.subscribe('startedPlaying', function () {
if (!hasStartedPlaying) {
hasStartedPlaying = true;
}
paused = false;
ended = false;
assignEvents(['play', 'playing', 'timeupdate']);
timer = setInterval(function () {
fbPlayer.getCurrentPosition();
assignEvents(['timeupdate']);
}, 250);
});
fb.eventHandler.paused = fbPlayer.subscribe('paused', function () {
paused = true;
ended = false;
assignEvents(['pause']);
});
fb.eventHandler.finishedPlaying = fbPlayer.subscribe('finishedPlaying', function () {
paused = true;
ended = true;
assignEvents(['ended']);
clearInterval(timer);
timer = null;
});
fb.eventHandler.startedBuffering = fbPlayer.subscribe('startedBuffering', function () {
assignEvents(['progress', 'timeupdate']);
});
fb.eventHandler.finishedBuffering = fbPlayer.subscribe('finishedBuffering', function () {
assignEvents(['progress', 'timeupdate']);
});
}
});
};
src = mediaFiles[0].src;
var fbContainer = document.createElement('div');
fbContainer.id = fb.id;
fbContainer.className = 'fb-video';
fbContainer.setAttribute('data-href', src);
fbContainer.setAttribute('data-allowfullscreen', 'true');
fbContainer.setAttribute('data-controls', !!mediaElement.originalNode.controls);
mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
FacebookApi.load({
options: fb.options.facebook,
id: fb.id
});
fb.hide = function () {
fb.pause();
if (fbPlayer) {
fbContainer.style.display = 'none';
}
};
fb.setSize = function (width) {
if (fbPlayer !== null && !isNaN(width)) {
fbContainer.style.width = width;
}
};
fb.show = function () {
if (fbPlayer) {
fbContainer.style.display = '';
}
};
fb.destroy = function () {
if (poster) {
mediaElement.originalNode.setAttribute('poster', poster);
}
};
return fb;
}
};
mejs.Utils.typeChecks.push(function (url) {
return ~url.toLowerCase().indexOf('//www.facebook') ? 'video/x-facebook' : null;
});
mejs.Renderers.add(FacebookRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@@ -0,0 +1,374 @@
/*!
* 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
*
*/(function(){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}return e})()({1:[function(_dereq_,module,exports){
'use strict';
var TwitchApi = {
promise: null,
load: function load(settings) {
if (typeof Twitch !== 'undefined') {
TwitchApi.promise = new Promise(function (resolve) {
resolve();
}).then(function () {
TwitchApi._createPlayer(settings);
});
} else {
TwitchApi.promise = TwitchApi.promise || mejs.Utils.loadScript('https://player.twitch.tv/js/embed/v1.js');
TwitchApi.promise.then(function () {
TwitchApi._createPlayer(settings);
});
}
},
_createPlayer: function _createPlayer(settings) {
var player = new Twitch.Player(settings.id, settings);
window['__ready__' + settings.id](player);
},
getTwitchId: function getTwitchId(url) {
var twitchId = '';
if (url.indexOf('?') > 0) {
twitchId = TwitchApi.getTwitchIdFromParam(url);
if (twitchId === '') {
twitchId = TwitchApi.getTwitchIdFromUrl(url);
}
} else {
twitchId = TwitchApi.getTwitchIdFromUrl(url);
}
return twitchId;
},
getTwitchIdFromParam: function getTwitchIdFromParam(url) {
if (url === undefined || url === null || !url.trim().length) {
return null;
}
var parts = url.split('?'),
parameters = parts[1].split('&');
var twitchId = '';
for (var i = 0, total = parameters.length; i < total; i++) {
var paramParts = parameters[i].split('=');
if (~paramParts[0].indexOf('channel')) {
twitchId = paramParts[1];
break;
} else if (~paramParts[0].indexOf('video')) {
twitchId = 'v' + paramParts[1];
break;
}
}
return twitchId;
},
getTwitchIdFromUrl: function getTwitchIdFromUrl(url) {
if (url === undefined || url === null || !url.trim().length) {
return null;
}
var parts = url.split('?');
url = parts[0];
var id = url.substring(url.lastIndexOf('/') + 1);
return (/^\d+$/i.test(id) ? 'v' + id : id
);
},
getTwitchType: function getTwitchType(id) {
return (/^v\d+/i.test(id) ? 'video' : 'channel'
);
}
};
var TwitchIframeRenderer = {
name: 'twitch_iframe',
options: {
prefix: 'twitch_iframe'
},
canPlayType: function canPlayType(type) {
return ~['video/twitch', 'video/x-twitch'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var twitch = {},
apiStack = [],
readyState = 4,
twitchId = TwitchApi.getTwitchId(mediaFiles[0].src);
var twitchPlayer = null,
paused = true,
ended = false,
hasStartedPlaying = false,
volume = 1,
duration = Infinity,
time = 0;
twitch.options = options;
twitch.id = mediaElement.id + '_' + options.prefix;
twitch.mediaElement = mediaElement;
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
twitch['get' + capName] = function () {
if (twitchPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
time = twitchPlayer.getCurrentTime();
return time;
case 'duration':
duration = twitchPlayer.getDuration();
return duration;
case 'volume':
volume = twitchPlayer.getVolume();
return volume;
case 'paused':
paused = twitchPlayer.isPaused();
return paused;
case 'ended':
ended = twitchPlayer.getEnded();
return ended;
case 'muted':
return twitchPlayer.getMuted();
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return 0;
},
length: 1
};
case 'src':
return TwitchApi.getTwitchType(twitchId) === 'channel' ? twitchPlayer.getChannel() : twitchPlayer.getVideo();
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
twitch['set' + capName] = function (value) {
if (twitchPlayer !== null) {
switch (propName) {
case 'src':
var url = typeof value === 'string' ? value : value[0].src,
videoId = TwitchApi.getTwitchId(url);
if (TwitchApi.getTwitchType(twitchId) === 'channel') {
twitchPlayer.setChannel(videoId);
} else {
twitchPlayer.setVideo(videoId);
}
break;
case 'currentTime':
twitchPlayer.seek(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('timeupdate', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'muted':
twitchPlayer.setMuted(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'volume':
volume = value;
twitchPlayer.setVolume(value);
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', twitch);
mediaElement.dispatchEvent(event);
}, 50);
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', twitch);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
twitch[methodName] = function () {
if (twitchPlayer !== null) {
switch (methodName) {
case 'play':
paused = false;
return twitchPlayer.play();
case 'pause':
paused = true;
return twitchPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
function sendEvents(events) {
for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
var event = mejs.Utils.createEvent(events[_i2], twitch);
mediaElement.dispatchEvent(event);
}
}
window['__ready__' + twitch.id] = function (_twitchPlayer) {
mediaElement.twitchPlayer = twitchPlayer = _twitchPlayer;
if (apiStack.length) {
for (var _i3 = 0, _total3 = apiStack.length; _i3 < _total3; _i3++) {
var stackItem = apiStack[_i3];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
twitch['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
twitch[stackItem.methodName]();
}
}
}
var twitchIframe = document.getElementById(twitch.id).firstChild;
twitchIframe.style.width = '100%';
twitchIframe.style.height = '100%';
var events = ['mouseover', 'mouseout'],
assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, twitch);
mediaElement.dispatchEvent(event);
};
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
twitchIframe.addEventListener(events[_i4], assignEvents, false);
}
var timer = void 0;
twitchPlayer.addEventListener(Twitch.Player.READY, function () {
paused = false;
ended = false;
sendEvents(['rendererready', 'loadedmetadata', 'loadeddata', 'canplay']);
});
twitchPlayer.addEventListener(Twitch.Player.PLAY, function () {
if (!hasStartedPlaying) {
hasStartedPlaying = true;
}
paused = false;
ended = false;
sendEvents(['play', 'playing', 'progress']);
timer = setInterval(function () {
twitchPlayer.getCurrentTime();
sendEvents(['timeupdate']);
}, 250);
});
twitchPlayer.addEventListener(Twitch.Player.PAUSE, function () {
paused = true;
ended = false;
if (!twitchPlayer.getEnded()) {
sendEvents(['pause']);
}
});
twitchPlayer.addEventListener(Twitch.Player.ENDED, function () {
paused = true;
ended = true;
sendEvents(['ended']);
clearInterval(timer);
hasStartedPlaying = false;
timer = null;
});
};
var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width,
twitchContainer = document.createElement('div'),
type = TwitchApi.getTwitchType(twitchId),
twitchSettings = {
id: twitch.id,
width: width,
height: height,
playsinline: false,
autoplay: mediaElement.originalNode.autoplay,
muted: mediaElement.originalNode.muted
};
twitchSettings[type] = twitchId;
twitchContainer.id = twitch.id;
twitchContainer.style.width = '100%';
twitchContainer.style.height = '100%';
mediaElement.originalNode.parentNode.insertBefore(twitchContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
mediaElement.originalNode.autoplay = false;
twitch.setSize = function (width, height) {
if (TwitchApi !== null && !isNaN(width) && !isNaN(height)) {
twitchContainer.setAttribute('width', width);
twitchContainer.setAttribute('height', height);
}
};
twitch.hide = function () {
twitch.pause();
twitchContainer.style.display = 'none';
};
twitch.show = function () {
twitchContainer.style.display = '';
};
twitch.destroy = function () {};
TwitchApi.load(twitchSettings);
return twitch;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/\/\/(www|player).twitch.tv/i.test(url) ? 'video/x-twitch' : null
);
});
mejs.Renderers.add(TwitchIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,432 @@
/*!
* 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
*
*/(function(){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}return e})()({1:[function(_dereq_,module,exports){
'use strict';
var VimeoApi = {
promise: null,
load: function load(settings) {
if (typeof Vimeo !== 'undefined') {
VimeoApi._createPlayer(settings);
} else {
VimeoApi.promise = VimeoApi.promise || mejs.Utils.loadScript('https://player.vimeo.com/api/player.js');
VimeoApi.promise.then(function () {
VimeoApi._createPlayer(settings);
});
}
},
_createPlayer: function _createPlayer(settings) {
var player = new Vimeo.Player(settings.iframe);
window['__ready__' + settings.id](player);
},
getVimeoId: function getVimeoId(url) {
if (url == null) {
return null;
}
var parts = url.split('?');
url = parts[0];
var playerLinkMatch = url.match(/https:\/\/player.vimeo.com\/video\/(\d+)$/);
if (playerLinkMatch) {
return parseInt(playerLinkMatch[1], 10);
}
var vimeoLinkMatch = url.match(/https:\/\/vimeo.com\/(\d+)$/);
if (vimeoLinkMatch) {
return parseInt(vimeoLinkMatch[1], 10);
}
var privateVimeoLinkMatch = url.match(/https:\/\/vimeo.com\/(\d+)\/\w+$/);
if (privateVimeoLinkMatch) {
return parseInt(privateVimeoLinkMatch[1], 10);
}
return NaN;
}
};
var vimeoIframeRenderer = {
name: 'vimeo_iframe',
options: {
prefix: 'vimeo_iframe'
},
canPlayType: function canPlayType(type) {
return ~['video/vimeo', 'video/x-vimeo'].indexOf(type.toLowerCase());
},
create: function create(mediaElement, options, mediaFiles) {
var apiStack = [],
vimeo = {},
readyState = 4;
var paused = true,
volume = 1,
oldVolume = volume,
currentTime = 0,
bufferedTime = 0,
ended = false,
duration = 0,
vimeoPlayer = null,
url = '';
vimeo.options = options;
vimeo.id = mediaElement.id + '_' + options.prefix;
vimeo.mediaElement = mediaElement;
var errorHandler = function errorHandler(error) {
mediaElement.generateError('Code ' + error.name + ': ' + error.message, mediaFiles);
};
var props = mejs.html5media.properties,
assignGettersSetters = function assignGettersSetters(propName) {
var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
vimeo['get' + capName] = function () {
if (vimeoPlayer !== null) {
var value = null;
switch (propName) {
case 'currentTime':
return currentTime;
case 'duration':
return duration;
case 'volume':
return volume;
case 'muted':
return volume === 0;
case 'paused':
return paused;
case 'ended':
return ended;
case 'src':
vimeoPlayer.getVideoUrl().then(function (_url) {
url = _url;
}).catch(function (error) {
return errorHandler(error);
});
return url;
case 'buffered':
return {
start: function start() {
return 0;
},
end: function end() {
return bufferedTime * duration;
},
length: 1
};
case 'readyState':
return readyState;
}
return value;
} else {
return null;
}
};
vimeo['set' + capName] = function (value) {
if (vimeoPlayer !== null) {
switch (propName) {
case 'src':
var _url2 = typeof value === 'string' ? value : value[0].src,
videoId = VimeoApi.getVimeoId(_url2);
vimeoPlayer.loadVideo(videoId).then(function () {
if (mediaElement.originalNode.autoplay) {
vimeoPlayer.play();
}
}).catch(function (error) {
return errorHandler(error);
});
break;
case 'currentTime':
vimeoPlayer.setCurrentTime(value).then(function () {
currentTime = value;
setTimeout(function () {
var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
return errorHandler(error);
});
break;
case 'volume':
vimeoPlayer.setVolume(value).then(function () {
volume = value;
oldVolume = volume;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
return errorHandler(error);
});
break;
case 'loop':
vimeoPlayer.setLoop(value).catch(function (error) {
return errorHandler(error);
});
break;
case 'muted':
if (value) {
vimeoPlayer.setVolume(0).then(function () {
volume = 0;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
return errorHandler(error);
});
} else {
vimeoPlayer.setVolume(oldVolume).then(function () {
volume = oldVolume;
setTimeout(function () {
var event = mejs.Utils.createEvent('volumechange', vimeo);
mediaElement.dispatchEvent(event);
}, 50);
}).catch(function (error) {
return errorHandler(error);
});
}
break;
case 'readyState':
var event = mejs.Utils.createEvent('canplay', vimeo);
mediaElement.dispatchEvent(event);
break;
default:
break;
}
} else {
apiStack.push({ type: 'set', propName: propName, value: value });
}
};
};
for (var i = 0, total = props.length; i < total; i++) {
assignGettersSetters(props[i]);
}
var methods = mejs.html5media.methods,
assignMethods = function assignMethods(methodName) {
vimeo[methodName] = function () {
if (vimeoPlayer !== null) {
switch (methodName) {
case 'play':
paused = false;
return vimeoPlayer.play();
case 'pause':
paused = true;
return vimeoPlayer.pause();
case 'load':
return null;
}
} else {
apiStack.push({ type: 'call', methodName: methodName });
}
};
};
for (var _i = 0, _total = methods.length; _i < _total; _i++) {
assignMethods(methods[_i]);
}
window['__ready__' + vimeo.id] = function (_vimeoPlayer) {
mediaElement.vimeoPlayer = vimeoPlayer = _vimeoPlayer;
if (apiStack.length) {
for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
var stackItem = apiStack[_i2];
if (stackItem.type === 'set') {
var propName = stackItem.propName,
capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
vimeo['set' + capName](stackItem.value);
} else if (stackItem.type === 'call') {
vimeo[stackItem.methodName]();
}
}
}
if (mediaElement.originalNode.muted) {
vimeoPlayer.setVolume(0);
volume = 0;
}
var vimeoIframe = document.getElementById(vimeo.id);
var events = void 0;
events = ['mouseover', 'mouseout'];
var assignEvents = function assignEvents(e) {
var event = mejs.Utils.createEvent(e.type, vimeo);
mediaElement.dispatchEvent(event);
};
for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
vimeoIframe.addEventListener(events[_i3], assignEvents, false);
}
vimeoPlayer.on('loaded', function () {
vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress;
if (duration > 0) {
bufferedTime = duration * loadProgress;
if (mediaElement.originalNode.autoplay) {
paused = false;
ended = false;
var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event);
}
}
}).catch(function (error) {
errorHandler(error, vimeo);
});
});
vimeoPlayer.on('progress', function () {
vimeoPlayer.getDuration().then(function (loadProgress) {
duration = loadProgress;
if (duration > 0) {
bufferedTime = duration * loadProgress;
if (mediaElement.originalNode.autoplay) {
var initEvent = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(initEvent);
var playingEvent = mejs.Utils.createEvent('playing', vimeo);
mediaElement.dispatchEvent(playingEvent);
}
}
var event = mejs.Utils.createEvent('progress', vimeo);
mediaElement.dispatchEvent(event);
}).catch(function (error) {
return errorHandler(error);
});
});
vimeoPlayer.on('timeupdate', function () {
vimeoPlayer.getCurrentTime().then(function (seconds) {
currentTime = seconds;
var event = mejs.Utils.createEvent('timeupdate', vimeo);
mediaElement.dispatchEvent(event);
}).catch(function (error) {
return errorHandler(error);
});
});
vimeoPlayer.on('play', function () {
paused = false;
ended = false;
var event = mejs.Utils.createEvent('play', vimeo);
mediaElement.dispatchEvent(event);
var playingEvent = mejs.Utils.createEvent('playing', vimeo);
mediaElement.dispatchEvent(playingEvent);
});
vimeoPlayer.on('pause', function () {
paused = true;
ended = false;
var event = mejs.Utils.createEvent('pause', vimeo);
mediaElement.dispatchEvent(event);
});
vimeoPlayer.on('ended', function () {
paused = false;
ended = true;
var event = mejs.Utils.createEvent('ended', vimeo);
mediaElement.dispatchEvent(event);
});
events = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
var event = mejs.Utils.createEvent(events[_i4], vimeo);
mediaElement.dispatchEvent(event);
}
};
var height = mediaElement.originalNode.height,
width = mediaElement.originalNode.width,
vimeoContainer = document.createElement('iframe'),
standardUrl = 'https://player.vimeo.com/video/' + VimeoApi.getVimeoId(mediaFiles[0].src);
var queryArgs = ~mediaFiles[0].src.indexOf('?') ? '?' + mediaFiles[0].src.slice(mediaFiles[0].src.indexOf('?') + 1) : '';
var args = [];
if (mediaElement.originalNode.autoplay && queryArgs.indexOf('autoplay') === -1) {
args.push('autoplay=1');
}
if (mediaElement.originalNode.loop && queryArgs.indexOf('loop') === -1) {
args.push('loop=1');
}
queryArgs = '' + queryArgs + (queryArgs ? '&' : '?') + args.join('&');
vimeoContainer.setAttribute('id', vimeo.id);
vimeoContainer.setAttribute('width', width);
vimeoContainer.setAttribute('height', height);
vimeoContainer.setAttribute('frameBorder', '0');
vimeoContainer.setAttribute('src', '' + standardUrl + queryArgs);
vimeoContainer.setAttribute('webkitallowfullscreen', 'true');
vimeoContainer.setAttribute('mozallowfullscreen', 'true');
vimeoContainer.setAttribute('allowfullscreen', 'true');
vimeoContainer.setAttribute('allow', 'autoplay');
mediaElement.originalNode.parentNode.insertBefore(vimeoContainer, mediaElement.originalNode);
mediaElement.originalNode.style.display = 'none';
VimeoApi.load({
iframe: vimeoContainer,
id: vimeo.id
});
vimeo.hide = function () {
vimeo.pause();
if (vimeoPlayer) {
vimeoContainer.style.display = 'none';
}
};
vimeo.setSize = function (width, height) {
vimeoContainer.setAttribute('width', width);
vimeoContainer.setAttribute('height', height);
};
vimeo.show = function () {
if (vimeoPlayer) {
vimeoContainer.style.display = '';
}
};
vimeo.destroy = function () {};
return vimeo;
}
};
mejs.Utils.typeChecks.push(function (url) {
return (/(\/\/player\.vimeo|vimeo\.com)/i.test(url) ? 'video/x-vimeo' : null
);
});
mejs.Renderers.add(vimeoIframeRenderer);
},{}]},{},[1]);

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff