35 |
36 |
37 |
106 |
--------------------------------------------------------------------------------
/src/components/video-js/font/VideoJS.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/font/VideoJS.eot
--------------------------------------------------------------------------------
/src/components/video-js/font/VideoJS.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/font/VideoJS.ttf
--------------------------------------------------------------------------------
/src/components/video-js/font/VideoJS.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/font/VideoJS.woff
--------------------------------------------------------------------------------
/src/components/video-js/img/B3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/img/B3.jpg
--------------------------------------------------------------------------------
/src/components/video-js/img/demo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/img/demo.png
--------------------------------------------------------------------------------
/src/components/video-js/lang/ar.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ar",{
2 | "Play": "تشغيل",
3 | "Pause": "ايقاف",
4 | "Current Time": "الوقت الحالي",
5 | "Duration Time": "Dauer",
6 | "Remaining Time": "الوقت المتبقي",
7 | "Stream Type": "نوع التيار",
8 | "LIVE": "مباشر",
9 | "Loaded": "تم التحميل",
10 | "Progress": "التقدم",
11 | "Fullscreen": "ملء الشاشة",
12 | "Non-Fullscreen": "غير ملء الشاشة",
13 | "Mute": "صامت",
14 | "Unmute": "غير الصامت",
15 | "Playback Rate": "معدل التشغيل",
16 | "Subtitles": "الترجمة",
17 | "subtitles off": "ايقاف الترجمة",
18 | "Captions": "التعليقات",
19 | "captions off": "ايقاف التعليقات",
20 | "Chapters": "فصول",
21 | "You aborted the media playback": "لقد ألغيت تشغيل الفيديو",
22 | "A network error caused the media download to fail part-way.": "تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "لا يمكن تحميل الفيديو بسبب فشل في الخادم أو الشبكة ، أو فشل بسبب عدم امكانية قراءة تنسيق الفيديو.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "تم ايقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.",
25 | "No compatible source was found for this media.": "فشل العثور على أي مصدر متوافق مع هذا الفيديو."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/ba.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ba",{
2 | "Play": "Pusti",
3 | "Pause": "Pauza",
4 | "Current Time": "Trenutno vrijeme",
5 | "Duration Time": "Vrijeme trajanja",
6 | "Remaining Time": "Preostalo vrijeme",
7 | "Stream Type": "Način strimovanja",
8 | "LIVE": "UŽIVO",
9 | "Loaded": "Učitan",
10 | "Progress": "Progres",
11 | "Fullscreen": "Puni ekran",
12 | "Non-Fullscreen": "Mali ekran",
13 | "Mute": "Prigušen",
14 | "Unmute": "Ne-prigušen",
15 | "Playback Rate": "Stopa reprodukcije",
16 | "Subtitles": "Podnaslov",
17 | "subtitles off": "Podnaslov deaktiviran",
18 | "Captions": "Titlovi",
19 | "captions off": "Titlovi deaktivirani",
20 | "Chapters": "Poglavlja",
21 | "You aborted the media playback": "Isključili ste reprodukciju videa.",
22 | "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.",
25 | "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/bg.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("bg",{
2 | "Play": "Възпроизвеждане",
3 | "Pause": "Пауза",
4 | "Current Time": "Текущо време",
5 | "Duration Time": "Продължителност",
6 | "Remaining Time": "Оставащо време",
7 | "Stream Type": "Тип на потока",
8 | "LIVE": "НА ЖИВО",
9 | "Loaded": "Заредено",
10 | "Progress": "Прогрес",
11 | "Fullscreen": "Цял екран",
12 | "Non-Fullscreen": "Спиране на цял екран",
13 | "Mute": "Без звук",
14 | "Unmute": "Със звук",
15 | "Playback Rate": "Скорост на възпроизвеждане",
16 | "Subtitles": "Субтитри",
17 | "subtitles off": "Спряни субтитри",
18 | "Captions": "Аудио надписи",
19 | "captions off": "Спряни аудио надписи",
20 | "Chapters": "Глави",
21 | "You aborted the media playback": "Спряхте възпроизвеждането на видеото",
22 | "A network error caused the media download to fail part-way.": "Грешка в мрежата провали изтеглянето на видеото.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.",
25 | "No compatible source was found for this media.": "Не беше намерен съвместим източник за това видео."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/ca.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ca",{
2 | "Play": "Reproducció",
3 | "Pause": "Pausa",
4 | "Current Time": "Temps reproduït",
5 | "Duration Time": "Durada total",
6 | "Remaining Time": "Temps restant",
7 | "Stream Type": "Tipus de seqüència",
8 | "LIVE": "EN DIRECTE",
9 | "Loaded": "Carregat",
10 | "Progress": "Progrés",
11 | "Fullscreen": "Pantalla completa",
12 | "Non-Fullscreen": "Pantalla no completa",
13 | "Mute": "Silencia",
14 | "Unmute": "Amb so",
15 | "Playback Rate": "Velocitat de reproducció",
16 | "Subtitles": "Subtítols",
17 | "subtitles off": "Subtítols desactivats",
18 | "Captions": "Llegendes",
19 | "captions off": "Llegendes desactivades",
20 | "Chapters": "Capítols",
21 | "You aborted the media playback": "Heu interromput la reproducció del vídeo.",
22 | "A network error caused the media download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el vídeo perquè el servidor o la xarxa han fallat, o bé perquè el seu format no és compatible.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció de vídeo s'ha interrumput per un problema de corrupció de dades o bé perquè el vídeo demanava funcions que el vostre navegador no ofereix.",
25 | "No compatible source was found for this media.": "No s'ha trobat cap font compatible amb el vídeo."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/cs.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("cs",{
2 | "Play": "Přehrát",
3 | "Pause": "Pauza",
4 | "Current Time": "Aktuální čas",
5 | "Duration Time": "Doba trvání",
6 | "Remaining Time": "Zbývající čas",
7 | "Stream Type": "Stream Type",
8 | "LIVE": "ŽIVĚ",
9 | "Loaded": "Načteno",
10 | "Progress": "Stav",
11 | "Fullscreen": "Celá obrazovka",
12 | "Non-Fullscreen": "Zmenšená obrazovka",
13 | "Mute": "Ztlumit zvuk",
14 | "Unmute": "Přehrát zvuk",
15 | "Playback Rate": "Rychlost přehrávání",
16 | "Subtitles": "Titulky",
17 | "subtitles off": "Titulky vypnuty",
18 | "Captions": "Popisky",
19 | "captions off": "Popisky vypnuty",
20 | "Chapters": "Kapitoly",
21 | "You aborted the media playback": "Přehrávání videa je přerušeno.",
22 | "A network error caused the media download to fail part-way.": "Video nemohlo být načteno, kvůli chybě v síti.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video nemohlo být načteno, buď kvůli chybě serveru nebo sítě nebo proto, že daný formát není podporován.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Váš prohlížeč nepodporuje formát videa.",
25 | "No compatible source was found for this media.": "Špatně zadaný zdroj videa."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/da.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("da",{
2 | "Play": "Afspil",
3 | "Pause": "Pause",
4 | "Current Time": "Aktuel tid",
5 | "Duration Time": "Varighed",
6 | "Remaining Time": "Resterende tid",
7 | "Stream Type": "Stream-type",
8 | "LIVE": "LIVE",
9 | "Loaded": "Indlæst",
10 | "Progress": "Status",
11 | "Fullscreen": "Fuldskærm",
12 | "Non-Fullscreen": "Luk fuldskærm",
13 | "Mute": "Uden lyd",
14 | "Unmute": "Med lyd",
15 | "Playback Rate": "Afspilningsrate",
16 | "Subtitles": "Undertekster",
17 | "subtitles off": "Uden undertekster",
18 | "Captions": "Undertekster for hørehæmmede",
19 | "captions off": "Uden undertekster for hørehæmmede",
20 | "Chapters": "Kapitler",
21 | "You aborted the media playback": "Du afbrød videoafspilningen.",
22 | "A network error caused the media download to fail part-way.": "En netværksfejl fik download af videoen til at fejle.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikke indlæses, enten fordi serveren eller netværket fejlede, eller fordi formatet ikke er understøttet.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoafspilningen blev afbrudt på grund af ødelagte data eller fordi videoen benyttede faciliteter som din browser ikke understøtter.",
25 | "No compatible source was found for this media.": "Fandt ikke en kompatibel kilde for denne media."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/de.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("de",{
2 | "Play": "Wiedergabe",
3 | "Pause": "Pause",
4 | "Current Time": "Aktueller Zeitpunkt",
5 | "Duration Time": "Dauer",
6 | "Remaining Time": "Verbleibende Zeit",
7 | "Stream Type": "Streamtyp",
8 | "LIVE": "LIVE",
9 | "Loaded": "Geladen",
10 | "Progress": "Status",
11 | "Fullscreen": "Vollbild",
12 | "Non-Fullscreen": "Kein Vollbild",
13 | "Mute": "Ton aus",
14 | "Unmute": "Ton ein",
15 | "Playback Rate": "Wiedergabegeschwindigkeit",
16 | "Subtitles": "Untertitel",
17 | "subtitles off": "Untertitel aus",
18 | "Captions": "Untertitel",
19 | "captions off": "Untertitel aus",
20 | "Chapters": "Kapitel",
21 | "You aborted the media playback": "Sie haben die Videowiedergabe abgebrochen.",
22 | "A network error caused the media download to fail part-way.": "Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.",
25 | "No compatible source was found for this media.": "Für dieses Video wurde keine kompatible Quelle gefunden."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/es.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("es",{
2 | "Play": "Reproducción",
3 | "Pause": "Pausa",
4 | "Current Time": "Tiempo reproducido",
5 | "Duration Time": "Duración total",
6 | "Remaining Time": "Tiempo restante",
7 | "Stream Type": "Tipo de secuencia",
8 | "LIVE": "DIRECTO",
9 | "Loaded": "Cargado",
10 | "Progress": "Progreso",
11 | "Fullscreen": "Pantalla completa",
12 | "Non-Fullscreen": "Pantalla no completa",
13 | "Mute": "Silenciar",
14 | "Unmute": "No silenciado",
15 | "Playback Rate": "Velocidad de reproducción",
16 | "Subtitles": "Subtítulos",
17 | "subtitles off": "Subtítulos desactivados",
18 | "Captions": "Subtítulos especiales",
19 | "captions off": "Subtítulos especiales desactivados",
20 | "Chapters": "Capítulos",
21 | "You aborted the media playback": "Ha interrumpido la reproducción del vídeo.",
22 | "A network error caused the media download to fail part-way.": "Un error de red ha interrumpido la descarga del vídeo.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.",
25 | "No compatible source was found for this media.": "No se ha encontrado ninguna fuente compatible con este vídeo."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/fi.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("fi",{
2 | "Play": "Toisto",
3 | "Pause": "Tauko",
4 | "Current Time": "Tämänhetkinen aika",
5 | "Duration Time": "Kokonaisaika",
6 | "Remaining Time": "Jäljellä oleva aika",
7 | "Stream Type": "Lähetystyyppi",
8 | "LIVE": "LIVE",
9 | "Loaded": "Ladattu",
10 | "Progress": "Edistyminen",
11 | "Fullscreen": "Koko näyttö",
12 | "Non-Fullscreen": "Koko näyttö pois",
13 | "Mute": "Ääni pois",
14 | "Unmute": "Ääni päällä",
15 | "Playback Rate": "Toistonopeus",
16 | "Subtitles": "Tekstitys",
17 | "subtitles off": "Tekstitys pois",
18 | "Captions": "Tekstitys",
19 | "captions off": "Tekstitys pois",
20 | "Chapters": "Kappaleet",
21 | "You aborted the media playback": "Olet keskeyttänyt videotoiston.",
22 | "A network error caused the media download to fail part-way.": "Verkkovirhe keskeytti videon latauksen.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videon lataus ei onnistunut joko palvelin- tai verkkovirheestä tai väärästä formaatista johtuen.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videon toisto keskeytyi, koska media on vaurioitunut tai käyttää käyttää toimintoja, joita selaimesi ei tue.",
25 | "No compatible source was found for this media.": "Tälle videolle ei löytynyt yhteensopivaa lähdettä."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/fr.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("fr",{
2 | "Play": "Lecture",
3 | "Pause": "Pause",
4 | "Current Time": "Temps actuel",
5 | "Duration Time": "Durée",
6 | "Remaining Time": "Temps restant",
7 | "Stream Type": "Type de flux",
8 | "LIVE": "EN DIRECT",
9 | "Loaded": "Chargé",
10 | "Progress": "Progression",
11 | "Fullscreen": "Plein écran",
12 | "Non-Fullscreen": "Fenêtré",
13 | "Mute": "Sourdine",
14 | "Unmute": "Son activé",
15 | "Playback Rate": "Vitesse de lecture",
16 | "Subtitles": "Sous-titres",
17 | "subtitles off": "Sous-titres désactivés",
18 | "Captions": "Sous-titres",
19 | "captions off": "Sous-titres désactivés",
20 | "Chapters": "Chapitres",
21 | "You aborted the media playback": "Vous avez interrompu la lecture de la vidéo.",
22 | "A network error caused the media download to fail part-way.": "Une erreur de réseau a interrompu le téléchargement de la vidéo.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Cette vidéo n'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n'est pas reconnu.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La lecture de la vidéo a été interrompue à cause d'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.",
25 | "No compatible source was found for this media.": "Aucune source compatible n'a été trouvée pour cette vidéo."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/hr.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("hr",{
2 | "Play": "Pusti",
3 | "Pause": "Pauza",
4 | "Current Time": "Trenutno vrijeme",
5 | "Duration Time": "Vrijeme trajanja",
6 | "Remaining Time": "Preostalo vrijeme",
7 | "Stream Type": "Način strimovanja",
8 | "LIVE": "UŽIVO",
9 | "Loaded": "Učitan",
10 | "Progress": "Progres",
11 | "Fullscreen": "Puni ekran",
12 | "Non-Fullscreen": "Mali ekran",
13 | "Mute": "Prigušen",
14 | "Unmute": "Ne-prigušen",
15 | "Playback Rate": "Stopa reprodukcije",
16 | "Subtitles": "Podnaslov",
17 | "subtitles off": "Podnaslov deaktiviran",
18 | "Captions": "Titlovi",
19 | "captions off": "Titlovi deaktivirani",
20 | "Chapters": "Poglavlja",
21 | "You aborted the media playback": "Isključili ste reprodukciju videa.",
22 | "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.",
25 | "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/hu.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("hu",{
2 | "Play": "Lejátszás",
3 | "Pause": "Szünet",
4 | "Current Time": "Aktuális időpont",
5 | "Duration Time": "Hossz",
6 | "Remaining Time": "Hátralévő idő",
7 | "Stream Type": "Adatfolyam típusa",
8 | "LIVE": "ÉLŐ",
9 | "Loaded": "Betöltve",
10 | "Progress": "Állapot",
11 | "Fullscreen": "Teljes képernyő",
12 | "Non-Fullscreen": "Normál méret",
13 | "Mute": "Némítás",
14 | "Unmute": "Némítás kikapcsolva",
15 | "Playback Rate": "Lejátszási sebesség",
16 | "Subtitles": "Feliratok",
17 | "subtitles off": "Feliratok kikapcsolva",
18 | "Captions": "Magyarázó szöveg",
19 | "captions off": "Magyarázó szöveg kikapcsolva",
20 | "Chapters": "Fejezetek",
21 | "You aborted the media playback": "Leállította a lejátszást",
22 | "A network error caused the media download to fail part-way.": "Hálózati hiba miatt a videó részlegesen töltődött le.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "A videó nem tölthető be hálózati vagy kiszolgálói hiba miatt, vagy a formátuma nem támogatott.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A lejátszás adatsérülés miatt leállt, vagy a videó egyes tulajdonságait a böngészője nem támogatja.",
25 | "No compatible source was found for this media.": "Nincs kompatibilis forrás ehhez a videóhoz."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/it.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("it",{
2 | "Play": "Play",
3 | "Pause": "Pausa",
4 | "Current Time": "Orario attuale",
5 | "Duration Time": "Durata",
6 | "Remaining Time": "Tempo rimanente",
7 | "Stream Type": "Tipo del Streaming",
8 | "LIVE": "LIVE",
9 | "Loaded": "Caricato",
10 | "Progress": "Stato",
11 | "Fullscreen": "Schermo intero",
12 | "Non-Fullscreen": "Chiudi schermo intero",
13 | "Mute": "Muto",
14 | "Unmute": "Audio",
15 | "Playback Rate": "Tasso di riproduzione",
16 | "Subtitles": "Sottotitoli",
17 | "subtitles off": "Senza sottotitoli",
18 | "Captions": "Sottotitoli non udenti",
19 | "captions off": "Senza sottotitoli non udenti",
20 | "Chapters": "Capitolo",
21 | "You aborted the media playback": "La riproduzione del filmato è stata interrotta.",
22 | "A network error caused the media download to fail part-way.": "Il download del filmato è stato interrotto a causa di un problema rete.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.",
25 | "No compatible source was found for this media.": "Non ci sono fonti compatibili per questo filmato."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/ja.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ja",{
2 | "Play": "再生",
3 | "Pause": "一時停止",
4 | "Current Time": "現在の時間",
5 | "Duration Time": "長さ",
6 | "Remaining Time": "残りの時間",
7 | "Stream Type": "ストリームの種類",
8 | "LIVE": "ライブ",
9 | "Loaded": "ロード済み",
10 | "Progress": "進行状況",
11 | "Fullscreen": "フルスクリーン",
12 | "Non-Fullscreen": "フルスクリーン以外",
13 | "Mute": "ミュート",
14 | "Unmute": "ミュート解除",
15 | "Playback Rate": "再生レート",
16 | "Subtitles": "サブタイトル",
17 | "subtitles off": "サブタイトル オフ",
18 | "Captions": "キャプション",
19 | "captions off": "キャプション オフ",
20 | "Chapters": "チャプター",
21 | "You aborted the media playback": "動画再生を中止しました",
22 | "A network error caused the media download to fail part-way.": "ネットワーク エラーにより動画のダウンロードが途中で失敗しました",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました",
25 | "No compatible source was found for this media.": "この動画に対して互換性のあるソースが見つかりませんでした"
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/ko.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ko",{
2 | "Play": "재생",
3 | "Pause": "일시중지",
4 | "Current Time": "현재 시간",
5 | "Duration Time": "지정 기간",
6 | "Remaining Time": "남은 시간",
7 | "Stream Type": "스트리밍 유형",
8 | "LIVE": "라이브",
9 | "Loaded": "로드됨",
10 | "Progress": "진행",
11 | "Fullscreen": "전체 화면",
12 | "Non-Fullscreen": "전체 화면 해제",
13 | "Mute": "음소거",
14 | "Unmute": "음소거 해제",
15 | "Playback Rate": "재생 비율",
16 | "Subtitles": "서브타이틀",
17 | "subtitles off": "서브타이틀 끄기",
18 | "Captions": "자막",
19 | "captions off": "자막 끄기",
20 | "Chapters": "챕터",
21 | "You aborted the media playback": "비디오 재생을 취소했습니다.",
22 | "A network error caused the media download to fail part-way.": "네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.",
25 | "No compatible source was found for this media.": "비디오에 호환되지 않는 소스가 있습니다."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/nb.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("nb",{
2 | "Play": "Spill",
3 | "Pause": "Pause",
4 | "Current Time": "Aktuell tid",
5 | "Duration Time": "Varighet",
6 | "Remaining Time": "Gjenstående tid",
7 | "Stream Type": "Type strøm",
8 | "LIVE": "DIREKTE",
9 | "Loaded": "Lastet inn",
10 | "Progress": "Status",
11 | "Fullscreen": "Fullskjerm",
12 | "Non-Fullscreen": "Lukk fullskjerm",
13 | "Mute": "Lyd av",
14 | "Unmute": "Lyd på",
15 | "Playback Rate": "Avspillingsrate",
16 | "Subtitles": "Undertekst på",
17 | "subtitles off": "Undertekst av",
18 | "Captions": "Undertekst for hørselshemmede på",
19 | "captions off": "Undertekst for hørselshemmede av",
20 | "Chapters": "Kapitler",
21 | "You aborted the media playback": "Du avbrøt avspillingen.",
22 | "A network error caused the media download to fail part-way.": "En nettverksfeil avbrøt nedlasting av videoen.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikke lastes ned, på grunn av nettverksfeil eller serverfeil, eller fordi formatet ikke er støttet.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoavspillingen ble avbrudt på grunn av ødelagte data eller fordi videoen ville gjøre noe som nettleseren din ikke har støtte for.",
25 | "No compatible source was found for this media.": "Fant ikke en kompatibel kilde for dette mediainnholdet."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/nl.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("nl",{
2 | "Play": "Afspelen",
3 | "Pause": "Pauze",
4 | "Current Time": "Huidige tijd",
5 | "Duration Time": "Looptijd",
6 | "Remaining Time": "Resterende tijd",
7 | "Stream Type": "Streamtype",
8 | "LIVE": "LIVE",
9 | "Loaded": "Geladen",
10 | "Progress": "Status",
11 | "Fullscreen": "Volledig scherm",
12 | "Non-Fullscreen": "Geen volledig scherm",
13 | "Mute": "Geluid uit",
14 | "Unmute": "Geluid aan",
15 | "Playback Rate": "Weergavesnelheid",
16 | "Subtitles": "Ondertiteling",
17 | "subtitles off": "Ondertiteling uit",
18 | "Captions": "Ondertiteling",
19 | "captions off": "Ondertiteling uit",
20 | "Chapters": "Hoofdstukken",
21 | "You aborted the media playback": "U hebt de mediaweergave afgebroken.",
22 | "A network error caused the media download to fail part-way.": "De mediadownload is mislukt door een netwerkfout.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "De media kon niet worden geladen, vanwege een server- of netwerkfout of doordat het formaat niet wordt ondersteund.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "De mediaweergave is afgebroken vanwege beschadigde data of het mediabestand gebruikt functies die niet door uw browser worden ondersteund.",
25 | "No compatible source was found for this media.": "Voor deze media is geen ondersteunde bron gevonden."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/nn.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("nn",{
2 | "Play": "Spel",
3 | "Pause": "Pause",
4 | "Current Time": "Aktuell tid",
5 | "Duration Time": "Varigheit",
6 | "Remaining Time": "Tid attende",
7 | "Stream Type": "Type straum",
8 | "LIVE": "DIREKTE",
9 | "Loaded": "Lasta inn",
10 | "Progress": "Status",
11 | "Fullscreen": "Fullskjerm",
12 | "Non-Fullscreen": "Stenga fullskjerm",
13 | "Mute": "Ljod av",
14 | "Unmute": "Ljod på",
15 | "Playback Rate": "Avspelingsrate",
16 | "Subtitles": "Teksting på",
17 | "subtitles off": "Teksting av",
18 | "Captions": "Teksting for høyrselshemma på",
19 | "captions off": "Teksting for høyrselshemma av",
20 | "Chapters": "Kapitel",
21 | "You aborted the media playback": "Du avbraut avspelinga.",
22 | "A network error caused the media download to fail part-way.": "Ein nettverksfeil avbraut nedlasting av videoen.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikkje lastas ned, på grunn av ein nettverksfeil eller serverfeil, eller av di formatet ikkje er stoda.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoavspelinga blei broten på grunn av øydelagde data eller av di videoen ville gjera noe som nettlesaren din ikkje stodar.",
25 | "No compatible source was found for this media.": "Fant ikke en kompatibel kilde for dette mediainnholdet."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/pt-BR.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("pt-BR",{
2 | "Play": "Tocar",
3 | "Pause": "Pause",
4 | "Current Time": "Tempo",
5 | "Duration Time": "Duração",
6 | "Remaining Time": "Tempo Restante",
7 | "Stream Type": "Tipo de Stream",
8 | "LIVE": "AO VIVO",
9 | "Loaded": "Carregado",
10 | "Progress": "Progresso",
11 | "Fullscreen": "Tela Cheia",
12 | "Non-Fullscreen": "Tela Normal",
13 | "Mute": "Mudo",
14 | "Unmute": "Habilitar Som",
15 | "Playback Rate": "Velocidade",
16 | "Subtitles": "Legendas",
17 | "subtitles off": "Sem Legendas",
18 | "Captions": "Anotações",
19 | "captions off": "Sem Anotações",
20 | "Chapters": "Capítulos",
21 | "You aborted the media playback": "Você parou a execução de vídeo.",
22 | "A network error caused the media download to fail part-way.": "Um erro na rede fez o vídeo parar parcialmente.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "O vídeo não pode ser carregado, ou porque houve um problema com sua rede ou pelo formato do vídeo não ser suportado.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A Execução foi interrompida por um problema com o vídeo ou por seu navegador não dar suporte ao seu formato.",
25 | "No compatible source was found for this media.": "Não foi encontrada fonte de vídeo compatível."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/ru.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("ru",{
2 | "Play": "Воспроизвести",
3 | "Pause": "Приостановить",
4 | "Current Time": "Текущее время",
5 | "Duration Time": "Продолжительность",
6 | "Remaining Time": "Оставшееся время",
7 | "Stream Type": "Тип потока",
8 | "LIVE": "ОНЛАЙН",
9 | "Loaded": "Загрузка",
10 | "Progress": "Прогресс",
11 | "Fullscreen": "Полноэкранный режим",
12 | "Non-Fullscreen": "Неполноэкранный режим",
13 | "Mute": "Без звука",
14 | "Unmute": "Со звуком",
15 | "Playback Rate": "Скорость воспроизведения",
16 | "Subtitles": "Субтитры",
17 | "subtitles off": "Субтитры выкл.",
18 | "Captions": "Подписи",
19 | "captions off": "Подписи выкл.",
20 | "Chapters": "Главы",
21 | "You aborted the media playback": "Вы прервали воспроизведение видео",
22 | "A network error caused the media download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.",
25 | "No compatible source was found for this media.": "Совместимые источники для этого видео отсутствуют."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/sr.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("sr",{
2 | "Play": "Pusti",
3 | "Pause": "Pauza",
4 | "Current Time": "Trenutno vrijeme",
5 | "Duration Time": "Vrijeme trajanja",
6 | "Remaining Time": "Preostalo vrijeme",
7 | "Stream Type": "Način strimovanja",
8 | "LIVE": "UŽIVO",
9 | "Loaded": "Učitan",
10 | "Progress": "Progres",
11 | "Fullscreen": "Puni ekran",
12 | "Non-Fullscreen": "Mali ekran",
13 | "Mute": "Prigušen",
14 | "Unmute": "Ne-prigušen",
15 | "Playback Rate": "Stopa reprodukcije",
16 | "Subtitles": "Podnaslov",
17 | "subtitles off": "Podnaslov deaktiviran",
18 | "Captions": "Titlovi",
19 | "captions off": "Titlovi deaktivirani",
20 | "Chapters": "Poglavlja",
21 | "You aborted the media playback": "Isključili ste reprodukciju videa.",
22 | "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.",
25 | "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/sv.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("sv",{
2 | "Play": "Spela",
3 | "Pause": "Pausa",
4 | "Current Time": "Aktuell tid",
5 | "Duration Time": "Total tid",
6 | "Remaining Time": "Återstående tid",
7 | "Stream Type": "Strömningstyp",
8 | "LIVE": "LIVE",
9 | "Loaded": "Laddad",
10 | "Progress": "Förlopp",
11 | "Fullscreen": "Fullskärm",
12 | "Non-Fullscreen": "Ej fullskärm",
13 | "Mute": "Ljud av",
14 | "Unmute": "Ljud på",
15 | "Playback Rate": "Uppspelningshastighet",
16 | "Subtitles": "Text på",
17 | "subtitles off": "Text av",
18 | "Captions": "Text på",
19 | "captions off": "Text av",
20 | "Chapters": "Kapitel",
21 | "You aborted the media playback": "Du har avbrutit videouppspelningen.",
22 | "A network error caused the media download to fail part-way.": "Ett nätverksfel gjorde att nedladdningen av videon avbröts.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Det gick inte att ladda videon, antingen på grund av ett server- eller nätverksfel, eller för att formatet inte stöds.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Uppspelningen avbröts på grund av att videon är skadad, eller också för att videon använder funktioner som din webbläsare inte stöder.",
25 | "No compatible source was found for this media.": "Det gick inte att hitta någon kompatibel källa för den här videon."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/tr.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("tr",{
2 | "Play": "Oynat",
3 | "Pause": "Duraklat",
4 | "Current Time": "Süre",
5 | "Duration Time": "Toplam Süre",
6 | "Remaining Time": "Kalan Süre",
7 | "Stream Type": "Yayın Tipi",
8 | "LIVE": "CANLI",
9 | "Loaded": "Yüklendi",
10 | "Progress": "Yükleniyor",
11 | "Fullscreen": "Tam Ekran",
12 | "Non-Fullscreen": "Küçük Ekran",
13 | "Mute": "Ses Kapa",
14 | "Unmute": "Ses Aç",
15 | "Playback Rate": "Oynatma Hızı",
16 | "Subtitles": "Altyazı",
17 | "subtitles off": "Altyazı Kapat",
18 | "Captions": "Ek Açıklamalar",
19 | "captions off": "Ek Açıklamalar Kapalı",
20 | "Chapters": "Bölümler",
21 | "You aborted the media playback": "Video oynatmayı iptal ettiniz",
22 | "A network error caused the media download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.",
25 | "No compatible source was found for this media.": "Video için kaynak bulunamadı."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/uk.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("uk",{
2 | "Play": "Відтворити",
3 | "Pause": "Призупинити",
4 | "Current Time": "Поточний час",
5 | "Duration Time": "Тривалість",
6 | "Remaining Time": "Час, що залишився",
7 | "Stream Type": "Тип потоку",
8 | "LIVE": "НАЖИВО",
9 | "Loaded": "Завантаження",
10 | "Progress": "Прогрес",
11 | "Fullscreen": "Повноекранний режим",
12 | "Non-Fullscreen": "Неповноекранний режим",
13 | "Mute": "Без звуку",
14 | "Unmute": "Зі звуком",
15 | "Playback Rate": "Швидкість відтворення",
16 | "Subtitles": "Субтитри",
17 | "subtitles off": "Без субтитрів",
18 | "Captions": "Підписи",
19 | "captions off": "Без підписів",
20 | "Chapters": "Розділи",
21 | "You aborted the media playback": "Ви припинили відтворення відео",
22 | "A network error caused the media download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.",
25 | "No compatible source was found for this media.": "Сумісні джерела для цього відео відсутні."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/vi.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("vi",{
2 | "Play": "Phát",
3 | "Pause": "Tạm dừng",
4 | "Current Time": "Thời gian hiện tại",
5 | "Duration Time": "Độ dài",
6 | "Remaining Time": "Thời gian còn lại",
7 | "Stream Type": "Kiểu Stream",
8 | "LIVE": "TRỰC TIẾP",
9 | "Loaded": "Đã tải",
10 | "Progress": "Tiến trình",
11 | "Fullscreen": "Toàn màn hình",
12 | "Non-Fullscreen": "Thoát toàn màn hình",
13 | "Mute": "Tắt tiếng",
14 | "Unmute": "Bật âm thanh",
15 | "Playback Rate": "Tốc độ phát",
16 | "Subtitles": "Phụ đề",
17 | "subtitles off": "Tắt phụ đề",
18 | "Captions": "Chú thích",
19 | "captions off": "Tắt chú thích",
20 | "Chapters": "Chương",
21 | "You aborted the media playback": "Bạn đã hủy việc phát media.",
22 | "A network error caused the media download to fail part-way.": "Một lỗi mạng dẫn đến việc tải media bị lỗi.",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video không tải được, mạng hay server có lỗi hoặc định dạng không được hỗ trợ.",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Phát media đã bị hủy do một sai lỗi hoặc media sử dụng những tính năng trình duyệt không hỗ trợ.",
25 | "No compatible source was found for this media.": "Không có nguồn tương thích cho media này."
26 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/zh-CN.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("zh-CN",{
2 | "Play": "播放",
3 | "Pause": "暂停",
4 | "Current Time": "当前时间",
5 | "Duration Time": "时长",
6 | "Remaining Time": "剩余时间",
7 | "Stream Type": "媒体流类型",
8 | "LIVE": "直播",
9 | "Loaded": "加载完毕",
10 | "Progress": "进度",
11 | "Fullscreen": "全屏",
12 | "Non-Fullscreen": "退出全屏",
13 | "Mute": "静音",
14 | "Unmute": "取消静音",
15 | "Playback Rate": "播放码率",
16 | "Subtitles": "字幕",
17 | "subtitles off": "字幕关闭",
18 | "Captions": "内嵌字幕",
19 | "captions off": "内嵌字幕关闭",
20 | "Chapters": "节目段落",
21 | "You aborted the media playback": "视频播放被终止",
22 | "A network error caused the media download to fail part-way.": "网络错误导致视频下载中途失败。",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "视频因格式不支持或者服务器或网络的问题无法加载。",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。",
25 | "No compatible source was found for this media.": "无法找到此视频兼容的源。",
26 | "The media is encrypted and we do not have the keys to decrypt it.": "视频已加密,无法解密。"
27 | });
--------------------------------------------------------------------------------
/src/components/video-js/lang/zh-TW.js:
--------------------------------------------------------------------------------
1 | videojs.addLanguage("zh-TW",{
2 | "Play": "播放",
3 | "Pause": "暫停",
4 | "Current Time": "目前時間",
5 | "Duration Time": "總共時間",
6 | "Remaining Time": "剩餘時間",
7 | "Stream Type": "串流類型",
8 | "LIVE": "直播",
9 | "Loaded": "載入完畢",
10 | "Progress": "進度",
11 | "Fullscreen": "全螢幕",
12 | "Non-Fullscreen": "退出全螢幕",
13 | "Mute": "靜音",
14 | "Unmute": "取消靜音",
15 | "Playback Rate": " 播放速率",
16 | "Subtitles": "字幕",
17 | "subtitles off": "關閉字幕",
18 | "Captions": "內嵌字幕",
19 | "captions off": "關閉內嵌字幕",
20 | "Chapters": "章節",
21 | "You aborted the media playback": "影片播放已終止",
22 | "A network error caused the media download to fail part-way.": "網路錯誤導致影片下載失敗。",
23 | "The media could not be loaded, either because the server or network failed or because the format is not supported.": "影片因格式不支援或者伺服器或網路的問題無法載入。",
24 | "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,播放終止。",
25 | "No compatible source was found for this media.": "無法找到相容此影片的來源。",
26 | "The media is encrypted and we do not have the keys to decrypt it.": "影片已加密,無法解密。"
27 | });
--------------------------------------------------------------------------------
/src/components/video-js/modernizr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by taox on 16-2-19.
3 | */
4 | /*!
5 | * modernizr v3.3.1
6 | * Build http://modernizr.com/download?-setclasses-dontmin
7 | *
8 | * Copyright (c)
9 | * Faruk Ates
10 | * Paul Irish
11 | * Alex Sexton
12 | * Ryan Seddon
13 | * Patrick Kettner
14 | * Stu Cox
15 | * Richard Herrera
16 |
17 | * MIT License
18 | */
19 |
20 | /*
21 | * Modernizr tests which native CSS3 and HTML5 features are available in the
22 | * current UA and makes the results available to you in two ways: as properties on
23 | * a global `Modernizr` object, and as classes on the `` element. This
24 | * information allows you to progressively enhance your pages with a granular level
25 | * of control over the experience.
26 | */
27 |
28 | ;(function(window, document, undefined){
29 | var classes = [];
30 |
31 |
32 | var tests = [];
33 |
34 |
35 | /**
36 | *
37 | * ModernizrProto is the constructor for Modernizr
38 | *
39 | * @class
40 | * @access public
41 | */
42 |
43 | var ModernizrProto = {
44 | // The current version, dummy
45 | _version: '3.3.1',
46 |
47 | // Any settings that don't work as separate modules
48 | // can go in here as configuration.
49 | _config: {
50 | 'classPrefix': '',
51 | 'enableClasses': true,
52 | 'enableJSClass': true,
53 | 'usePrefixes': true
54 | },
55 |
56 | // Queue of tests
57 | _q: [],
58 |
59 | // Stub these for people who are listening
60 | on: function(test, cb) {
61 | // I don't really think people should do this, but we can
62 | // safe guard it a bit.
63 | // -- NOTE:: this gets WAY overridden in src/addTest for actual async tests.
64 | // This is in case people listen to synchronous tests. I would leave it out,
65 | // but the code to *disallow* sync tests in the real version of this
66 | // function is actually larger than this.
67 | var self = this;
68 | setTimeout(function() {
69 | cb(self[test]);
70 | }, 0);
71 | },
72 |
73 | addTest: function(name, fn, options) {
74 | tests.push({name: name, fn: fn, options: options});
75 | },
76 |
77 | addAsyncTest: function(fn) {
78 | tests.push({name: null, fn: fn});
79 | }
80 | };
81 |
82 |
83 |
84 | // Fake some of Object.create so we can force non test results to be non "own" properties.
85 | var Modernizr = function() {};
86 | Modernizr.prototype = ModernizrProto;
87 |
88 | // Leak modernizr globally when you `require` it rather than force it here.
89 | // Overwrite name so constructor name is nicer :D
90 | Modernizr = new Modernizr();
91 |
92 |
93 |
94 | /**
95 | * is returns a boolean if the typeof an obj is exactly type.
96 | *
97 | * @access private
98 | * @function is
99 | * @param {*} obj - A thing we want to check the type of
100 | * @param {string} type - A string to compare the typeof against
101 | * @returns {boolean}
102 | */
103 |
104 | function is(obj, type) {
105 | return typeof obj === type;
106 | }
107 | ;
108 |
109 | /**
110 | * Run through all tests and detect their support in the current UA.
111 | *
112 | * @access private
113 | */
114 |
115 | function testRunner() {
116 | var featureNames;
117 | var feature;
118 | var aliasIdx;
119 | var result;
120 | var nameIdx;
121 | var featureName;
122 | var featureNameSplit;
123 |
124 | for (var featureIdx in tests) {
125 | if (tests.hasOwnProperty(featureIdx)) {
126 | featureNames = [];
127 | feature = tests[featureIdx];
128 | // run the test, throw the return value into the Modernizr,
129 | // then based on that boolean, define an appropriate className
130 | // and push it into an array of classes we'll join later.
131 | //
132 | // If there is no name, it's an 'async' test that is run,
133 | // but not directly added to the object. That should
134 | // be done with a post-run addTest call.
135 | if (feature.name) {
136 | featureNames.push(feature.name.toLowerCase());
137 |
138 | if (feature.options && feature.options.aliases && feature.options.aliases.length) {
139 | // Add all the aliases into the names list
140 | for (aliasIdx = 0; aliasIdx < feature.options.aliases.length; aliasIdx++) {
141 | featureNames.push(feature.options.aliases[aliasIdx].toLowerCase());
142 | }
143 | }
144 | }
145 |
146 | // Run the test, or use the raw value if it's not a function
147 | result = is(feature.fn, 'function') ? feature.fn() : feature.fn;
148 |
149 |
150 | // Set each of the names on the Modernizr object
151 | for (nameIdx = 0; nameIdx < featureNames.length; nameIdx++) {
152 | featureName = featureNames[nameIdx];
153 | // Support dot properties as sub tests. We don't do checking to make sure
154 | // that the implied parent tests have been added. You must call them in
155 | // order (either in the test, or make the parent test a dependency).
156 | //
157 | // Cap it to TWO to make the logic simple and because who needs that kind of subtesting
158 | // hashtag famous last words
159 | featureNameSplit = featureName.split('.');
160 |
161 | if (featureNameSplit.length === 1) {
162 | Modernizr[featureNameSplit[0]] = result;
163 | } else {
164 | // cast to a Boolean, if not one already
165 | /* jshint -W053 */
166 | if (Modernizr[featureNameSplit[0]] && !(Modernizr[featureNameSplit[0]] instanceof Boolean)) {
167 | Modernizr[featureNameSplit[0]] = new Boolean(Modernizr[featureNameSplit[0]]);
168 | }
169 |
170 | Modernizr[featureNameSplit[0]][featureNameSplit[1]] = result;
171 | }
172 |
173 | classes.push((result ? '' : 'no-') + featureNameSplit.join('-'));
174 | }
175 | }
176 | }
177 | }
178 | ;
179 |
180 | /**
181 | * docElement is a convenience wrapper to grab the root element of the document
182 | *
183 | * @access private
184 | * @returns {HTMLElement|SVGElement} The root element of the document
185 | */
186 |
187 | var docElement = document.documentElement;
188 |
189 |
190 | /**
191 | * A convenience helper to check if the document we are running in is an SVG document
192 | *
193 | * @access private
194 | * @returns {boolean}
195 | */
196 |
197 | var isSVG = docElement.nodeName.toLowerCase() === 'svg';
198 |
199 |
200 | /**
201 | * setClasses takes an array of class names and adds them to the root element
202 | *
203 | * @access private
204 | * @function setClasses
205 | * @param {string[]} classes - Array of class names
206 | */
207 |
208 | // Pass in an and array of class names, e.g.:
209 | // ['no-webp', 'borderradius', ...]
210 | function setClasses(classes) {
211 | var className = docElement.className;
212 | var classPrefix = Modernizr._config.classPrefix || '';
213 |
214 | if (isSVG) {
215 | className = className.baseVal;
216 | }
217 |
218 | // Change `no-js` to `js` (independently of the `enableClasses` option)
219 | // Handle classPrefix on this too
220 | if (Modernizr._config.enableJSClass) {
221 | var reJS = new RegExp('(^|\\s)' + classPrefix + 'no-js(\\s|$)');
222 | className = className.replace(reJS, '$1' + classPrefix + 'js$2');
223 | }
224 |
225 | if (Modernizr._config.enableClasses) {
226 | // Add the new classes
227 | className += ' ' + classPrefix + classes.join(' ' + classPrefix);
228 | isSVG ? docElement.className.baseVal = className : docElement.className = className;
229 | }
230 |
231 | }
232 |
233 | ;
234 |
235 | // Run each test
236 | testRunner();
237 |
238 | // Remove the "no-js" class if it exists
239 | setClasses(classes);
240 |
241 | delete ModernizrProto.addTest;
242 | delete ModernizrProto.addAsyncTest;
243 |
244 | // Run the things that are supposed to run after the tests
245 | for (var i = 0; i < Modernizr._q.length; i++) {
246 | Modernizr._q[i]();
247 | }
248 |
249 | // Leak Modernizr namespace
250 | window.Modernizr = Modernizr;
251 |
252 |
253 | ;
254 |
255 | })(window, document);
256 |
--------------------------------------------------------------------------------
/src/components/video-js/this.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by taox on 16-2-19.
3 | */
4 | (function(window,document){
5 | console.log(window);
6 | })(this,document);
7 | console.log(this);
8 |
--------------------------------------------------------------------------------
/src/components/video-js/video-js.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/towersxu/vue-components/e7b8e4fedc0873e48f023645838d1c84452a97fd/src/components/video-js/video-js.swf
--------------------------------------------------------------------------------
/src/components/video-js/video.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
96 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import app from './app.vue'
3 |
4 | import './styles.css'
5 |
6 | Vue.config.debug = process.env.NODE_ENV !== 'production'
7 |
8 | const App = new Vue({
9 | el: 'body',
10 | components: {
11 | app
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/src/styles.css:
--------------------------------------------------------------------------------
1 | .browsehappy {
2 | margin: 0.2em 0;
3 | background: #ccc;
4 | color: #000;
5 | padding: 0.2em 0;
6 | }
7 |
8 | /* Space out content a bit */
9 | body {
10 | padding-top: 20px;
11 | padding-bottom: 20px;
12 | }
13 |
--------------------------------------------------------------------------------
/webpack.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | entry: {
3 | app: './src/main.js'
4 | },
5 | output: {
6 | path: './build',
7 | publicPath: '/build/',
8 | filename: 'bundle.js'
9 | },
10 | module: {
11 | loaders: [
12 | { test: /\.vue$/, loader: 'vue' },
13 | { test: /\.js$/, exclude: /node_modules/, loader: 'babel'},
14 | { test: /\.(png|jpg)$/, loader: 'file' },
15 | { test: /\.(png|jpg)$/, loader: 'url?limit=10000'},
16 | { test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/font-woff' },
17 | { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/octet-stream' },
18 | { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file' },
19 | { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=image/svg+xml' },
20 | { test: /\.css$/, loader: 'style-loader!css-loader' }
21 | ]
22 | },
23 | devtool: '#source-map'
24 | }
25 |
--------------------------------------------------------------------------------
/webpack.production.js:
--------------------------------------------------------------------------------
1 | var webpack = require('webpack')
2 | var ExtractTextPlugin = require('extract-text-webpack-plugin')
3 |
4 | module.exports = {
5 | entry: {
6 | app: './src/main.js'
7 | },
8 | output: {
9 | path: './build',
10 | publicPath: '/build/',
11 | filename: 'bundle.js'
12 | },
13 | module: {
14 | loaders: [
15 | { test: /\.vue$/, loader: 'vue' },
16 | { test: /\.js$/, exclude: /node_modules/, loader: 'babel'},
17 | { test: /\.(png|jpg)$/, loader: 'file' },
18 | { test: /\.(png|jpg)$/, loader: 'url?limit=10000'},
19 | { test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/font-woff' },
20 | { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=application/octet-stream' },
21 | { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file' },
22 | { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url?limit=10000&mimetype=image/svg+xml' },
23 | { test: /\.css$/, loader: 'style-loader!css-loader' }
24 | ]
25 | },
26 | plugins: [
27 | new webpack.DefinePlugin({
28 | 'process.env': {
29 | NODE_ENV: '"production"'
30 | }
31 | }),
32 | new webpack.optimize.UglifyJsPlugin({
33 | compress: {
34 | warnings: false
35 | }
36 | }),
37 | new ExtractTextPlugin('[name].min.css', {
38 | allChunks: true
39 | })
40 | ],
41 | vue: {
42 | loaders: {
43 | css: ExtractTextPlugin.extract('css')
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------