aboutsummaryrefslogtreecommitdiffstats
path: root/librevideojs-html5-player.php
diff options
context:
space:
mode:
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r--librevideojs-html5-player.php6
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