diff options
author | Heckyel <heckyel@openmailbox.org> | 2016-12-22 18:18:35 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2016-12-22 18:18:35 -0500 |
commit | 00f7ba71f5129dce45f2173692f840650dc8e6dd (patch) | |
tree | 4f95bf94c6ef1534897a7ebbce36d9c4c2b53ecd /librevideojs-html5-player.php | |
parent | a276be702096d17876be3f0378b0fc732caa9d67 (diff) | |
download | librevideojs-html5-player-00f7ba71f5129dce45f2173692f840650dc8e6dd.tar.lz librevideojs-html5-player-00f7ba71f5129dce45f2173692f840650dc8e6dd.tar.xz librevideojs-html5-player-00f7ba71f5129dce45f2173692f840650dc8e6dd.zip |
correccion control codecs con mp4
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r-- | librevideojs-html5-player.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index f59f6e2..59fc110 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -28,7 +28,7 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { } function the_content_video( $more_link_text = null, $strip_teaser = false) { - $content_video = get_the_content( $more_link_text, $strip_teaser ); + $content_video = get_the_content_video( $more_link_text, $strip_teaser ); /** * Filtrando contenido del video. * @@ -36,7 +36,7 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')) { * * @param string $content_video Content of the current post. */ - $content_video = apply_filters( 'the_content', $content_video ); + $content_video = apply_filters( 'the_content_video', $content_video ); $content_video = str_replace( ']]>', ']]>', $content_video ); echo $content_video; } @@ -231,7 +231,7 @@ EOT; </video> <script type="text/javascript"> // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later - cliplibrejs('$player',{plugins:{resolutionSelector:{force_types:['video/webm','video/ogg'],default_res:"$resolution"}},nativeControlsForTouch: false}); + cliplibrejs('$player',{plugins:{resolutionSelector:{force_types:['video/webm','video/ogg','video/mp4'],default_res:"$resolution"}},nativeControlsForTouch: false}); // @license-end </script> $style |