Skip to content

Commit

Permalink
update mediaelement.js to v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Feb 28, 2017
1 parent b92b0d3 commit 4194060
Show file tree
Hide file tree
Showing 40 changed files with 5,362 additions and 6,711 deletions.
6 changes: 3 additions & 3 deletions external/ExtPrograms.csv
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class.upload,0.33,github.com/verot/class.upload.php,0.33,Correct flip operation
iCalCreator,2.22.0,github.com/iCalcreator/iCalcreator,2.22.0,php7 fixes & vcalendar $this->filename fix
scssphp,0.3.1exp,github.com/leafo/scssphp,0.6.7,added Server\cachedCompile()
lessphp,0.5.0,github.com/leafo/lessphp,0.5.0,will not compile bootstrap v3+
less.php,1.7.0.10,github.com/oyejorge/less.php,1.7.0.13,
less.php,1.7.0.13,github.com/oyejorge/less.php,1.7.0.13,
iLess,2.2.0,github.com/mishal/iless,2.2.0,"optional, has issues with bootstrap v2"
Twitter-Bootstrap2,2.3.2,twitter.github.com/bootstrap,2.3.2,"patched bootstrap.less includes swatches, fontawesome & exp variables"
Twitter-Bootstrap,3.3.7,twitter.github.com/bootstrap,3.3.7,patched bootstrap.less includes swatches & exp variables
Expand All @@ -31,7 +31,7 @@ Font-Awesome,4.7.0,fortawesome.github.com/Font-Awesome,4.7.0,
Adminer,4.2.5,www.adminer.org,4.2.5,"customized plugsins: tinymce, edit-textarea & edit-calendar"
SimpleAjaxUploader,2.5.5,github.com/LPology/Simple-Ajax-Uploader,2.5.5,also converted to yui module 2.5.3
normalize.css,5.0.0,necolas.github.com/normalize.css/,5.0.0,auto included in bootstrap 3
MediaElement.js,2.23.5,mediaelementjs.com/,3.1.3,
MediaElement.js,3.2.1,mediaelementjs.com/,3.2.1,
Facebook PHP SDK3,3.2.3,github.com/facebook/facebook-php-sdk,5.4.5,
Facebook PHP SDK4,4.0.23,github.com/facebook/facebook-php-sdk-v4,5.4.5,
Respond,1.4.2,github.com/scottjehl/Respond,1.4.2,IE6-8 shim
Expand Down Expand Up @@ -65,7 +65,7 @@ DateTimePicker,2.5.4exp,xdsoft.net/jqplugins/datetimepicker/,2.5.4,we add .js au
Bootstrap DateTimePicker,4.17.45,github.com/Eonasdan/bootstrap-datetimepicker,4.17.45,patch for 'today' in side-by-side view
moment.js,2.17.1,github.com/moment/moment,2.17.1,needed for Bootstrap DateTimePicker
strength-meter,1.1.3,github.com/kartik-v/strength-meter,1.1.3,
Sortable,1.4.2exp,github.com/RubaXa/Sortable,1.5.1,patched with dragout fix
Sortable,1.5.1,github.com/RubaXa/Sortable,1.5.1,
jstree,3.3.3,github.com/vakata/jstree,3.3.3,added nav menu icons to stylesheet
bootstrap3-dialog,1.35.3,github.com/nakupanda/bootstrap3-dialog,1.35.3,use /src .less file and add our .less variable imports
impromptu,6.2.3,trentrichardson.com/Impromptu,6.2.3,add some colors to .css
Expand Down
17 changes: 12 additions & 5 deletions external/mediaelement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ In order to successfully install `3.x` in an existing setup, you must consider t

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. 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.
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.

3. 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`***.
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`***.

4. 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.
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.

5. `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:
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({
Expand All @@ -66,7 +68,7 @@ $('video, audio').mediaelementplayer({
});
```

