aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GWP_bs3_panel_shortcode.php4
-rw-r--r--languages/librevideojs-html5-player-es_ES.po2
-rw-r--r--languages/librevideojs-html5-player.pot2
-rw-r--r--librevideojs-html5-player.php104
-rw-r--r--librevideojs/fonts/libre-material/libre-icons.eotbin5066 -> 5098 bytes
-rw-r--r--librevideojs/fonts/libre-material/libre-icons.svg157
-rw-r--r--librevideojs/fonts/libre-material/libre-icons.ttfbin4884 -> 4916 bytes
-rw-r--r--librevideojs/fonts/libre-material/libre-icons.woffbin2884 -> 2832 bytes
-rw-r--r--readme.txt10
9 files changed, 147 insertions, 132 deletions
diff --git a/GWP_bs3_panel_shortcode.php b/GWP_bs3_panel_shortcode.php
index 1ef3774..2f89322 100644
--- a/GWP_bs3_panel_shortcode.php
+++ b/GWP_bs3_panel_shortcode.php
@@ -39,7 +39,7 @@ class GWP_bs3_panel_shortcode{
), $atts )
);
- //make sure the panel type is a valid styled type if not revert to wemb
+ //make sure the panel type is a valid styled type if not revert to webm
$panel_types = array('ogv','webm','mp4');
$type = in_array($type, $panel_types)? $type: 'webm';
@@ -113,3 +113,5 @@ class GWP_bs3_panel_shortcode{
wp_enqueue_style('bs3_panel_shortcode', plugins_url('librevideojs/css/mce-button.css' , __FILE__));
}
}
+
+?>
diff --git a/languages/librevideojs-html5-player-es_ES.po b/languages/librevideojs-html5-player-es_ES.po
index 035a407..840fbbb 100644
--- a/languages/librevideojs-html5-player-es_ES.po
+++ b/languages/librevideojs-html5-player-es_ES.po
@@ -36,6 +36,6 @@ msgstr ""
"Para obtener documentación detallada, por favor visite la página de plugin <a target="
"\"_blank\" href=\"%s\">here</a>."
-#: librevideojs-html5-player.php:136
+#: librevideojs-html5-player.php:130
msgid "you need to specify the src of the video file"
msgstr "es necesario especificar el src del archivo de vídeo"
diff --git a/languages/librevideojs-html5-player.pot b/languages/librevideojs-html5-player.pot
index dc2295b..5573b61 100644
--- a/languages/librevideojs-html5-player.pot
+++ b/languages/librevideojs-html5-player.pot
@@ -32,6 +32,6 @@ msgid ""
"\"_blank\" href=\"%s\">here</a>."
msgstr ""
-#: librevideojs-html5-player.php:136
+#: librevideojs-html5-player.php:130
msgid "you need to specify the src of the video file"
msgstr ""
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php
index c6215e1..7807a2e 100644
--- a/librevideojs-html5-player.php
+++ b/librevideojs-html5-player.php
@@ -106,7 +106,7 @@ function librevideojs_html5_player_header() {
}
}
-function librevideojs_html5_video_embed_handler($atts) {
+function librevideojs_html5_video_embed_handler($atts, $content=null) {
extract(shortcode_atts(array(
'url' => '',
'rsd' => '',
@@ -123,13 +123,7 @@ function librevideojs_html5_video_embed_handler($atts) {
'muted' => '',
'poster' => '',
'class' => '',
- 'subten' => '',
- 'subtes' => '',
- 'subtpt' => '',
- 'subtit' => '',
- 'subtfr' => '',
- 'subtgl' => '',
- 'subteo' => '',
+
), $atts));
if(empty($url)){
@@ -154,43 +148,6 @@ function librevideojs_html5_video_embed_handler($atts) {
$src = $src.$umsd;
}
- //subtitles
- if (!empty($subtes)) {
- $subtitl_es = '<track kind="captions" src="'.$subtes.'" srclang="es" label="Español"/>';
- }else {
- $subtitl_es = "";
- }
-
- if (!empty($subten)){
- $subtitl_en = '<track kind="captions" src="'.$subten.'" srclang="en" label="English"/>';
- } else {
- $subtitl_en = "";
- }
-
- if (!empty($subtpt)){
- $subtitl_pt = '<track kind="captions" src="'.$subtpt.'" srclang="pt" label="Portuguese"/>';
- } else {
- $subtitl_pt = "";
- }
-
- if (!empty($subtfr)){
- $subtitl_fr = '<track kind="captions" src="'.$subtfr.'" srclang="fr" label="Français"/>';
- } else {
- $subtitl_fr = "";
- }
-
- if (!empty($subtgl)){
- $subtitl_gl = '<track kind="captions" src="'.$subtgl.'" srclang="gl" label="Galego"/>';
- } else {
- $subtitl_gl = "";
- }
-
- if (!empty($subteo)){
- $subtitl_eo = '<track kind="captions" src="'.$subteo.'" srclang="eo" label="Esperanto"/>';
- } else {
- $subtitl_eo = "";
- }
-
//resolution selector
if (!empty($selector)) {
$resolution = "$selector";
@@ -237,6 +194,14 @@ function librevideojs_html5_video_embed_handler($atts) {
else{
$muted = "";
}
+ // Tracks
+ if(!is_null( $content )){
+ $track = do_shortcode($content);
+ }
+ else{
+ $track = "";
+ }
+
//poster
if(!empty($poster)) {
$poster = ' poster="'.$poster.'"';
@@ -256,9 +221,10 @@ EOT;
}
$output = <<<EOT
+ <!-- Begin Video.js -->
<video id="$player" class="cliplibre-js-responsive-container librevjs-hd cliplibre-js librevjs-libre-skin" {$controls}{$preload}{$autoplay}{$loop}{$muted}{$poster} width="100%" height="auto" data-setup='{}'>
- $src
- $subtitl_es $subtitl_en $subtitl_pt $subtitl_fr $subtitl_gl $subtitl_eo
+ {$src}
+ {$track}
</video>
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
@@ -267,6 +233,50 @@ EOT;
</script>
$style
<br>
+ <!-- End Video.js -->
EOT;
return $output;
}
+
+/*Trayendo los subtitulos mediante [track]*/
+function track_shortcode($atts, $content=null){
+ extract(shortcode_atts(array(
+ 'kind' => '',
+ 'subt' => '',
+ 'srclang' => '',
+ 'label' => '',
+ 'default' => '',
+ ), $atts));
+
+ if($kind){
+ $kind = " kind='" . $kind . "'";
+ }
+
+ if($subt){
+ $subt = " src='" . $subt . "'";
+ }
+
+ if($srclang){
+ $srclang = " srclang='" . $srclang . "'";
+ }
+
+ if($label){
+ $label = " label='" . $label . "'";
+ }
+
+ if($default == "true" || $default == "default"){
+ $default = " default";
+ }
+ else{
+ $default = "";
+ }
+
+ $track = "
+ <track" . $kind . $subt . $srclang . $label . $default . " />
+ ";
+
+ return $track;
+}
+add_shortcode('track', 'track_shortcode');
+
+?>
diff --git a/librevideojs/fonts/libre-material/libre-icons.eot b/librevideojs/fonts/libre-material/libre-icons.eot
index 88861ad..1782417 100644
--- a/librevideojs/fonts/libre-material/libre-icons.eot
+++ b/librevideojs/fonts/libre-material/libre-icons.eot
Binary files differ
diff --git a/librevideojs/fonts/libre-material/libre-icons.svg b/librevideojs/fonts/libre-material/libre-icons.svg
index ebeb7ba..0e42b9f 100644
--- a/librevideojs/fonts/libre-material/libre-icons.svg
+++ b/librevideojs/fonts/libre-material/libre-icons.svg
@@ -2,9 +2,8 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
-Created by FontForge 20161017 at Tue Nov 8 18:00:41 2016
- By heckyel
-
+Created by FontForge 20161003 at Fri Dec 9 18:02:20 2016
+ By www-data
</metadata>
<defs>
<font id="libre-icons" horiz-adv-x="1024" >
@@ -13,87 +12,87 @@ Created by FontForge 20161017 at Tue Nov 8 18:00:41 2016
font-weight="400"
font-stretch="normal"
units-per-em="1024"
- panose-1="2 0 5 3 0 0 0 0 0 0"
+ panose-1="0 0 0 0 0 0 0 0 0 0"
ascent="960"
descent="-64"
- bbox="-1.42109e-14 -64.029 1472 960"
+ bbox="-11 -71 1472 971"
underline-thickness="0"
underline-position="0"
- unicode-range="U+0020-E615"
+ unicode-range="U+0001-FFFD"
/>
- <missing-glyph />
- <glyph glyph-name="space" unicode=" " horiz-adv-x="512"
+<missing-glyph
+ />
+ <glyph glyph-name=".notdef" unicode="&#xfffd;"
/>
- <glyph glyph-name="fullscreen" unicode="&#xe000;"
-d="M3.335 -60.665v450.531l145.333 -145.333l199.833 199.833l159.866 -159.866l-199.833 -199.833l145.333 -145.333h-450.531zM570.134 956.665h450.531v-450.531l-145.333 145.333l-199.833 -199.833l-159.866 159.866l199.833 199.833l-145.333 145.333z" />
- <glyph glyph-name="play" unicode="&#xe001;"
-d="M909.094 509.479l-740.957 441.009c-9.048 5.321 -18.365 8.516 -29.009 8.516c-29.009 0 -52.696 -23.955 -52.696 -53.228h-0.266v-915.552h0.266c0 -29.278 23.688 -53.228 52.696 -53.228c10.912 0 19.96 3.725 29.809 9.048l740.16 440.475
-c17.566 14.637 28.743 36.728 28.743 61.479s-11.179 46.575 -28.743 61.479z" />
- <glyph glyph-name="pause" unicode="&#xe002;"
-d="M288.008 959.985h-192.011c-35.345 0 -64.004 -28.616 -64.004 -64.004v-896.006c0 -35.387 28.659 -64.004 64.004 -64.004h192.011c35.345 0 64.004 28.616 64.004 64.004v896.006c0 35.387 -28.659 64.004 -64.004 64.004zM928.001 959.985h-192.011
-c-35.387 0 -64.004 -28.616 -64.004 -64.004v-896.006c0 -35.387 28.616 -64.004 64.004 -64.004h192.011c35.387 0 64.004 28.616 64.004 64.004v896.006c0 35.387 -28.616 64.004 -64.004 64.004z" />
- <glyph glyph-name="volume-mute" unicode="&#xe003;"
-d="M960 340.864v-84.864h-84.864l-107.136 107.136l-107.136 -107.136h-84.864v84.864l107.136 107.136l-107.136 107.136v84.864h84.864l107.136 -107.136l107.136 107.136h84.864v-84.864l-107.136 -107.136zM416 0c-8.32 0 -16.512 3.264 -22.624 9.376l-246.624 246.624
-h-114.752c-17.664 0 -32 14.336 -32 32v320c0 17.664 14.336 32 32 32h114.752l246.624 246.624c9.152 9.152 22.912 11.904 34.88 6.944s19.744 -16.608 19.744 -29.568v-832c0 -12.928 -7.808 -24.608 -19.744 -29.568c-3.968 -1.632 -8.128 -2.432 -12.256 -2.432z" />
- <glyph glyph-name="volume-low" unicode="&#xe004;"
-d="M549.024 218.976c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872c81.088 81.088 81.088 213.056 0 294.144c-18.752 18.752 -18.752 49.152 0 67.872c18.752 18.72 49.12 18.752 67.872 0c118.528 -118.528 118.528 -311.392 0 -429.92
-c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048zM416 0c-8.32 0 -16.512 3.264 -22.624 9.376l-246.624 246.624h-114.752c-17.664 0 -32 14.336 -32 32v320c0 17.664 14.336 32 32 32h114.752l246.624 246.624c9.152 9.152 22.912 11.904 34.88 6.944
-s19.744 -16.608 19.744 -29.568v-832c0 -12.928 -7.808 -24.608 -19.744 -29.568c-3.968 -1.632 -8.128 -2.432 -12.256 -2.432z" />
- <glyph glyph-name="volume-medium" unicode="&#xe005;"
-d="M719.52 128.48c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872c131.008 131.008 131.008 344.16 0 475.168c-18.752 18.752 -18.752 49.152 0 67.872s49.152 18.752 67.872 0c81.6 -81.6 126.528 -190.08 126.528 -305.472
-s-44.928 -223.872 -126.528 -305.472c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048v0zM549.024 218.976c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872c81.088 81.088 81.088 213.056 0 294.144
-c-18.752 18.752 -18.752 49.152 0 67.872c18.752 18.72 49.12 18.752 67.872 0c118.528 -118.528 118.528 -311.392 0 -429.92c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048zM416 0c-8.32 0 -16.512 3.264 -22.624 9.376l-246.624 246.624h-114.752
-c-17.664 0 -32 14.336 -32 32v320c0 17.664 14.336 32 32 32h114.752l246.624 246.624c9.152 9.152 22.912 11.904 34.88 6.944s19.744 -16.608 19.744 -29.568v-832c0 -12.928 -7.808 -24.608 -19.744 -29.568c-3.968 -1.632 -8.128 -2.432 -12.256 -2.432z" />
- <glyph glyph-name="volume-high" unicode="&#xe006;" horiz-adv-x="1088"
-d="M890.048 37.952c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872c87.648 87.648 135.904 204.16 135.904 328.096c0 123.936 -48.256 240.448 -135.904 328.096c-18.752 18.752 -18.752 49.152 0 67.872s49.152 18.752 67.872 0
-c105.76 -105.76 164.032 -246.4 164.032 -395.968s-58.24 -290.208 -164.032 -395.968c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048h0.032zM719.52 128.48c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872
-c131.008 131.008 131.008 344.16 0 475.168c-18.752 18.752 -18.752 49.152 0 67.872s49.152 18.752 67.872 0c81.6 -81.6 126.528 -190.08 126.528 -305.472s-44.928 -223.872 -126.528 -305.472c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048v0zM549.024 218.976
-c-12.288 0 -24.576 4.672 -33.952 14.048c-18.752 18.752 -18.752 49.12 0 67.872c81.088 81.088 81.088 213.056 0 294.144c-18.752 18.752 -18.752 49.152 0 67.872c18.752 18.72 49.12 18.752 67.872 0c118.528 -118.528 118.528 -311.392 0 -429.92
-c-9.376 -9.376 -21.664 -14.048 -33.952 -14.048zM416 0c-8.32 0 -16.512 3.264 -22.624 9.376l-246.624 246.624h-114.752c-17.664 0 -32 14.336 -32 32v320c0 17.664 14.336 32 32 32h114.752l246.624 246.624c9.152 9.152 22.912 11.904 34.88 6.944
-s19.744 -16.608 19.744 -29.568v-832c0 -12.928 -7.808 -24.608 -19.744 -29.568c-3.968 -1.632 -8.128 -2.432 -12.256 -2.432z" />
- <glyph glyph-name="playicon" unicode="&#xe007;" horiz-adv-x="1027"
-d="M512.243 831.585c212.136 0 383.956 -171.821 383.956 -383.956s-171.821 -383.956 -383.956 -383.956s-383.956 171.821 -383.956 383.956c0 212.135 171.821 383.956 383.956 383.956zM512.243 927.572c-264.931 0 -479.945 -215.015 -479.945 -479.945
-s215.015 -479.945 479.945 -479.945c264.93 0 479.945 215.015 479.945 479.945s-215.015 479.945 -479.945 479.945h-1.13687e-13zM403.775 666.485l335.002 -216.936l-335.002 -216.936z" />
- <glyph glyph-name="caption" unicode="&#xe008;" horiz-adv-x="1536"
-d="M1323.78 0h-1111.55c-81.888 0 -148.224 66.848 -148.224 149.344v597.344c0 82.496 66.336 149.312 148.224 149.312h1111.55c81.888 0 148.224 -66.816 148.224 -149.312v-597.344c0 -82.496 -66.336 -149.344 -148.224 -149.344zM453.632 500.032
-c4.224 17.536 10.88 33.28 20 47.04c9.12 13.92 21.056 24.864 35.712 33.088c14.816 8.224 32.608 12.32 53.664 12.32c11.552 0 22.528 -1.856 33.056 -5.664c10.528 -3.872 20 -9.184 28.288 -15.968c8.416 -6.88 15.36 -14.784 20.896 -23.744
-c5.568 -8.96 9.12 -18.88 10.72 -29.728h90.432c-2.752 24.768 -9.472 46.848 -20.256 66.016c-10.656 19.264 -24.288 35.328 -40.736 48.416c-16.544 12.992 -35.2 22.912 -56 29.696c-20.704 6.72 -42.976 10.24 -66.4 10.24c-32.608 0 -61.92 -5.856 -87.904 -17.472
-c-25.92 -11.552 -47.968 -27.616 -65.952 -48c-17.792 -20.416 -31.488 -44.352 -40.96 -71.68c-9.664 -27.456 -14.336 -57.152 -14.336 -89.216c0 -31.2 4.736 -60.32 14.336 -87.328c9.472 -27.072 23.232 -50.56 41.024 -70.56s39.808 -35.84 65.824 -47.072
-c25.952 -11.456 55.296 -17.152 87.872 -17.152c26.24 0 50.272 3.936 72.096 11.904c21.92 8 40.896 19.648 57.216 34.912c16.32 15.2 29.376 33.632 39.328 55.264c9.92 21.664 16.096 45.76 18.528 72.672h-90.56c-3.552 -28.832 -13.344 -52.032 -29.504 -69.696
-c-16.16 -17.632 -38.528 -26.432 -67.168 -26.432c-21.024 0 -38.88 4.16 -53.664 12.352c-14.656 8.224 -26.656 19.136 -35.68 32.672c-9.12 13.568 -15.808 28.896 -20 45.952c-4.128 17.184 -6.176 34.656 -6.176 52.64c0 18.784 2.048 37.056 6.176 54.656h0.128z
-M895.328 500.032c4.192 17.536 10.784 33.28 20 47.04c9.024 13.92 20.992 24.864 35.584 33.088c14.816 8.224 32.64 12.32 53.728 12.32c11.488 0 22.528 -1.856 33.056 -5.664c10.336 -3.872 20 -9.184 28.16 -15.968c8.48 -6.88 15.328 -14.784 20.96 -23.744
-c5.536 -8.96 9.088 -18.88 10.656 -29.728h90.656c-2.816 24.768 -9.696 46.848 -20.352 66.016c-10.656 19.264 -24.288 35.328 -40.704 48.416c-16.544 12.992 -35.264 22.912 -56.032 29.696c-20.864 6.72 -42.976 10.24 -66.464 10.24
-c-32.64 0 -61.888 -5.856 -87.872 -17.472c-25.984 -11.552 -48 -27.616 -65.984 -48c-17.824 -20.416 -31.456 -44.352 -41.056 -71.68c-9.472 -27.456 -14.24 -57.152 -14.24 -89.216c0 -31.2 4.768 -60.32 14.24 -87.328c9.664 -27.072 23.296 -50.56 41.088 -70.56
-c17.856 -20 39.872 -35.84 65.984 -47.072c25.984 -11.456 55.232 -17.152 87.808 -17.152c26.208 0 50.208 3.936 72.096 11.904c21.888 8 40.896 19.648 57.216 34.912c16.32 15.2 29.44 33.632 39.296 55.264c10.016 21.696 16.192 45.76 18.528 72.672h-90.528
-c-3.712 -28.832 -13.376 -52.032 -29.536 -69.696c-16.16 -17.632 -38.496 -26.432 -67.072 -26.432c-21.024 0 -38.944 4.16 -53.664 12.352c-14.848 8.224 -26.72 19.136 -35.776 32.672c-9.184 13.568 -15.776 28.896 -20 45.952
-c-4.192 17.184 -6.208 34.656 -6.208 52.64c0 18.784 2.016 37.056 6.208 54.656h0.192v-0.128z" />
- <glyph glyph-name="fullscreen.off" unicode="&#xe00b;"
-d="M849.058 652.069l127.54 -127.54h-389.906v389.906l127.54 -127.54l171.267 171.267l138.474 -138.474l-174.909 -167.624zM309.75 109.115l-171.267 -171.267l-138.474 138.474l171.267 171.267l-127.54 127.54h389.906v-389.906l-123.891 123.891z" />
- <glyph glyph-name="subtitle" unicode="&#xe00c;"
-d="M272 476h480.001v-120h-480.001v120zM272 656h480.001v-120h-480.001v120zM932 896.001h-840.001c-33.166 0 -60 -26.836 -60 -60v-660.001c0 -33.166 26.836 -60 60 -60h120v-180l270 180h450.001c33.166 0 60 26.836 60 60v660.001c0 33.166 -26.836 60 -60 60z
-M872 236h-390l-150 -90v90h-180v540.001h720.001v-540.001h-0.001z" />
- <glyph glyph-name="buffer" unicode="&#xe01e;"
-d="M512 960c-35.328 0 -64 -28.672 -64 -64v-128c0 -35.328 28.672 -64 64 -64s64 28.672 64 64v128c0 35.328 -28.672 64 -64 64zM512 192c-35.328 0 -64 -28.608 -64 -64v-128c0 -35.392 28.672 -64 64 -64s64 28.608 64 64v128c0 35.392 -28.672 64 -64 64z
-M783.488 628.992l90.496 90.56c25.024 24.96 25.024 65.536 0 90.496c-24.96 25.024 -65.472 25.024 -90.496 0l-90.496 -90.496c-25.024 -25.024 -25.024 -65.536 0 -90.56c25.024 -24.96 65.536 -24.96 90.496 0zM240.448 267.008l-90.496 -90.496
-c-25.024 -25.024 -25.024 -65.536 0 -90.496c24.96 -25.024 65.472 -25.024 90.496 0l90.496 90.496c25.024 25.024 25.024 65.472 0 90.496c-24.96 24.96 -65.472 24.96 -90.496 0zM240.448 810.048c-25.024 25.024 -65.536 25.024 -90.496 0
-c-25.024 -24.96 -25.024 -65.536 0 -90.496l90.496 -90.56c25.024 -24.96 65.536 -24.96 90.496 0c25.024 25.024 25.024 65.536 0 90.56zM783.488 267.008c-25.024 25.024 -65.472 25.024 -90.496 0s-25.024 -65.472 0 -90.496l90.496 -90.496
-c25.024 -25.024 65.536 -25.024 90.496 0c25.024 24.96 25.024 65.472 0 90.496zM960 512h-128c-35.392 0 -64 -28.672 -64 -64s28.608 -64 64 -64h128c35.392 0 64 28.672 64 64s-28.608 64 -64 64zM256 448c0 35.328 -28.672 64 -64 64h-128
-c-35.328 0 -64 -28.672 -64 -64s28.672 -64 64 -64h128c35.328 0 64 28.672 64 64z" />
- <glyph glyph-name="cue" unicode="&#xe606;"
-d="M800 448c0 -159.008 -128.928 -288 -288 -288s-288 128.992 -288 288s128.928 288 288 288s288 -128.992 288 -288z" />
- <glyph glyph-name="error" unicode="&#xe607;" horiz-adv-x="1152"
-d="M1041.76 152.992l-400.608 685.952c-33.408 33.408 -87.616 33.408 -121.024 0l-400.64 -685.952c-33.408 -33.376 -33.408 -87.552 0 -120.992h922.24c33.472 33.44 33.472 87.616 0.032 120.992zM543.744 592.704c0 26.528 21.504 48 48 48s48 -21.472 48 -48v-224
-c0 -26.496 -21.504 -48 -48 -48s-48 21.504 -48 48v224zM592.032 160.448c-26.496 0 -48 21.44 -48 48c0 26.496 21.504 48 48 48s48 -21.504 48 -48c0 -26.56 -21.504 -48 -48 -48z" />
- <glyph glyph-name="next" unicode="&#xe60c;" horiz-adv-x="1152"
-d="M751.377 486.33l-575.199 395.206c-45.678 30.585 -83.129 8.141 -83.129 -49.911v-767.333c0 -57.895 37.453 -80.334 83.129 -49.911l575.199 395.365s22.281 15.891 22.281 38.17c0 22.359 -22.281 38.408 -22.281 38.408v0.006zM891.602 927.135h79.858
-c44.16 0 79.858 -3.832 79.858 -47.914v-862.442c0 -44.079 -35.694 -47.914 -79.858 -47.914h-79.858c-44.16 0 -79.858 3.832 -79.858 47.914v862.442c0 44.079 35.694 47.914 79.858 47.914z" />
- <glyph glyph-name="prev" unicode="&#xe60f;" horiz-adv-x="1152"
-d="M968.183 881.536l-575.199 -395.206s-22.281 -16.053 -22.281 -38.408s22.281 -38.251 22.281 -38.251l575.199 -395.365c45.678 -30.346 83.129 -7.908 83.129 49.989v767.333c0 58.055 -37.453 80.494 -83.129 49.911zM252.758 927.135h-79.858
-c-44.16 0 -79.858 -3.832 -79.858 -47.914v-862.442c0 -44.079 35.694 -47.914 79.858 -47.914h79.858c44.16 0 79.858 3.832 79.858 47.914v862.442c0 44.079 -35.694 47.914 -79.858 47.914z" />
- <glyph glyph-name="replay" unicode="&#xe610;" horiz-adv-x="896"
-d="M780.8 611.2c35.2 -57.6 54.4 -124.8 54.4 -195.2c0 -211.2 -172.8 -384 -384 -384s-384 172.8 -384 384s172.8 384 384 384v128l320 -172.8l-320 -179.2v128c-160 0 -288 -128 -288 -288s128 -288 288 -288s288 128 288 288c0 54.4 -16 105.6 -41.6 147.2z" />
- <glyph glyph-name="close" unicode="&#xe615;"
-d="M675.2 448l246.4 -246.4c48 -48 48 -124.8 0 -163.2c-48 -48 -124.8 -48 -163.2 0l-246.4 246.4l-246.4 -246.4c-48 -48 -124.8 -48 -163.2 0c-48 48 -48 124.8 0 163.2l246.4 246.4l-246.4 246.4c-48 48 -48 124.8 0 163.2c48 48 124.8 48 163.2 0l246.4 -246.4
-l246.4 246.4c48 48 124.8 48 163.2 0c48 -48 48 -124.8 0 -163.2z" />
+ <glyph glyph-name="glyph1" horiz-adv-x="0"
+d="M0 0v0v0v0z" />
+ <glyph glyph-name="glyph1" horiz-adv-x="0"
+d="M0 0v0v0v0z" />
+ <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341"
+ />
+ <glyph glyph-name="uni0001" horiz-adv-x="0"
+d="M0 0v0v0v0z" />
+ <glyph glyph-name="space" unicode=" " horiz-adv-x="512"
+d="M0 0v0v0v0z" />
+ <glyph glyph-name="uniE000" unicode="&#xe000;"
+d="M3 -61v451l146 -145l200 199l159 -159l-199 -200l145 -146h-451v0zM570 957h451v-451l-146 145l-200 -199l-159 159l199 200l-145 146v0z" />
+ <glyph glyph-name="uniE001" unicode="&#xe001;"
+d="M909 509l-741 441q-7 4 -14 6.5t-15 2.5q-22 0 -37.5 -15.5t-15.5 -37.5v0v-916v0q0 -22 15.5 -37.5t37.5 -15.5q8 0 15.5 2.5t14.5 6.5l740 441q13 10 21 26t8 35t-8 34.5t-21 26.5v0z" />
+ <glyph glyph-name="uniE002" unicode="&#xe002;"
+d="M288 960h-192q-27 0 -45.5 -18.5t-18.5 -45.5v-896q0 -27 18.5 -45.5t45.5 -18.5h192q27 0 45.5 18.5t18.5 45.5v896q0 27 -18.5 45.5t-45.5 18.5v0zM928 960h-192q-27 0 -45.5 -18.5t-18.5 -45.5v-896q0 -27 18.5 -45.5t45.5 -18.5h192q27 0 45.5 18.5t18.5 45.5v896
+q0 27 -18.5 45.5t-45.5 18.5v0z" />
+ <glyph glyph-name="uniE003" unicode="&#xe003;"
+d="M960 341v-85h-85l-107 107l-107 -107h-85v85l107 107l-107 107v85h85l107 -107l107 107h85v-85l-107 -107l107 -107v0zM416 0q-6 0 -12 2.5t-11 6.5l-246 247h-115q-13 0 -22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h115l246 247q7 6 16.5 8t18.5 -1q9 -4 14.5 -12
+t5.5 -18v-832q0 -10 -5.5 -18t-14.5 -12q-3 -1 -6 -1.5t-6 -0.5v0z" />
+ <glyph glyph-name="uniE004" unicode="&#xe004;"
+d="M549 219q-9 0 -18 3.5t-16 10.5q-14 14 -14 34t14 34q30 30 45.5 68.5t15.5 78.5t-15.5 78.5t-45.5 68.5q-14 14 -14 34t14 34t34 14t34 -14q44 -45 66.5 -101t22.5 -114t-22.5 -114.5t-66.5 -100.5q-7 -7 -16 -10.5t-18 -3.5v0zM416 0q-6 0 -12 2.5t-11 6.5l-246 247
+h-115q-13 0 -22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h115l246 247q7 6 16.5 8t18.5 -1q9 -4 14.5 -12t5.5 -18v-832q0 -10 -5.5 -18t-14.5 -12q-3 -1 -6 -1.5t-6 -0.5v0z" />
+ <glyph glyph-name="uniE005" unicode="&#xe005;"
+d="M720 128q-10 0 -18.5 3.5t-15.5 11.5q-14 14 -14 33.5t14 33.5q49 50 73.5 111.5t24.5 126.5t-24.5 126.5t-73.5 111.5q-14 14 -14 33.5t14 33.5t33.5 14.5t33.5 -14.5q31 -30 54.5 -65.5t39.5 -74t24.5 -80.5t8.5 -85t-8.5 -85t-24.5 -80.5t-39.5 -74t-54.5 -66.5
+q-7 -7 -15.5 -10.5t-18.5 -3.5v0h1zM549 219q-9 0 -18 3.5t-16 10.5q-14 14 -14 34t14 34q30 30 45.5 68.5t15.5 78.5t-15.5 78.5t-45.5 68.5q-14 14 -14 34t14 34t34 14t34 -14q44 -45 66.5 -101t22.5 -114t-22.5 -114.5t-66.5 -100.5q-7 -7 -16 -10.5t-18 -3.5v0zM416 0
+q-6 0 -12 2.5t-11 6.5l-246 247h-115q-13 0 -22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h115l246 247q7 6 16.5 8t18.5 -1q9 -4 14.5 -12t5.5 -18v-832q0 -10 -5.5 -18t-14.5 -12q-3 -1 -6 -1.5t-6 -0.5v0z" />
+ <glyph glyph-name="uniE006" unicode="&#xe006;" horiz-adv-x="1088"
+d="M890 38q-9 0 -18 3.5t-16 10.5q-14 14 -14 34t14 34q33 33 58.5 71t42.5 79.5t26 86t9 91.5q0 46 -9 91t-26 86.5t-42.5 79.5t-58.5 71q-14 14 -14 34t14 34t34 14t34 -14q40 -40 70.5 -85.5t51 -96t31.5 -104.5t11 -110t-11 -110t-31.5 -104.5t-51 -96t-70.5 -85.5
+q-7 -7 -16 -10.5t-18 -3.5v0zM720 128q-10 0 -18.5 3.5t-15.5 11.5q-14 14 -14 33.5t14 33.5q49 50 73.5 111.5t24.5 126.5t-24.5 126.5t-73.5 111.5q-14 14 -14 33.5t14 33.5t33.5 14.5t33.5 -14.5q31 -30 54.5 -65.5t39.5 -74t24.5 -80.5t8.5 -85t-8.5 -85t-24.5 -80.5
+t-39.5 -74t-54.5 -66.5q-7 -7 -15.5 -10.5t-18.5 -3.5v0h1zM549 219q-9 0 -18 3.5t-16 10.5q-14 14 -14 34t14 34q30 30 45.5 68.5t15.5 78.5t-15.5 78.5t-45.5 68.5q-14 14 -14 34t14 34t34 14t34 -14q44 -45 66.5 -101t22.5 -114t-22.5 -114.5t-66.5 -100.5
+q-7 -7 -16 -10.5t-18 -3.5v0zM416 0q-6 0 -12 2.5t-11 6.5l-246 247h-115q-13 0 -22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h115l246 247q7 6 16.5 8t18.5 -1q9 -4 14.5 -12t5.5 -18v-832q0 -10 -5.5 -18t-14.5 -12q-3 -1 -6 -1.5t-6 -0.5v0z" />
+ <glyph glyph-name="uniE007" unicode="&#xe007;" horiz-adv-x="1027"
+d="M512 832q80 0 150 -30.5t122 -82.5t82 -122t30 -149q0 -80 -30 -150t-82 -122t-122 -82t-150 -30q-79 0 -149 30t-122 82t-82.5 122t-30.5 150q0 79 30.5 149t82.5 122t122 82.5t149 30.5v0zM512 928q-99 0 -186.5 -38t-152.5 -103t-103 -152.5t-38 -186.5
+q0 -100 38 -187.5t103 -152.5t152.5 -102.5t186.5 -37.5q100 0 187 37.5t152.5 102.5t103 152.5t37.5 187.5q0 99 -37.5 186.5t-103 152.5t-152.5 103t-187 38v0v0zM404 666l335 -216l-335 -217v433z" />
+ <glyph glyph-name="uniE008" unicode="&#xe008;" horiz-adv-x="1536"
+d="M1324 0h-1112q-61 0 -104.5 43.5t-43.5 105.5v598q0 62 43.5 105.5t104.5 43.5h1112q61 0 104.5 -43.5t43.5 -105.5v-598q0 -62 -43.5 -105.5t-104.5 -43.5v0zM454 500q3 13 8 25t12 22q6 11 15 19t20 14t24.5 9t29.5 3q9 0 17 -1t16 -4t15 -7t13 -9q7 -5 12 -11t9 -13
+t7 -14t4 -16h90q-2 19 -7 35.5t-13 30.5q-8 15 -18 27t-23 22q-12 10 -26 17t-30 13q-15 5 -31.5 7.5t-34.5 2.5q-24 0 -46 -4.5t-42 -13.5q-19 -8 -35.5 -20t-30.5 -28q-13 -15 -23.5 -33t-17.5 -38q-7 -21 -10.5 -43.5t-3.5 -46.5q0 -23 3.5 -45t10.5 -42t17.5 -38
+t23.5 -33q14 -15 30.5 -26.5t35.5 -20.5q20 -8 41.5 -12.5t46.5 -4.5q20 0 38 3t34 9t30.5 15t26.5 20t22 25t18 30q7 17 11.5 35t6.5 38h-90q-3 -22 -10.5 -39t-19.5 -31q-12 -13 -29 -19.5t-38 -6.5q-16 0 -29.5 3t-24.5 9t-20 14.5t-15 18.5q-7 10 -12 21.5t-8 24.5
+q-4 13 -5.5 26t-1.5 27t1.5 27.5t5.5 26.5v0v0v0zM895 500q3 13 8 25t12 22q7 11 16 19t20 14t24.5 9t29.5 3q8 0 16.5 -1t16.5 -4q7 -3 14.5 -7t13.5 -9t11.5 -11t9.5 -13t6.5 -14t3.5 -16h91q-2 19 -7 35.5t-13 30.5q-8 15 -18.5 27t-22.5 22t-26 17t-30 13
+q-16 5 -32.5 7.5t-33.5 2.5q-25 0 -47 -4.5t-41 -13.5q-20 -8 -36.5 -20t-29.5 -28q-14 -15 -24 -33t-17 -38q-7 -21 -11 -43.5t-4 -46.5q0 -23 4 -45t11 -42t17 -38t24 -33q13 -15 29.5 -26.5t36.5 -20.5q19 -8 41 -12.5t47 -4.5q19 0 37 3t35 9q16 6 30.5 15t26.5 20
+t22 25t17 30q8 17 12.5 35t6.5 38h-91q-3 -22 -10 -39t-19 -31q-13 -13 -29.5 -19.5t-37.5 -6.5q-16 0 -29.5 3t-24.5 9t-20 14.5t-16 18.5t-12 21.5t-8 24.5t-4.5 26t-1.5 27t1.5 27.5t4.5 26.5v0v0v0z" />
+ <glyph glyph-name="uniE00B" unicode="&#xe00b;"
+d="M849 652l128 -127h-390v389l127 -127l171 171l139 -138l-175 -168v0zM310 109l-172 -171l-138 138l171 172l-127 127h390v-390l-124 124v0z" />
+ <glyph glyph-name="uniE00C" unicode="&#xe00c;"
+d="M272 476h480v-120h-480v120zM272 656h480v-120h-480v120zM932 896h-840q-25 0 -42.5 -17.5t-17.5 -42.5v-660q0 -25 17.5 -42.5t42.5 -17.5h120v-180l270 180h450q25 0 42.5 17.5t17.5 42.5v660q0 25 -17.5 42.5t-42.5 17.5v0zM872 236h-390l-150 -90v90h-180v540h720
+v-540v0z" />
+ <glyph glyph-name="uniE00D" unicode="&#xe00d;"
+d="M1044 971v-1042h-1055v1042h1055zM328 506l-249 -419h843v1l-193 198l-127 -96l-236 316h-38z" />
+ <glyph glyph-name="uniE01E" unicode="&#xe01e;"
+d="M512 960q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19t45 19t19 45v128q0 26 -19 45t-45 19v0zM512 192q-26 0 -45 -18.5t-19 -45.5v-128q0 -27 19 -45.5t45 -18.5t45 18.5t19 45.5v128q0 27 -19 45.5t-45 18.5v0zM783 629l91 91q19 18 19 44.5t-19 45.5t-45.5 19
+t-45.5 -19l-90 -90q-19 -19 -19 -45.5t19 -45.5t45.5 -19t44.5 19v0zM240 267l-90 -90q-19 -19 -19 -45.5t19 -45.5t45.5 -19t44.5 19l91 91q19 18 19 44.5t-19 45.5t-45.5 19t-45.5 -19v0zM240 810q-18 19 -44.5 19t-45.5 -19t-19 -45.5t19 -44.5l90 -91q19 -19 45.5 -19
+t45.5 19t19 45.5t-19 45.5l-91 90v0zM783 267q-18 19 -44.5 19t-45.5 -19t-19 -45.5t19 -44.5l90 -91q19 -19 45.5 -19t45.5 19t19 45.5t-19 45.5l-91 90v0zM960 512h-128q-27 0 -45.5 -19t-18.5 -45t18.5 -45t45.5 -19h128q27 0 45.5 19t18.5 45t-18.5 45t-45.5 19v0z
+M256 448q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45t19 -45t45 -19h128q26 0 45 19t19 45v0z" />
+ <glyph glyph-name="uniE606" unicode="&#xe606;"
+d="M800 448q0 -60 -22.5 -112.5t-61.5 -91.5t-91.5 -61.5t-112.5 -22.5t-112.5 22.5t-91.5 61.5t-61.5 91.5t-22.5 112.5t22.5 112.5t61.5 91.5t91.5 61.5t112.5 22.5t112.5 -22.5t91.5 -61.5t61.5 -91.5t22.5 -112.5v0z" />
+ <glyph glyph-name="uniE607" unicode="&#xe607;" horiz-adv-x="1152"
+d="M1042 153l-401 686q-25 25 -60.5 25t-60.5 -25l-401 -686q-25 -25 -25 -60.5t25 -60.5h923q25 25 25 60.5t-25 60.5v0zM544 593q0 20 14 34t34 14t34 -14t14 -34v-224q0 -20 -14 -34t-34 -14t-34 14t-14 34v224v0zM592 160q-20 0 -34 14.5t-14 33.5q0 20 14 34t34 14
+t34 -14t14 -34q0 -19 -14 -33.5t-34 -14.5v0z" />
+ <glyph glyph-name="uniE60C" unicode="&#xe60c;" horiz-adv-x="1152"
+d="M751 486l-575 396q-34 22 -58.5 7.5t-24.5 -57.5v-768q0 -43 24.5 -57.5t58.5 7.5l575 396l11.5 10.5t11.5 27.5t-11.5 27.5l-11.5 10.5v0zM892 927h79q34 0 57 -7.5t23 -40.5v-862q0 -33 -23 -40.5t-57 -7.5h-79q-34 0 -57 7.5t-23 40.5v862q0 33 23 40.5t57 7.5v0z" />
+ <glyph glyph-name="uniE60F" unicode="&#xe60f;" horiz-adv-x="1152"
+d="M968 882l-575 -396l-11 -10.5t-11 -27.5t11 -27.5l11 -10.5l575 -396q34 -22 58.5 -7.5t24.5 57.5v768q0 43 -24.5 57.5t-58.5 -7.5v0zM253 927h-80q-33 0 -56.5 -7.5t-23.5 -40.5v-862q0 -33 23.5 -40.5t56.5 -7.5h80q33 0 56.5 7.5t23.5 40.5v862q0 33 -23.5 40.5
+t-56.5 7.5v0z" />
+ <glyph glyph-name="uniE610" unicode="&#xe610;" horiz-adv-x="896"
+d="M781 611q26 -43 40 -92.5t14 -102.5q0 -79 -30 -149t-82.5 -122t-122.5 -82.5t-149 -30.5t-149 30.5t-122 82.5t-82.5 122t-30.5 149t30.5 149t82.5 122t122 82.5t149 30.5v128l320 -173l-320 -179v128q-60 0 -112.5 -22.5t-91.5 -61.5t-61.5 -91.5t-22.5 -112.5
+t22.5 -112.5t61.5 -91.5t91.5 -61.5t112.5 -22.5t112.5 22.5t91.5 61.5t61.5 91.5t22.5 112.5q0 41 -11 78.5t-30 68.5l83 48v0z" />
+ <glyph glyph-name="uniE615" unicode="&#xe615;"
+d="M675 448l247 -246q36 -36 36 -85.5t-36 -78.5q-36 -36 -85.5 -36t-78.5 36l-246 247l-246 -247q-36 -36 -85.5 -36t-78.5 36q-36 36 -36 85.5t36 78.5l247 246l-247 246q-36 36 -36 85.5t36 78.5q36 36 85.5 36t78.5 -36l246 -247l246 247q36 36 85.5 36t78.5 -36
+q36 -36 36 -85.5t-36 -78.5l-247 -246v0z" />
</font>
</defs></svg>
diff --git a/librevideojs/fonts/libre-material/libre-icons.ttf b/librevideojs/fonts/libre-material/libre-icons.ttf
index 66bf2a2..e68b6f7 100644
--- a/librevideojs/fonts/libre-material/libre-icons.ttf
+++ b/librevideojs/fonts/libre-material/libre-icons.ttf
Binary files differ
diff --git a/librevideojs/fonts/libre-material/libre-icons.woff b/librevideojs/fonts/libre-material/libre-icons.woff
index d611d4a..4212649 100644
--- a/librevideojs/fonts/libre-material/libre-icons.woff
+++ b/librevideojs/fonts/libre-material/libre-icons.woff
Binary files differ
diff --git a/readme.txt b/readme.txt
index cda0712..fc32cc4 100644
--- a/readme.txt
+++ b/readme.txt
@@ -47,11 +47,15 @@ Luego también es necesario especificar con el comando selector="resolución a m
`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" rsd="http://example.com/wp-content/uploads/videos/myvid.webm" sd="http://example.com/wp-content/uploads/videos/myvid.webm" code="webm" selector="360p"]`
-**Subtitulos**
+**Subtítulos o leyendas**
-Para especificar los subtitulos puede usar los siguiente comandos: 'subtes' si es español, 'subten' si es inglés, 'subtpt' si es portugues, 'subtit' si es italiano, 'subfr' si es francés, 'subtgl' si es Gallego y 'subteo' si es Esperanto. Ejemplo:
+Para especificar los subtítulos utilice el comando 'track' seguido de los parámetros: 'kind', 'subt', srclang','label', 'default' (opcional) desde HTML, aún no solucionado desde gráficos.
-[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" subtes="http://example.com/web/wp-content/uploads/subtitles/es.vtt" subten="http://localhost/web/wp-content/uploads/subtitles/en.vtt" subtpt="http://localhost/web/wp-content/uploads/2016/11/68_es.vtt" subtit="http://example.com/web/wp-content/uploads/subtitles/it.vtt" subtpt="http://localhost/web/wp-content/subtitles/pt.vtt" code="webm"]
+[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" rsd="http://example.com/wp-content/uploads/videos/myvid.webm" sd="http://example.com/wp-content/uploads/videos/myvid.webm" code="webm" selector="360p"]
+[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/en.vtt" srclang="en" label="English"]
+[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/es.vtt" srclang="es" label="Español" default="true"]
+[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/pt.vtt" srclang="pt" label="Portuguese"]
+[/librevideojs_video]
**Pre-carga**