diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-01-06 21:21:01 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-01-06 21:21:01 -0500 |
commit | 5d4977560c03291254442c18aceba03f898486eb (patch) | |
tree | 00b41c1e0d2531713b185f5ceaf7d461c2281a09 | |
parent | 598d5683b7ffe597b0a665533e99775e4f9f487e (diff) | |
download | librevideojs-html5-player-5d4977560c03291254442c18aceba03f898486eb.tar.lz librevideojs-html5-player-5d4977560c03291254442c18aceba03f898486eb.tar.xz librevideojs-html5-player-5d4977560c03291254442c18aceba03f898486eb.zip |
Ordering the subtitles and tracks
-rw-r--r-- | librevideojs-html5-player.php | 12 | ||||
-rw-r--r-- | readme.txt | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 306e86d..b236004 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -1,7 +1,7 @@ <?php /* Plugin Name: LibreVideoJS HTML5 Player -Version: 1.0.2 +Version: 1.0.3 Plugin URI: https://wordpress.org/plugins/librevideojs-html5-player Author: <a href="https://conocimientoslibres.tuxfamily.org">Jesús Eduardo</a>, <a href="http://www.freakspot.net/">Jorge Maldonado</a> Description: Reproductor de vídeo Libre en Responsive Desing HTML5 para WordPress, construido sobre el ampliamente utilizado <a href="https://notabug.org/Heckyel/LibreVideoJS">LibreVideoJS</a> de la biblioteca del reproductor de vídeo HTML5. Le permite incrustar vídeo en tu post o página con HTML5 para los navegadores principales. Es compatible con <a href="https://www.gnu.org/software/librejs/free-your-javascript.html">LibreJS</a> de acuerdo con la filosofía <a href="https://www.gnu.org">GNU</a>. @@ -213,7 +213,7 @@ EOT; $output = <<<EOT <!-- Begin LibreVideoJS --> <video id="$player" class="cliplibre-js-responsive-container librevjs-hd cliplibre-js librevjs-libre-skin" {$controls}{$preload}{$autoplay}{$loop}{$muted}{$poster} data-setup='{}'> - {$src}{$calidades}{$track} + {$src}\n\t\t {$calidades}{$track} <p class="no_html5">Sorry, this video will not work because your web browser does not support HTML5 video.<br>We recommend that you install a <a href='https://libreplanet.org/wiki/Libre_Browsers_Libre_Formats' target='_blank'> browser that respects the freedom and support free formats</a>!</p> </video> <script type="text/javascript"> // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later @@ -260,9 +260,7 @@ function track_shortcode($atts, $content=null){ $default = ""; } - $track = " - <track" . $kind . $subt . $srclang . $label . $default . " /> - "; + $track = "<track" . $kind . $subt . $srclang . $label . $default . "/>\n\t\t"; return $track; } @@ -284,9 +282,7 @@ function calidades_shortcode($atts, $content=null){ $src_video = " src='$src_video'"; } - $calidades = " - <source " . $lvjs_calidad . $src_video . " type='video/".$lvjs_code."' /> - "; + $calidades = "<source" . $lvjs_calidad . $src_video . " type='video/".$lvjs_code."'/>\n\t\t"; return $calidades; } @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=94ETC Tags: video, wpvideo, HTML5, videojs, mobile, playlists, embed video, librevideojs, player, video player, embed, lightweight, minimal, myvideo, responsive requires at least: 4.2 Tested up to: 4.7 -Stable tag: 1.0.2 +Stable tag: 1.0.3 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -171,6 +171,8 @@ None == Changelog == -= 1.0.2 = += 1.0.3 = +* Ordering the subtitles and tracks += 1.0.2 = * First Commit |