**It is strongly recommended to read the documentation to get the most out of this package**. Visit [here](docs) to start.
**It is strongly recommended to read the documentation and check the `demo` folder to get the most out of this package**. Visit [here](docs) to start.

<a id="installation"></a>
## Installation and Usage
Expand All @@ -87,6 +89,11 @@ Additional features can be found at https://github.com/johndyer/mediaelement-plu

If you want to contribute to improve this package, please read [Guidelines](docs/guidelines.md).

<a id="sources"></a>
## Useful resources

A compilation of useful articles can be found [here](docs/resources.md).

<a id="changelog"></a>
## Change Log

Expand Down
22 changes: 5 additions & 17 deletions external/mediaelement/build/lang/ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,21 @@
exports.ca = {
"mejs.plural-form": 1,
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen-off": "Desconnectar pantalla completaa",
"mejs.fullscreen-on": "Anar a pantalla completa",
"mejs.download-video": "Descarregar vídeo",
"mejs.fullscreen": "Pantalla completa",
// "mejs.time-jump-forward": ["Jump forward 1 second", "Jump forward %1 seconds"],
//"mejs.loop": "Toggle Loop",
"mejs.play": "Reproducció",
"mejs.pause": "Pausa",
"mejs.close": "Tancar",
// "mejs.time-slider": "Time Slider",
// "mejs.time-help-text": "Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.",
// "mejs.time-skip-back": ["Skip back 1 second", "Skip back %1 seconds"],
"mejs.captions-subtitles": "Llegendes/Subtítols",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ningú",
// "mejs.time-help-text": "Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.",
//"mejs.live-broadcast" : "Live Broadcast",
// "mejs.volume-help-text": "Use Up/Down Arrow keys to increase or decrease volume.",
"mejs.unmute": "Reactivar silenci",
"mejs.mute": "Silenci",
// "mejs.volume-slider": "Volume Slider",
"mejs.video-player": "Reproductor de vídeo",
"mejs.audio-player": "Reproductor d'àudio",
"mejs.ad-skip": "Salta publicitat",
"mejs.ad-skip-info": ["Salta en 1 segon", "Salta en %1 segons"],
// "mejs.source-chooser": "Source Chooser",
"mejs.stop": "Aturar"
//"mejs.speed-rate" : "Speed Rate",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.captions-subtitles": "Llegendes/Subtítols",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ningú"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
Expand Down
24 changes: 6 additions & 18 deletions external/mediaelement/build/lang/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,21 @@
exports.cs = {
"mejs.plural-form": 8,
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen-off": "Vypnout režim celá obrazovka",
"mejs.fullscreen-on": "Na celou obrazovku",
"mejs.download-video": "Stáhnout video",
"mejs.fullscreen": "Celá obrazovka",
//"mejs.time-jump-forward": "Jump forward %1 second(s)",
//"mejs.loop": "Toggle Loop",
"mejs.play": "Přehrát",
"mejs.pause": "Pozastavit",
"mejs.close": "Zavřít",
"mejs.time-slider": "Posuvný běžec nastavení času",
"mejs.time-help-text": "Použijte tlačítka se šipkami doleva / doprava pro posun o jednu vteřinu, tlačítka se šipkami nahoru / dolů pro posun o deset vteřin.",
"mejs.time-skip-back": "Zpět o %1 vteřin",
"mejs.captions-subtitles": "Titulky",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Žádný",
"mejs.time-help-text": "Použijte tlačítka se šipkami doleva / doprava pro posun o jednu vteřinu, tlačítka se šipkami nahoru / dolů pro posun o deset vteřin.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Použijte tlačítka se šipkami nahoru / dolů pro zesílení nebo zeslabení hlasitosti.",
"mejs.unmute": "Zapnout zvuk",
"mejs.mute": "Vypnout zvuk",
"mejs.volume-slider": "Posuvný běžec nastavení hlasitosti",
"mejs.video-player": "Přehrávač videa",
"mejs.audio-player": "Přehrávač hudby"
//"mejs.ad-skip": "Skip ad",
//"mejs.ad-skip-info": "Skip in %1 second(s)",
//"mejs.source-chooser": "Source Chooser",
//"mejs.stop": "Stop",
//"mejs.speed-rate" : "Speed Rate",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.audio-player": "Přehrávač hudby",
"mejs.captions-subtitles": "Titulky",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Žádný"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
Expand Down
22 changes: 5 additions & 17 deletions external/mediaelement/build/lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,21 @@
exports.de = {
"mejs.plural-form": 1,
"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-off": "Vollbildmodus beenden",
"mejs.fullscreen-on": "Vollbild",
"mejs.download-video": "Video herunterladen",
"mejs.fullscreen": "Vollbild",
"mejs.time-jump-forward": ["1 Sekunde vorspulen", "%1 Sekunden vorspulen"],
"mejs.loop": "Wiederholung (de-)aktivieren",
"mejs.play": "Abspielen",
"mejs.pause": "Pause",
"mejs.close": "Schließen",
"mejs.time-slider": "Zeitschieberegler",
"mejs.time-help-text": "Verwende die Pfeiltaste nach links/rechts, um eine Sekunde zu spulen, hoch/runter um zehn Sekunden zu spulen.",
"mejs.time-skip-back": ["1 Sekunde zurückspulen", "%1 Sekunden zurückspulen"],
"mejs.captions-subtitles": "Überschriften/Untertitel",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Keine",
"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.ad-skip": "Werbung überspringen",
"mejs.ad-skip-info": ["Überspringen in 1 Sekunde", "Überspringen in %1 Sekunden"],
"mejs.source-chooser": "Quellenauswahl",
"mejs.stop": "Stop",
"mejs.speed-rate" : "Geschwindigkeitsrate",
"mejs.live-broadcast" : "Live-Übertragung",
"mejs.captions-subtitles": "Überschriften/Untertitel",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Keine",
"mejs.afrikaans": "Afrikanisch",
"mejs.albanian": "Albanisch",
"mejs.arabic": "Arabisch",
Expand Down
22 changes: 5 additions & 17 deletions external/mediaelement/build/lang/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,21 @@
exports.es = {
"mejs.plural-form": 1,
"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-off": "Desconectar pantalla completa",
"mejs.fullscreen-on": "Ir a pantalla completa",
"mejs.download-video": "Descargar vídeo",
"mejs.fullscreen": "Pantalla completa",
"mejs.time-jump-forward": ["Adelantar 1 segundo", "Adelantar %1 segundos"],
"mejs.loop": "Alternar Repetición",
"mejs.play": "Reproducción",
"mejs.pause": "Pausa",
"mejs.close": "Cerrar",
"mejs.time-slider": "Control deslizante de tiempo",
"mejs.time-help-text": "Use las flechas Izquierda/Derecha para avanzar un segundo y las flechas Arriba/Abajo para avanzar diez segundos.",
"mejs.time-skip-back": ["Rebobinar 1 segundo", "Rebobinar %1 segundos"],
"mejs.captions-subtitles": "Leyendas/Subtítulos",
"mejs.captions-chapters": "Capítulos",
"mejs.none": "Ninguno",
"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.ad-skip": "Saltar publicidad",
"mejs.ad-skip-info": ["Saltar 1 segundo", "Saltar %1 segundos"],
"mejs.source-chooser": "Selector de media",
"mejs.stop": "Parar",
"mejs.speed-rate": "Tasa de velocidad",
"mejs.live-broadcast": "Transmisión en Vivo",
"mejs.captions-subtitles": "Leyendas/Subtítulos",
"mejs.captions-chapters": "Capítulos",
"mejs.none": "Ninguno",
"mejs.afrikaans": "Afrikaans",
"mejs.albanian": "Albano",
"mejs.arabic": "Árabe",
Expand Down
22 changes: 5 additions & 17 deletions external/mediaelement/build/lang/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,21 @@
exports.fr = {
"mejs.plural-form": 2,
// "mejs.install-flash": "You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/",
"mejs.fullscreen-off": "Quitter le mode plein écran",
"mejs.fullscreen-on": "Afficher en plein écran",
"mejs.download-video": "Télécharger la vidéo",
"mejs.fullscreen": "Plein écran",
"mejs.time-jump-forward": "Avancer de %1 secondes",
//"mejs.loop": "Toggle Loop",
"mejs.play": "Lecture",
"mejs.pause": "Pause",
"mejs.close": "Fermer",
"mejs.time-slider": "Curseur temporel",
"mejs.time-help-text": "Utilisez les flèches Gauche/Droite du clavier pour avancer d'une seconde, les flèches Haut/Bas pour avancer de 10 secondes.",
"mejs.time-skip-back": "Reculer de %1 secondes",
"mejs.captions-subtitles": "Sous-titres",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Aucun",
"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" : "Live Broadcast",
"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.ad-skip": "Passer la publicité",
"mejs.ad-skip-info": "Passer la publicité dans %1 secondes",
"mejs.source-chooser": "Sélecteur de média"
//"mejs.stop": "Stop",
//"mejs.speed-rate" : "Speed Rate",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.captions-subtitles": "Sous-titres",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Aucun"
// "mejs.afrikaans": "Afrikaans",
// "mejs.albanian": "Albanian",
// "mejs.arabic": "Arabic",
Expand Down
22 changes: 5 additions & 17 deletions external/mediaelement/build/lang/hr.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,21 @@
exports.hr = {
"mejs.plural-form": 7,
"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-off": "Isključi puni zaslon",
"mejs.fullscreen-on": "Uključi puni zaslon",
"mejs.download-video": "Preuzmi video",
"mejs.fullscreen": "Puni zaslon",
"mejs.time-jump-forward": ["Skoči naprijed 1 sekundu", "Skoči naprijed %1 sekunde", "Skoči naprijed %1 sekundi"],
"mejs.loop": "Uključi/isključi ponavljanje",
"mejs.play": "Pokreni",
"mejs.pause": "Zaustavi",
"mejs.close": "Zatvori",
"mejs.time-slider": "Vremenska traka",
"mejs.time-help-text": "Koristi strelice lijevo/desno za pomak naprijed za 1 sekundu te gore/dolje za pomak od 10 sekundi.",
"mejs.time-skip-back": ["Skoči natrag 1 sekundu", "Skoči natrag %1 sekunde", "Skoči natrag %1 sekundi"],
"mejs.captions-subtitles": "Opisi/Prijevodi",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ništa",
"mejs.time-help-text": "Koristi strelice lijevo/desno za pomak naprijed za 1 sekundu te gore/dolje za pomak od 10 sekundi.",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.volume-help-text": "Koristi strelice gore/dolje za pojačavanje ili stišavanje.",
"mejs.unmute": "Uključi zvuk",
"mejs.mute": "Isključi zvuk",
"mejs.volume-slider": "Pokazivač razine zvuka",
"mejs.video-player": "Video preglednik",
"mejs.audio-player": "Audio preglednik",
"mejs.ad-skip": "Preskoči oglas",
"mejs.ad-skip-info": ["Preskoči za 1 sekundu", "Preskoči za %1 sekunde", "Preskoči za %1 sekundi"],
"mejs.source-chooser": "Obabir izvora",
"mejs.stop": "Zaustavi",
"mejs.speed-rate": "Brzina reprodukcije",
//"mejs.live-broadcast" : "Live Broadcast",
"mejs.captions-subtitles": "Opisi/Prijevodi",
// "mejs.captions-chapters": "Chapters",
"mejs.none": "Ništa",
"mejs.afrikaans": "Afrički",
"mejs.albanian": "Albanski",
"mejs.arabic": "Arapski",
Expand Down

0 comments on commit 4194060

Please sign in to comment.