diff --git a/help.html b/help.html index dad690d..bb8fff4 100644 --- a/help.html +++ b/help.html @@ -1,5 +1,22 @@

Use the Insert HTML5 Video button in the WordPress editor or use the [videojs] shortcode in your post or page using the following options:

+

rtmp

+ +

The location of the h.264/MP4 source for the video.

+

The connection and stream parts are determined by splitting the URL on the first ampersand (&) or the last slash (/).

+

http://myurl.com/streaming&/is/fun -->
+ connection: http://myurl.com/streaming
+ stream: /is/fun
+
+-or-
+
+http://myurl.com/streaming/is/fun -->
+ connection: http://myurl.com/streaming/is
+ stream: fun

+ +
[videojs rtmp="rtmp://video-js.zencoder.com/oceans-clip.mp4"]
+
+

mp4

The location of the h.264/MP4 source for the video.

diff --git a/mce-button.js b/mce-button.js index 7855055..9f0eb68 100644 --- a/mce-button.js +++ b/mce-button.js @@ -48,6 +48,11 @@ var form = jQuery('
\ \ + \ + \ + \ + \ \ \

\ + The location of the h.264/MP4 stream for the video.

\ @@ -125,8 +130,10 @@ //text options var options = { 'mp4' : '', + 'rtmp' : '', 'webm' : '', 'ogg' : '', + 'youtube' : '', 'poster' : '', 'width' : '', 'height' : '', diff --git a/readme.txt b/readme.txt index 76595c0..9df6f64 100755 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === Video.js - HTML5 Video Player for Wordpress === -Contributors: nosecreek, Steve Heffernan, schnere +Contributors: nosecreek, Steve Heffernan, schnere, Stanislav Chernenko Donate link: http://ncrk.ca/videojs Tags: html5, video, player, javascript Requires at least: 2.7 -Tested up to: 3.9 -Stable tag: 4.5.0 +Tested up to: 4.1 +Stable tag: 4.11.3 License: LGPLv3 License URI: http://www.gnu.org/licenses/lgpl-3.0.html @@ -27,6 +27,22 @@ This section describes how to install the plugin and get it working. ##Video Shortcode Options ------------------------- +### rtmp +The location of the h.264/MP4 source for the video. +The connection and stream parts are determined by splitting the URL on the first ampersand (&) or the last slash (/). + +http://myurl.com/streaming&/is/fun --> + connection: http://myurl.com/streaming + stream: /is/fun + +-or- + +http://myurl.com/streaming/is/fun --> + connection: http://myurl.com/streaming/is + stream: fun + + [videojs rtmp="rtmp://cp67126.edgefcs.net/ondemand/&mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4"] + ### mp4 The location of the h.264/MP4 source for the video. @@ -105,7 +121,7 @@ Text Tracks are a function of HTML5 video for providing time triggered text to t ### All Attributes Example - [videojs mp4="http://video-js.zencoder.com/oceans-clip.mp4" ogg="http://video-js.zencoder.com/oceans-clip.ogg" webm="http://video-js.zencoder.com/oceans-clip.webm" poster="http://video-js.zencoder.com/oceans-clip.png" preload="auto" autoplay="true" width="640" height="264" id="movie-id" class="alignleft" controls="false" muted="true"][track kind="captions" src="http://example.com/path/to/captions.vtt" srclang="en" label="English" default="true"][/videojs] + [videojs rtmp="rtmp://cp67126.edgefcs.net/ondemand/&mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4" mp4="http://video-js.zencoder.com/oceans-clip.mp4" ogg="http://video-js.zencoder.com/oceans-clip.ogg" webm="http://video-js.zencoder.com/oceans-clip.webm" poster="http://video-js.zencoder.com/oceans-clip.png" preload="auto" autoplay="true" width="640" height="264" id="movie-id" class="alignleft" controls="false" muted="true"][track kind="captions" src="http://example.com/path/to/captions.vtt" srclang="en" label="English" default="true"][/videojs] ##Video.js Settings Screen @@ -119,6 +135,13 @@ Uncheck the *Use the [video] shortcode?* option __only__ if you are using WordPr == Changelog == += 4.11.3 = + +* Updated to use Video.js 4.11.3 +* Updated youtube tech to latest version (https://github.com/eXon/videojs-youtube) +* Change tech order if RTMP used to ['flash', 'html5'], defaults is ['html5','flash'] +* Fixed tinymce button (shortcode for youtube have added later without src) + = 4.5.0 = * Updated to use Video.js 4.5 diff --git a/video-js.php b/video-js.php index 6bb2ca6..570e49c 100755 --- a/video-js.php +++ b/video-js.php @@ -1,14 +1,14 @@ Dustin Lammiman, Steve Heffernan -Version: 4.5.0 +Version: 4.11.3 */ @@ -31,8 +31,8 @@ function register_videojs(){ wp_enqueue_style( 'videojs-plugin' ); if($options['videojs_cdn'] == 'on') { //use the cdn hosted version - wp_register_script( 'videojs', '//vjs.zencdn.net/4.5/video.js' ); - wp_register_style( 'videojs', '//vjs.zencdn.net/4.5/video-js.css' ); + wp_register_script( 'videojs', '//vjs.zencdn.net/4.11.3/video.js' ); + wp_register_style( 'videojs', '//vjs.zencdn.net/4.11.3/video-js.css' ); wp_enqueue_style( 'videojs' ); } else { //use the self hosted version wp_register_script( 'videojs', plugins_url( 'videojs/video.js' , __FILE__ ) ); @@ -70,28 +70,6 @@ function videojs_custom_colors() { } add_action( 'wp_head', 'videojs_custom_colors' ); - -/* Prevent mixed content warnings for the self-hosted version */ -function add_videojs_swf(){ - $options = get_option('videojs_options'); - if($options['videojs_cdn'] != 'on') { - echo ' - - '; - } else { - echo ' - - '; - } -} -add_action('wp_head','add_videojs_swf'); - - /* The [video] or [videojs] shortcode */ function video_shortcode($atts, $content=null){ add_videojs_header(); @@ -100,6 +78,7 @@ function video_shortcode($atts, $content=null){ extract(shortcode_atts(array( 'mp4' => '', + 'rtmp' => '', 'webm' => '', 'ogg' => '', 'youtube' => '', @@ -117,6 +96,11 @@ function video_shortcode($atts, $content=null){ $dataSetup = array(); + // Use self hosted version of swf + if($options['videojs_cdn'] != 'on') { + $dataSetup['flash']['swf'] = plugins_url( 'videojs/video-js.swf' , __FILE__ ); + } + // ID is required for multiple videos to work if ($id == '') $id = 'example_video_id_'.rand(); @@ -126,6 +110,14 @@ function video_shortcode($atts, $content=null){ $mp4_source = ''; else $mp4_source = ''; + + // RTMP Stream Supplied + if ($rtmp) { + $rtmp_source = ''; + $dataSetup['techOrder'] = array('flash', 'html5'); + } + else + $rtmp_source = ''; // WebM Source Supplied if ($webm) @@ -141,7 +133,7 @@ function video_shortcode($atts, $content=null){ if ($youtube) { $dataSetup['forceSSL'] = 'true'; - $dataSetup['techOrder'] = array("youtube"); + $dataSetup['techOrder'] = array('youtube'); $dataSetup['src'] = $youtube; } // Poster image supplied @@ -199,6 +191,7 @@ function video_shortcode($atts, $content=null){ diff --git a/videojs/font/vjs.eot b/videojs/font/vjs.eot index a075c19..a2c0f5f 100644 Binary files a/videojs/font/vjs.eot and b/videojs/font/vjs.eot differ diff --git a/videojs/font/vjs.svg b/videojs/font/vjs.svg index f1af0e5..fa6aa7b 100644 --- a/videojs/font/vjs.svg +++ b/videojs/font/vjs.svg @@ -1,65 +1,28 @@ - -This is a custom SVG font generated by IcoMoon. - - +Generated by IcoMoon - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/videojs/font/vjs.ttf b/videojs/font/vjs.ttf index eb24637..682a9b2 100644 Binary files a/videojs/font/vjs.ttf and b/videojs/font/vjs.ttf differ diff --git a/videojs/font/vjs.woff b/videojs/font/vjs.woff index c3f0f1d..de98206 100644 Binary files a/videojs/font/vjs.woff and b/videojs/font/vjs.woff differ diff --git a/videojs/lang/ar.js b/videojs/lang/ar.js new file mode 100644 index 0000000..4c38b0d --- /dev/null +++ b/videojs/lang/ar.js @@ -0,0 +1,26 @@ +videojs.addLanguage("ar",{ + "Play": "تشغيل", + "Pause": "ايقاف", + "Current Time": "الوقت الحالي", + "Duration Time": "Dauer", + "Remaining Time": "الوقت المتبقي", + "Stream Type": "نوع التيار", + "LIVE": "مباشر", + "Loaded": "تم التحميل", + "Progress": "التقدم", + "Fullscreen": "ملء الشاشة", + "Non-Fullscreen": "غير ملء الشاشة", + "Mute": "صامت", + "Unmuted": "غير الصامت", + "Playback Rate": "معدل التشغيل", + "Subtitles": "الترجمة", + "subtitles off": "ايقاف الترجمة", + "Captions": "التعليقات", + "captions off": "ايقاف التعليقات", + "Chapters": "فصول", + "You aborted the video playback": "لقد ألغيت تشغيل الفيديو", + "A network error caused the video download to fail part-way.": "تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "لا يمكن تحميل الفيديو بسبب فشل في الخادم أو الشبكة ، أو فشل بسبب عدم امكانية قراءة تنسيق الفيديو.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "تم ايقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.", + "No compatible source was found for this video.": "فشل العثور على أي مصدر متوافق مع هذا الفيديو." +}); \ No newline at end of file diff --git a/videojs/lang/de.js b/videojs/lang/de.js new file mode 100644 index 0000000..88d6189 --- /dev/null +++ b/videojs/lang/de.js @@ -0,0 +1,26 @@ +videojs.addLanguage("de",{ + "Play": "Wiedergabe", + "Pause": "Pause", + "Current Time": "Aktueller Zeitpunkt", + "Duration Time": "Dauer", + "Remaining Time": "Verbleibende Zeit", + "Stream Type": "Streamtyp", + "LIVE": "LIVE", + "Loaded": "Geladen", + "Progress": "Status", + "Fullscreen": "Vollbild", + "Non-Fullscreen": "Kein Vollbild", + "Mute": "Ton aus", + "Unmuted": "Ton ein", + "Playback Rate": "Wiedergabegeschwindigkeit", + "Subtitles": "Untertitel", + "subtitles off": "Untertitel aus", + "Captions": "Untertitel", + "captions off": "Untertitel aus", + "Chapters": "Kapitel", + "You aborted the video playback": "Sie haben die Videowiedergabe abgebrochen.", + "A network error caused the video download to fail part-way.": "Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "Für dieses Video wurde keine kompatible Quelle gefunden." +}); \ No newline at end of file diff --git a/videojs/lang/es.js b/videojs/lang/es.js new file mode 100644 index 0000000..c81b6b7 --- /dev/null +++ b/videojs/lang/es.js @@ -0,0 +1,26 @@ +videojs.addLanguage("es",{ + "Play": "Reproducción", + "Pause": "Pausa", + "Current Time": "Tiempo reproducido", + "Duration Time": "Duración total", + "Remaining Time": "Tiempo restante", + "Stream Type": "Tipo de secuencia", + "LIVE": "DIRECTO", + "Loaded": "Cargado", + "Progress": "Progreso", + "Fullscreen": "Pantalla completa", + "Non-Fullscreen": "Pantalla no completa", + "Mute": "Silenciar", + "Unmuted": "No silenciado", + "Playback Rate": "Velocidad de reproducción", + "Subtitles": "Subtítulos", + "subtitles off": "Subtítulos desactivados", + "Captions": "Subtítulos especiales", + "captions off": "Subtítulos especiales desactivados", + "Chapters": "Capítulos", + "You aborted the video playback": "Ha interrumpido la reproducción del vídeo.", + "A network error caused the video download to fail part-way.": "Un error de red ha interrumpido la descarga del vídeo.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "No se ha encontrado ninguna fuente compatible con este vídeo." +}); \ No newline at end of file diff --git a/videojs/lang/fr.js b/videojs/lang/fr.js new file mode 100644 index 0000000..670c4a1 --- /dev/null +++ b/videojs/lang/fr.js @@ -0,0 +1,26 @@ +videojs.addLanguage("fr",{ + "Play": "Lecture", + "Pause": "Pause", + "Current Time": "Temps actuel", + "Duration Time": "Durée", + "Remaining Time": "Temps restant", + "Stream Type": "Type de flux", + "LIVE": "EN DIRECT", + "Loaded": "Chargé", + "Progress": "Progression", + "Fullscreen": "Plein écran", + "Non-Fullscreen": "Fenêtré", + "Mute": "Sourdine", + "Unmuted": "Son activé", + "Playback Rate": "Vitesse de lecture", + "Subtitles": "Sous-titres", + "subtitles off": "Sous-titres désactivés", + "Captions": "Sous-titres", + "captions off": "Sous-titres désactivés", + "Chapters": "Chapitres", + "You aborted the video playback": "Vous avez interrompu la lecture de la vidéo.", + "A network error caused the video download to fail part-way.": "Une erreur de réseau a interrompu le téléchargement de la vidéo.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "Aucune source compatible n'a été trouvée pour cette vidéo." +}); \ No newline at end of file diff --git a/videojs/lang/hu.js b/videojs/lang/hu.js new file mode 100644 index 0000000..cf685ee --- /dev/null +++ b/videojs/lang/hu.js @@ -0,0 +1,26 @@ +videojs.addLanguage("hu",{ + "Play": "Lejátszás", + "Pause": "Szünet", + "Current Time": "Aktuális időpont", + "Duration Time": "Hossz", + "Remaining Time": "Hátralévő idő", + "Stream Type": "Adatfolyam típusa", + "LIVE": "ÉLŐ", + "Loaded": "Betöltve", + "Progress": "Állapot", + "Fullscreen": "Teljes képernyő", + "Non-Fullscreen": "Normál méret", + "Mute": "Némítás", + "Unmuted": "Némítás kikapcsolva", + "Playback Rate": "Lejátszási sebesség", + "Subtitles": "Feliratok", + "subtitles off": "Feliratok kikapcsolva", + "Captions": "Magyarázó szöveg", + "captions off": "Magyarázó szöveg kikapcsolva", + "Chapters": "Fejezetek", + "You aborted the video playback": "Leállította a lejátszást", + "A network error caused the video download to fail part-way.": "Hálózati hiba miatt a videó részlegesen töltődött le.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "Nincs kompatibilis forrás ehhez a videóhoz." +}); \ No newline at end of file diff --git a/videojs/lang/it.js b/videojs/lang/it.js new file mode 100644 index 0000000..1f64030 --- /dev/null +++ b/videojs/lang/it.js @@ -0,0 +1,26 @@ +videojs.addLanguage("it",{ + "Play": "Play", + "Pause": "Pausa", + "Current Time": "Orario attuale", + "Duration Time": "Durata", + "Remaining Time": "Tempo rimanente", + "Stream Type": "Tipo del Streaming", + "LIVE": "LIVE", + "Loaded": "Caricato", + "Progress": "Stato", + "Fullscreen": "Schermo intero", + "Non-Fullscreen": "Chiudi schermo intero", + "Mute": "Muto", + "Unmuted": "Audio", + "Playback Rate": "Tasso di riproduzione", + "Subtitles": "Sottotitoli", + "subtitles off": "Senza sottotitoli", + "Captions": "Sottotitoli non udenti", + "captions off": "Senza sottotitoli non udenti", + "Chapters": "Capitolo", + "You aborted the video playback": "La riproduzione del filmato è stata interrotta.", + "A network error caused the video download to fail part-way.": "Il download del filmato è stato interrotto a causa di un problema rete.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "Non ci sono fonti compatibili per questo filmato." +}); \ No newline at end of file diff --git a/videojs/lang/ja.js b/videojs/lang/ja.js new file mode 100644 index 0000000..578383b --- /dev/null +++ b/videojs/lang/ja.js @@ -0,0 +1,26 @@ +videojs.addLanguage("ja",{ + "Play": "再生", + "Pause": "一時停止", + "Current Time": "現在の時間", + "Duration Time": "長さ", + "Remaining Time": "残りの時間", + "Stream Type": "ストリームの種類", + "LIVE": "ライブ", + "Loaded": "ロード済み", + "Progress": "進行状況", + "Fullscreen": "フルスクリーン", + "Non-Fullscreen": "フルスクリーン以外", + "Mute": "ミュート", + "Unmuted": "ミュート解除", + "Playback Rate": "再生レート", + "Subtitles": "サブタイトル", + "subtitles off": "サブタイトル オフ", + "Captions": "キャプション", + "captions off": "キャプション オフ", + "Chapters": "チャプター", + "You aborted the video playback": "動画再生を中止しました", + "A network error caused the video download to fail part-way.": "ネットワーク エラーにより動画のダウンロードが途中で失敗しました", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました", + "No compatible source was found for this video.": "この動画に対して互換性のあるソースが見つかりませんでした" +}); \ No newline at end of file diff --git a/videojs/lang/ko.js b/videojs/lang/ko.js new file mode 100644 index 0000000..a794961 --- /dev/null +++ b/videojs/lang/ko.js @@ -0,0 +1,26 @@ +videojs.addLanguage("ko",{ + "Play": "재생", + "Pause": "일시중지", + "Current Time": "현재 시간", + "Duration Time": "지정 기간", + "Remaining Time": "남은 시간", + "Stream Type": "스트리밍 유형", + "LIVE": "라이브", + "Loaded": "로드됨", + "Progress": "진행", + "Fullscreen": "전체 화면", + "Non-Fullscreen": "전체 화면 해제", + "Mute": "음소거", + "Unmuted": "음소거 해제", + "Playback Rate": "재생 비율", + "Subtitles": "서브타이틀", + "subtitles off": "서브타이틀 끄기", + "Captions": "자막", + "captions off": "자막 끄기", + "Chapters": "챕터", + "You aborted the video playback": "비디오 재생을 취소했습니다.", + "A network error caused the video download to fail part-way.": "네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.", + "No compatible source was found for this video.": "비디오에 호환되지 않는 소스가 있습니다." +}); \ No newline at end of file diff --git a/videojs/lang/nl.js b/videojs/lang/nl.js new file mode 100644 index 0000000..a849b77 --- /dev/null +++ b/videojs/lang/nl.js @@ -0,0 +1,26 @@ +videojs.addLanguage("nl",{ + "Play": "Afspelen", + "Pause": "Pauze", + "Current Time": "Huidige Tijd", + "Duration Time": "Looptijd", + "Remaining Time": "Resterende Tijd", + "Stream Type": "Stream Type", + "LIVE": "LIVE", + "Loaded": "Geladen", + "Progress": "Status", + "Fullscreen": "Volledig scherm", + "Non-Fullscreen": "Geen volledig scherm", + "Mute": "Geluid Uit", + "Unmuted": "Geluid Aan", + "Playback Rate": "Weergave Rate", + "Subtitles": "Ondertiteling", + "subtitles off": "Ondertiteling uit", + "Captions": "Onderschriften", + "captions off": "Onderschriften uit", + "Chapters": "Hoofdstukken", + "You aborted the video playback": "Je hebt de video weergave afgebroken.", + "A network error caused the video download to fail part-way.": "De video download is mislukt door een netwerkfout.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "De video kon niet worden geladen, veroorzaakt door een server of netwerkfout of het formaat word niet ondersteund.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "De video weergave is afgebroken omdat deze beschadigd is of de video gebruikt functionaliteit die niet door je browser word ondersteund.", + "No compatible source was found for this video.": "Voor deze video is geen ondersteunde bron gevonden." +}); \ No newline at end of file diff --git a/videojs/lang/pt-BR.js b/videojs/lang/pt-BR.js new file mode 100644 index 0000000..d1e2052 --- /dev/null +++ b/videojs/lang/pt-BR.js @@ -0,0 +1,26 @@ +videojs.addLanguage("pt-BR",{ + "Play": "Tocar", + "Pause": "Pause", + "Current Time": "Tempo", + "Duration Time": "Duração", + "Remaining Time": "Tempo Restante", + "Stream Type": "Tipo de Stream", + "LIVE": "AO VIVO", + "Loaded": "Carregado", + "Progress": "Progressão", + "Fullscreen": "Tela Cheia", + "Non-Fullscreen": "Tela Normal", + "Mute": "Mudo", + "Unmuted": "Habilitar Som", + "Playback Rate": "Velocidade", + "Subtitles": "Legendas", + "subtitles off": "Sem Legendas", + "Captions": "Anotações", + "captions off": "Sem Anotações", + "Chapters": "Capítulos", + "You aborted the video playback": "Você parou a execução de vídeo.", + "A network error caused the video download to fail part-way.": "Um erro na rede fez o vídeo parar parcialmente.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "Não foi encontrada fonte de vídeo compatível." +}); \ No newline at end of file diff --git a/videojs/lang/ru.js b/videojs/lang/ru.js new file mode 100644 index 0000000..a0f3255 --- /dev/null +++ b/videojs/lang/ru.js @@ -0,0 +1,26 @@ +videojs.addLanguage("ru",{ + "Play": "Воспроизвести", + "Pause": "Приостановить", + "Current Time": "Текущее время", + "Duration Time": "Продолжительность", + "Remaining Time": "Оставшееся время", + "Stream Type": "Тип потока", + "LIVE": "ОНЛАЙН", + "Loaded": "Загрузка", + "Progress": "Прогресс", + "Fullscreen": "Полноэкранный режим", + "Non-Fullscreen": "Неполноэкранный режим", + "Mute": "Без звука", + "Unmuted": "Со звуком", + "Playback Rate": "Скорость воспроизведения", + "Subtitles": "Субтитры", + "subtitles off": "Субтитры выкл.", + "Captions": "Подписи", + "captions off": "Подписи выкл.", + "Chapters": "Главы", + "You aborted the video playback": "Вы прервали воспроизведение видео", + "A network error caused the video download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.", + "No compatible source was found for this video.": "Совместимые источники для этого видео отсутствуют." +}); \ No newline at end of file diff --git a/videojs/lang/uk.js b/videojs/lang/uk.js new file mode 100644 index 0000000..96c4226 --- /dev/null +++ b/videojs/lang/uk.js @@ -0,0 +1,26 @@ +videojs.addLanguage("uk",{ + "Play": "Відтворити", + "Pause": "Призупинити", + "Current Time": "Поточний час", + "Duration Time": "Тривалість", + "Remaining Time": "Час, що залишився", + "Stream Type": "Тип потоку", + "LIVE": "НАЖИВО", + "Loaded": "Завантаження", + "Progress": "Прогрес", + "Fullscreen": "Повноекранний режим", + "Non-Fullscreen": "Неповноекранний режим", + "Mute": "Без звуку", + "Unmuted": "Зі звуком", + "Playback Rate": "Швидкість відтворення", + "Subtitles": "Субтитри", + "subtitles off": "Без субтитрів", + "Captions": "Підписи", + "captions off": "Без підписів", + "Chapters": "Розділи", + "You aborted the video playback": "Ви припинили відтворення відео", + "A network error caused the video download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.", + "No compatible source was found for this video.": "Сумісні джерела для цього відео відсутні." +}); \ No newline at end of file diff --git a/videojs/lang/zh.js b/videojs/lang/zh.js new file mode 100644 index 0000000..604cf9e --- /dev/null +++ b/videojs/lang/zh.js @@ -0,0 +1,27 @@ +videojs.addLanguage("zh",{ + "Play": "播放", + "Pause": "暂停", + "Current Time": "当前时间", + "Duration Time": "时长", + "Remaining Time": "剩余时间", + "Stream Type": "媒体流类型", + "LIVE": "直播", + "Loaded": "加载完毕", + "Progress": "进度", + "Fullscreen": "全屏", + "Non-Fullscreen": "退出全屏", + "Mute": "静音", + "Unmuted": "取消静音", + "Playback Rate": "播放码率", + "Subtitles": "字幕", + "subtitles off": "字幕关闭", + "Captions": "内嵌字幕", + "captions off": "内嵌字幕关闭", + "Chapters": "节目段落", + "You aborted the video playback": "视频播放被终止", + "A network error caused the video download to fail part-way.": "网络错误导致视频下载中途失败。", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "视频因格式不支持或者服务器或网络的问题无法加载。", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。", + "No compatible source was found for this video.": "无法找到此视频兼容的源。", + "The video is encrypted and we do not have the keys to decrypt it.": "视频已加密,无法解密。" +}); \ No newline at end of file diff --git a/videojs/video-js.css b/videojs/video-js.css index b81de37..fec6cd2 100644 --- a/videojs/video-js.css +++ b/videojs/video-js.css @@ -1,12 +1,12 @@ /*! Video.js Default Styles (http://videojs.com) -Version 4.5.1 +Version 4.11.3 Create your own skin at http://designer.videojs.com */ /* SKIN ================================================================================ The main class name for all skin-specific styles. To make your own skin, -replace all occurances of 'vjs-default-skin' with a new name. Then add your new +replace all occurrences of 'vjs-default-skin' with a new name. Then add your new skin name to your video tag instead of the default skin. e.g.