user5274: I cannot get the code right in video-js player when wanting play rtmp url flv file. Does anyone know what it should be? I've tried following a number of examples at the blog reference site for video-js but nothing seems to work.
The Code I was trying to use is:
Oh the code won't input I don't know why sorry :(
 

user5274: <link href="http://mysite.net/sites/all/libraries/video-js/video-js.css" rel="stylesheet" />
<script src="http://mysite.net/sites/all/libraries/video-js/video.js"></script>
<script>
  videojs.options.flash.swf = "http://mysite.net/sites/all/libraries/video-js/video-js.swf"
</script>
<script src="http://mysite.net/sites/all/libraries/video-js/videosub.js"/></script>

<video class="video-js vjs-default-skin" 
       controls=""
       data-setup="{&quot;example_option&quot;:true}"
       height="264"
       id="example_video_1"
       poster="http://video-js.zencoder.com/oceans-clip.png"
       preload="auto"
       width="640">
  <source src="rtmp://mysite.net/oflaDemo/takeout.flv" type="rtmp/flv"/>
  <track kind="subtitle" label="English" src="http://mysite.net/takeout.srt" srclang="en-US" />
</video>


5274: <p>I cannot get the code right in video-js player when wanting play rtmp url flv file. Does anyone know what it should be? I've tried following a number of examples at the blog reference site for video-js but nothing seems to work.</p>

<p>The Code I was trying to use is:</p>

<p>Oh the code won't input I don't know why sorry :(</p>

<p>      </p>
 5274: <pre><code>&lt;link href="http://mysite.net/sites/all/libraries/video-js/video-js.css" rel="stylesheet" /&gt;
&lt;script src="http://mysite.net/sites/all/libraries/video-js/video.js"&gt;&lt;/script&gt;
&lt;script&gt;
  videojs.options.flash.swf = "http://mysite.net/sites/all/libraries/video-js/video-js.swf"
&lt;/script&gt;
&lt;script src="http://mysite.net/sites/all/libraries/video-js/videosub.js"/&gt;&lt;/script&gt;

&lt;video class="video-js vjs-default-skin" 
       controls=""
       data-setup="{&amp;quot;example_option&amp;quot;:true}"
       height="264"
       id="example_video_1"
       poster="http://video-js.zencoder.com/oceans-clip.png"
       preload="auto"
       width="640"&gt;
  &lt;source src="rtmp://mysite.net/oflaDemo/takeout.flv" type="rtmp/flv"/&gt;
  &lt;track kind="subtitle" label="English" src="http://mysite.net/takeout.srt" srclang="en-US" /&gt;
&lt;/video&gt;
</code></pre>
