diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e54817 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ + +*.DS_Store + +.brackets.json +videojs/font/.DS_Store + +/vendor/ + +*.lock diff --git a/admin.php b/admin.php index d0fbaf9..1a50912 100644 --- a/admin.php +++ b/admin.php @@ -74,6 +74,9 @@ function register_videojs_settings() { add_settings_field('videojs_video_shortcode', 'Use the [video] shortcode?', 'video_shortcode_output', 'videojs-settings', 'videojs_defaults'); add_settings_field('videojs_reset', 'Restore defaults upon plugin deactivation/reactivation', 'reset_output', 'videojs-settings', 'videojs_defaults'); +/* New Plugins Settings */ + add_settings_field('videojs_resolution', 'Enable video resolution selection? (uses videojs-resolution)', 'resolution_output', 'videojs-settings', 'videojs_defaults'); + add_settings_field('videojs_forceMobile', 'Force mobile custom controls?', 'forceMobile_output', 'videojs-settings', 'videojs_defaults'); } /* Validate our inputs */ @@ -90,7 +93,9 @@ function videojs_options_validate($input) { $newinput['videojs_color_three'] = $input['videojs_color_three']; $newinput['videojs_reset'] = $input['videojs_reset']; $newinput['videojs_video_shortcode'] = $input['videojs_video_shortcode']; - + // new plugin validations + $newinput['videojs_resolution'] = $input['videojs_resolution']; + $newinput['videojs_forceMobile'] = $input['videojs_forceMobile']; if(!preg_match("/^\d+$/", trim($newinput['videojs_width']))) { $newinput['videojs_width'] = ''; } @@ -182,7 +187,18 @@ function reset_output() { if($options['videojs_reset']) { $checked = ' checked="checked" '; } else { $checked = ''; } echo ""; } +/* Plugins for videojs */ +function resolution_output() { + $options = get_option('videojs_options'); + if($options['videojs_resolution']) { $checked = ' checked="checked" '; } else { $checked = ''; } + echo ""; +} +function forceMobile_output() { + $options = get_option('videojs_options'); + if($options['videojs_forceMobile']) { $checked = ' checked="checked" '; } else { $checked = ''; } + echo ""; +} /* Set Defaults */ register_activation_hook(plugin_dir_path( __FILE__ ) . 'video-js.php', 'add_defaults_fn'); @@ -190,7 +206,7 @@ function reset_output() { function add_defaults_fn() { $tmp = get_option('videojs_options'); if(($tmp['videojs_reset']=='on')||(!is_array($tmp))) { - $arr = array("videojs_height"=>"264","videojs_width"=>"640","videojs_preload"=>"","videojs_autoplay"=>"","videojs_responsive"=>"","videojs_cdn"=>"on","videojs_color_one"=>"#ccc","videojs_color_two"=>"#66A8CC","videojs_color_three"=>"#000","videojs_video_shortcode"=>"on","videojs_reset"=>""); + $arr = array("videojs_height"=>"264","videojs_width"=>"640","videojs_preload"=>"","videojs_autoplay"=>"","videojs_responsive"=>"","videojs_cdn"=>"on","videojs_color_one"=>"#ccc","videojs_color_two"=>"#66A8CC","videojs_color_three"=>"#000","videojs_video_shortcode"=>"on","videojs_reset"=>"","videojs_resolution"=>"","videojs_forceMobile"=>""); update_option('videojs_options', $arr); update_option("videojs_db_version", "1.0"); } @@ -211,7 +227,6 @@ function update_videojs() { $options['videojs_video_shortcode'] = "on"; update_option('videojs_options', $options); - update_option("videojs_db_version", $videojs_db_version); //Update the database version setting } } diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..f53f8df --- /dev/null +++ b/composer.json @@ -0,0 +1,16 @@ +{ + "name": "stopspazzing/video-js-for-wordpress", + "description": "A video plugin for WordPress built on the Video.js HTML5 video player library. Allows you to embed video in your post or page using HTML5 with Flash fallback support for non-HTML5 browsers.", + "type": "wordpress-plugin", + "require": { + "php": "^5.4" + }, + "license": "LGPLv3", + "authors": [ + { + "name": "Jeremy Zimm", + "email": "stopspazzing@gmail.com" + } + ], + "minimum-stability": "dev" +} diff --git a/help.html b/help.html index dad690d..9141752 100644 --- a/help.html +++ b/help.html @@ -28,6 +28,13 @@

youtube

[videojs youtube="http://www.youtube.com/watch?v=DJU6ppZAaec"]
 
+

rtmp

+ +

The location of the rtmp source for the video.

+ +
[videojs rtmp="rtmp://cp67126.edgefcs.net/ondemand/&mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4"]
+
+

poster

The location of the poster frame for the video.

diff --git a/mce-button.js b/mce-button.js index 7855055..a3a25d1 100644 --- a/mce-button.js +++ b/mce-button.js @@ -1,4 +1,4 @@ -(function() { +(function(){ tinymce.create('tinymce.plugins.VideoJS', { init: function(ed, url) { ed.addButton('videojs', { @@ -50,37 +50,42 @@ \ \ \ - \ \ \ \ - \ \ \ \ - \ \ \ \ - \ \ + \ + \ + \ + \ \ \ - \ \ \ \ - \ \ \ \ - \ \ \ @@ -96,18 +101,26 @@ \ \ \ - \ + \ \ \ \ \ - \ \ \ \ - \ + \ + \ + \ \

\ +

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

\ +

\ The location of the VP8/WebM source for the video.

\ +

\ The location of the Theora/Ogg source for the video.

\ +

\ The location of the YouTube source for the video.

\ + The location of the RTMP source for the video.

\ +

\ The location of the poster frame for the video.

\ +

\ The width of the video.

\ +

\ The height of the video.

\ +

\ Add a custom ID to your video player.

\ +

\ Add a custom class to your player. Use full for floating the video player using \'alignleft\' or \'alignright\'.

\ + Add a watermark to your player. Default location is top left corner @ 50% opacity.
\ + xpos= ypos= opacity= xrepeat=\ + + +
\

\ @@ -127,11 +140,18 @@ 'mp4' : '', 'webm' : '', 'ogg' : '', + 'youtube' : '', + 'rtmp' : '', 'poster' : '', 'width' : '', 'height' : '', 'id' : '', - 'class' : '' + 'class' : '', + 'watermark': '', + 'wmxpos' : '0', + 'wmypos' : '0', + 'wmxrepeat': '0', + 'wmopacity': '0.5' }; for(var index in options) { diff --git a/readme.txt b/readme.md similarity index 82% rename from readme.txt rename to readme.md index 76595c0..476a3b5 100755 --- a/readme.txt +++ b/readme.md @@ -1,22 +1,22 @@ -=== Video.js - HTML5 Video Player for Wordpress === -Contributors: nosecreek, Steve Heffernan, schnere -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 -License: LGPLv3 -License URI: http://www.gnu.org/licenses/lgpl-3.0.html +# Video.js - HTML5 Video Player for Wordpress +Contributors: nosecreek, Steve Heffernan, schnere, stopspazzing +Donate link: http://ncrk.ca/videojs +Tags: html5, video, player, javascript +Requires at least: 2.7 +Tested up to: 4.2.2 +Stable tag: 4.6.1 +License: LGPLv3 +License URI: http://www.gnu.org/licenses/lgpl-3.0.html Self-hosted responsive HTML5 video for WordPress, built on the widely used Video.js HTML5 video player. Embed video in your post or page using HTML5. -== Description == +## Description A video plugin for WordPress built on the Video.js HTML5 video player library. Allows you to embed video in your post or page using HTML5 with Flash fallback support for non-HTML5 browsers. View [videojs.com](http://videojs.com) for additional information. -== Installation == +## Installation This section describes how to install the plugin and get it working. @@ -47,6 +47,11 @@ The location of the YouTube source for the video. [videojs youtube="http://www.youtube.com/watch?v=DJU6ppZAaec"] +### rtmp +The location of the RTMP source for the video. + + [videojs rtmp="rtmp://cp67126.edgefcs.net/ondemand/&mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4"] + ### poster The location of the poster frame for the video. @@ -107,6 +112,10 @@ Text Tracks are a function of HTML5 video for providing time triggered text to t [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] +### Video Resolution Selector +Allows you to use multiple video resolution sources, currently for mp4's only tho should work for anything. The first res will be the default. Make sure each mp4# matches res# + + [videojs mp41="http://video-js.zencoder.com/oceans-clip360p.mp4" mp42="http://video-js.zencoder.com/oceans-clip720p.mp4" mp43="http://video-js.zencoder.com/oceans-clip1080p.mp4" res1="360" res2="720" res3="1080"] ##Video.js Settings Screen -------------------------- @@ -119,6 +128,23 @@ Uncheck the *Use the [video] shortcode?* option __only__ if you are using WordPr == Changelog == += 4.6.2 = + +* Moving youtube.js to head fixes several issues with youtube player +* Added watermark plugin with shortcode + += 4.6.1 = + +* Simplified video output code and cleaned up unnecessary conditions +* Fixed Youtube bug in MCE that would prevent youtube url's from being added to the generated shorcode +* Added RTMP video source option in MCE and shortcode + += 4.6.0 = + +* Updated to use Video.js 4.12.6 +* Added Video Resolution Selector plugin +* Added option to force mobile custom controls + = 4.5.0 = * Updated to use Video.js 4.5 diff --git a/video-js.php b/video-js.php index 6bb2ca6..2170e0c 100755 --- a/video-js.php +++ b/video-js.php @@ -1,14 +1,14 @@ Dustin Lammiman, Steve Heffernan -Version: 4.5.0 +Version: 4.6.0 */ @@ -25,275 +25,301 @@ /* Register the scripts and enqueue css files */ function register_videojs(){ - $options = get_option('videojs_options'); - - wp_register_style( 'videojs-plugin', plugins_url( 'plugin-styles.css' , __FILE__ ) ); - 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_enqueue_style( 'videojs' ); - } else { //use the self hosted version - wp_register_script( 'videojs', plugins_url( 'videojs/video.js' , __FILE__ ) ); - wp_register_style( 'videojs', plugins_url( 'videojs/video-js.css' , __FILE__ ) ); - wp_enqueue_style( 'videojs' ); - } - - wp_register_script( 'videojs-youtube', plugins_url( 'videojs/vjs.youtube.js' , __FILE__ ) ); + $options = get_option('videojs_options'); + + wp_register_style( 'videojs-plugin', plugins_url( 'plugin-styles.css' , __FILE__ ) ); + wp_enqueue_style( 'videojs-plugin' ); + + if($options['videojs_cdn'] == 'on') { //use the cdn hosted version v4.12.6 + wp_register_script( 'videojs', '//vjs.zencdn.net/4.12.6/video.js' ); + wp_register_style( 'videojs', '//vjs.zencdn.net/4.12.6/video-js.css' ); + wp_enqueue_style( 'videojs' ); + } else { //use the self hosted version + wp_register_script( 'videojs', plugins_url( 'videojs/video.js' , __FILE__ ) ); + wp_register_style( 'videojs', plugins_url( 'videojs/video-js.css' , __FILE__ ) ); + wp_enqueue_style( 'videojs' ); + } + wp_register_script( 'videojs-youtube', plugins_url( 'videojs/vjs.youtube.js' , __FILE__ ) ); + if($options['videojs_resolution'] == 'on') { //add needed files for selecting video resolution + wp_register_script( 'videojs-resolution', plugins_url( 'videojs/video-quality-selector.js' , __FILE__ ) ); + wp_register_style( 'videojs-resolution', plugins_url( 'videojs/button-styles.css' , __FILE__ ) ); + wp_enqueue_style( 'videojs-resolution' ); + } + wp_register_script( 'videojs-watermark', plugins_url( 'videojs/videojs.watermark.js' , __FILE__ ) ); + wp_register_style( 'videojs-watermark', plugins_url( 'videojs/videojs.watermark.css' , __FILE__ ) ); + wp_enqueue_style( 'videojs-watermark' ); } add_action( 'wp_enqueue_scripts', 'register_videojs' ); - -/* Include the scripts before */ function add_videojs_header(){ - wp_enqueue_script( 'videojs' ); - wp_enqueue_script( 'videojs-youtube' ); + wp_enqueue_script( 'videojs' ); + wp_enqueue_script( 'videojs-youtube' ); + wp_enqueue_script( 'videojs-resolution' ); + wp_enqueue_script( 'videojs-watermark' ); } - +add_action('wp_head','add_videojs_header'); /* Include custom color styles in the site header */ function videojs_custom_colors() { - $options = get_option('videojs_options'); - - if($options['videojs_color_one'] != "#ccc" || $options['videojs_color_two'] != "#66A8CC" || $options['videojs_color_three'] != "#000") { //If custom colors are used - $color3 = vjs_hex2RGB($options['videojs_color_three'], true); //Background color is rgba - echo " - - "; - } + $options = get_option('videojs_options'); + + if($options['videojs_color_one'] != "#ccc" || $options['videojs_color_two'] != "#66A8CC" || $options['videojs_color_three'] != "#000") { //If custom colors are used + $color3 = vjs_hex2RGB($options['videojs_color_three'], true); //Background color is rgba + echo " + + "; + } } 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 ' - - '; - } + $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(); - - $options = get_option('videojs_options'); //load the defaults - - extract(shortcode_atts(array( - 'mp4' => '', - 'webm' => '', - 'ogg' => '', - 'youtube' => '', - 'poster' => '', - 'width' => $options['videojs_width'], - 'height' => $options['videojs_height'], - 'preload' => $options['videojs_preload'], - 'autoplay' => $options['videojs_autoplay'], - 'loop' => '', - 'controls' => '', - 'id' => '', - 'class' => '', - 'muted' => '' - ), $atts)); - - $dataSetup = array(); - - // ID is required for multiple videos to work - if ($id == '') - $id = 'example_video_id_'.rand(); - - // MP4 Source Supplied - if ($mp4) - $mp4_source = ''; - else - $mp4_source = ''; - - // WebM Source Supplied - if ($webm) - $webm_source = ''; - else - $webm_source = ''; - - // Ogg source supplied - if ($ogg) - $ogg_source = ''; - else - $ogg_source = ''; - - if ($youtube) { - $dataSetup['forceSSL'] = 'true'; - $dataSetup['techOrder'] = array("youtube"); - $dataSetup['src'] = $youtube; - } - // Poster image supplied - if ($poster) - $poster_attribute = ' poster="'.$poster.'"'; - else - $poster_attribute = ''; - - // Preload the video? - if ($preload == "auto" || $preload == "true" || $preload == "on") - $preload_attribute = ' preload="auto"'; - elseif ($preload == "metadata") - $preload_attribute = ' preload="metadata"'; - else - $preload_attribute = ' preload="none"'; - - // Autoplay the video? - if ($autoplay == "true" || $autoplay == "on") - $autoplay_attribute = " autoplay"; - else - $autoplay_attribute = ""; - - // Loop the video? - if ($loop == "true") - $loop_attribute = " loop"; - else - $loop_attribute = ""; - - // Controls? - if ($controls == "false") - $controls_attribute = ""; - else - $controls_attribute = " controls"; - - // Is there a custom class? - if ($class) - $class = ' ' . $class; - - // Muted? - if ($muted == "true") - $muted_attribute = " muted"; - else - $muted_attribute = ""; - - // Tracks - if(!is_null( $content )) - $track = do_shortcode($content); - else - $track = ""; - - $jsonDataSetup = str_replace('\\/', '/', json_encode($dataSetup)); - - //Output the

-
- {$videojs} -
-
- - + + if($options['videojs_responsive'] == 'on') { //add the responsive wrapper + + $ratio = ($height && $width) ? $height/$width*100 : 56.25; //Set the aspect ratio (default 16:9) + + $maxwidth = ($width) ? "max-width:{$width}px" : ""; //Set the max-width + + $videojs = <<<_end_ + + +
+
+ {$videojs} +
+
+ _end_; - } - - return $videojs; - + } + return $videojs; } add_shortcode('videojs', 'video_shortcode'); //Only use the [video] shortcode if the correct option is set $options = get_option('videojs_options'); if( !array_key_exists('videojs_video_shortcode', $options) || $options['videojs_video_shortcode'] ){ - add_shortcode('video', 'video_shortcode'); + add_shortcode('video', 'video_shortcode'); } - /* The [track] shortcode */ function track_shortcode($atts, $content=null){ - extract(shortcode_atts(array( - 'kind' => '', - 'src' => '', - 'srclang' => '', - 'label' => '', - 'default' => '' - ), $atts)); - - if($kind) - $kind = " kind='" . $kind . "'"; - - if($src) - $src = " src='" . $src . "'"; - - if($srclang) - $srclang = " srclang='" . $srclang . "'"; - - if($label) - $label = " label='" . $label . "'"; - - if($default == "true" || $default == "default") - $default = " default"; - else - $default = ""; - - $track = " - - "; - - return $track; + extract(shortcode_atts(array( + 'kind' => '', + 'src' => '', + 'srclang' => '', + 'label' => '', + 'default' => '' + ), $atts)); + + if($kind) + $kind = " kind='" . $kind . "'"; + + if($src) + $src = " src='" . $src . "'"; + + if($srclang) + $srclang = " srclang='" . $srclang . "'"; + + if($label) + $label = " label='" . $label . "'"; + + if($default == "true" || $default == "default") + $default = " default"; + else + $default = ""; + + $track = " + + "; + + return $track; } add_shortcode('track', 'track_shortcode'); - /* TinyMCE Shortcode Generator */ function video_js_button() { - if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') ) - return; - if ( get_user_option('rich_editing') == 'true' ) { - add_filter('mce_external_plugins', 'video_js_mce_plugin'); - add_filter('mce_buttons', 'register_video_js_button'); - } + if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') ) + return; + if ( get_user_option('rich_editing') == 'true' ) { + add_filter('mce_external_plugins', 'video_js_mce_plugin'); + add_filter('mce_buttons', 'register_video_js_button'); + } } add_action('init', 'video_js_button'); function register_video_js_button($buttons) { - array_push($buttons, "|", "videojs"); - $options = get_option('videojs_options'); - echo('
'); //the default values from the admin screen, to be used by our javascript - return $buttons; + array_push($buttons, "|", "videojs"); + return $buttons; } function video_js_mce_plugin($plugin_array) { - $plugin_array['videojs'] = plugins_url( 'mce-button.js' , __FILE__ ); - return $plugin_array; + $options = get_option('videojs_options'); + echo('
'); //the default values from the admin screen, to be used by our javascript + $plugin_array['videojs'] = plugins_url( 'mce-button.js' , __FILE__ ); + return $plugin_array; } - ?> diff --git a/videojs/button-styles.css b/videojs/button-styles.css new file mode 100755 index 0000000..e70a197 --- /dev/null +++ b/videojs/button-styles.css @@ -0,0 +1,31 @@ +@charset "utf-8"; + +/* +You are free to style the button however you wish. I plan to use +an icon from my site's own icon font to make it more visible. These +are just basic styles to make it look ok with plain text. +*/ + +/* Position the button */ +.vjs-res-button { + float: right; + line-height: 3em; +} + +/* Don't show hover effects on title */ +ul li.vjs-menu-title.vjs-res-menu-title:hover { + cursor: default; + background-color: transparent; + color: #CCC; + + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +/* Needed to keep text visible in video.js 4.9 */ +.vjs-res-button .vjs-control-text { + width: auto; + height: auto; + clip: auto; +} \ No newline at end of file diff --git a/videojs/demo.captions.vtt b/videojs/demo.captions.vtt old mode 100644 new mode 100755 diff --git a/videojs/demo.html b/videojs/demo.html old mode 100644 new mode 100755 index b2b3fa4..8093718 --- a/videojs/demo.html +++ b/videojs/demo.html @@ -25,6 +25,7 @@ +

To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

diff --git a/videojs/font/vjs.eot b/videojs/font/vjs.eot old mode 100644 new mode 100755 index a075c19..a2c0f5f 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 old mode 100644 new mode 100755 index f1af0e5..fa6aa7b --- 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 old mode 100644 new mode 100755 index eb24637..682a9b2 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 old mode 100644 new mode 100755 index c3f0f1d..a79d0fa 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 100755 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/bg.js b/videojs/lang/bg.js new file mode 100755 index 0000000..610b393 --- /dev/null +++ b/videojs/lang/bg.js @@ -0,0 +1,26 @@ +videojs.addLanguage("bg",{ + "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/ca.js b/videojs/lang/ca.js new file mode 100755 index 0000000..6ebc379 --- /dev/null +++ b/videojs/lang/ca.js @@ -0,0 +1,26 @@ +videojs.addLanguage("ca",{ + "Play": "Reproducció", + "Pause": "Pausa", + "Current Time": "Temps reproduït", + "Duration Time": "Durada total", + "Remaining Time": "Temps restant", + "Stream Type": "Tipus de seqüència", + "LIVE": "EN DIRECTE", + "Loaded": "Carregat", + "Progress": "Progrés", + "Fullscreen": "Pantalla completa", + "Non-Fullscreen": "Pantalla no completa", + "Mute": "Silencia", + "Unmuted": "Amb so", + "Playback Rate": "Velocitat de reproducció", + "Subtitles": "Subtítols", + "subtitles off": "Subtítols desactivats", + "Captions": "Llegendes", + "captions off": "Llegendes desactivades", + "Chapters": "Capítols", + "You aborted the video playback": "Heu interromput la reproducció del vídeo.", + "A network error caused the video download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video 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.", + "No compatible source was found for this video.": "No s'ha trobat cap font compatible amb el vídeo." +}); \ No newline at end of file diff --git a/videojs/lang/cs.js b/videojs/lang/cs.js new file mode 100755 index 0000000..c2c8377 --- /dev/null +++ b/videojs/lang/cs.js @@ -0,0 +1,26 @@ +videojs.addLanguage("cs",{ + "Play": "Přehrát", + "Pause": "Pauza", + "Current Time": "Aktuální čas", + "Duration Time": "Doba trvání", + "Remaining Time": "Zbývající čas", + "Stream Type": "Stream Type", + "LIVE": "ŽIVĚ", + "Loaded": "Načteno", + "Progress": "Stav", + "Fullscreen": "Celá obrazovka", + "Non-Fullscreen": "Zmenšená obrazovka", + "Mute": "Ztlumit zvuk", + "Unmuted": "Přehrát zvuk", + "Playback Rate": "Rychlost přehrávání", + "Subtitles": "Titulky", + "subtitles off": "Titulky vypnuty", + "Captions": "Popisky", + "captions off": "Popisky vypnuty", + "Chapters": "Kapitoly", + "You aborted the video playback": "Přehrávání videa je přerušeno.", + "A network error caused the video download to fail part-way.": "Video nemohlo být načteno, kvůli chybě v síti.", + "The video 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.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Váš prohlížeč nepodporuje formát videa.", + "No compatible source was found for this video.": "Špatně zadaný zdroj videa." +}); \ No newline at end of file diff --git a/videojs/lang/de.js b/videojs/lang/de.js new file mode 100755 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 100755 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 100755 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 100755 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 100755 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 100755 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 100755 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 100755 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 100755 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 100755 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/tr.js b/videojs/lang/tr.js new file mode 100755 index 0000000..d370fc1 --- /dev/null +++ b/videojs/lang/tr.js @@ -0,0 +1,26 @@ +videojs.addLanguage("tr",{ + "Play": "Oynat", + "Pause": "Duraklat", + "Current Time": "Süre", + "Duration Time": "Toplam Süre", + "Remaining Time": "Kalan Süre", + "Stream Type": "Yayın Tipi", + "LIVE": "CANLI", + "Loaded": "Yüklendi", + "Progress": "Yükleniyor", + "Fullscreen": "Tam Ekran", + "Non-Fullscreen": "Küçük Ekran", + "Mute": "Ses Kapa", + "Unmuted": "Ses Aç", + "Playback Rate": "Oynatma Hızı", + "Subtitles": "Altyazı", + "subtitles off": "Altyazı Kapat", + "Captions": "Ek Açıklamalar", + "captions off": "Ek Açıklamalar Kapalı", + "Chapters": "Bölümler", + "You aborted the video playback": "Video oynatmayı iptal ettiniz", + "A network error caused the video download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.", + "The video could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, Ağ yada sunucu hattası veya belirtilen format desteklenmiyor.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.", + "No compatible source was found for this video.": "Video için kaynak bulunamadı." +}); \ No newline at end of file diff --git a/videojs/lang/uk.js b/videojs/lang/uk.js new file mode 100755 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/vi.js b/videojs/lang/vi.js new file mode 100755 index 0000000..6e126d7 --- /dev/null +++ b/videojs/lang/vi.js @@ -0,0 +1,26 @@ +videojs.addLanguage("vi",{ + "Play": "Phát", + "Pause": "Tạm dừng", + "Current Time": "Thời gian hiện tại", + "Duration Time": "Độ dài", + "Remaining Time": "Thời gian còn lại", + "Stream Type": "Kiểu Stream", + "LIVE": "TRỰC TIẾP", + "Loaded": "Đã tải", + "Progress": "Tiến trình", + "Fullscreen": "Toàn màn hình", + "Non-Fullscreen": "Thoát toàn màn hình", + "Mute": "Tắt tiếng", + "Unmuted": "Bật âm thanh", + "Playback Rate": "Tốc độ phát", + "Subtitles": "Phụ đề", + "subtitles off": "Tắt phụ đề", + "Captions": "Chú thích", + "captions off": "Tắt chú thích", + "Chapters": "Chương", + "You aborted the video playback": "Bạn đã hủy việc phát video.", + "A network error caused the video download to fail part-way.": "Một lỗi mạng dẫn đến việc tải video bị lỗi.", + "The video 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ợ.", + "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Phát video đã bị hủy do một sai lỗi hoặc video sử dụng những tính năng trình duyệt không hỗ trợ.", + "No compatible source was found for this video.": "Không có nguồn tương thích cho video này." +}); \ No newline at end of file diff --git a/videojs/lang/zh-CN.js b/videojs/lang/zh-CN.js new file mode 100755 index 0000000..fc8b72c --- /dev/null +++ b/videojs/lang/zh-CN.js @@ -0,0 +1,27 @@ +videojs.addLanguage("zh-CN",{ + "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/lang/zh-TW.js b/videojs/lang/zh-TW.js new file mode 100755 index 0000000..6e3736d --- /dev/null +++ b/videojs/lang/zh-TW.js @@ -0,0 +1,27 @@ +videojs.addLanguage("zh-TW",{ + "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 old mode 100644 new mode 100755 index b81de37..74b52a8 --- a/videojs/video-js.css +++ b/videojs/video-js.css @@ -1,12 +1,13 @@ +/* Generated by less 2.4.0 */ /*! Video.js Default Styles (http://videojs.com) -Version 4.5.1 +Version GENERATED_AT_BUILD 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.