From e84f446843f4ba350738b1a8d6d735dbb0e8a154 Mon Sep 17 00:00:00 2001 From: XxMARSxX Date: Sat, 17 Jan 2015 18:03:35 +0200 Subject: [PATCH 01/12] Update video-js.php adding rtmp support --- video-js.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/video-js.php b/video-js.php index 6bb2ca6..dc6b76c 100755 --- a/video-js.php +++ b/video-js.php @@ -100,6 +100,7 @@ function video_shortcode($atts, $content=null){ extract(shortcode_atts(array( 'mp4' => '', + 'rtmp' => '', 'webm' => '', 'ogg' => '', 'youtube' => '', @@ -126,6 +127,12 @@ function video_shortcode($atts, $content=null){ $mp4_source = ''; else $mp4_source = ''; + + // RTMP Source Supplied + if ($rtmp) + $rtmp_source = ''; + else + $rtmp_source = ''; // WebM Source Supplied if ($webm) @@ -199,6 +206,7 @@ function video_shortcode($atts, $content=null){