Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 :(

share|improve this question
Just checking, you do have a streaming server at the other end of the RTMP URL right? Have you tested to make sure the stream itself works outside the video-js client? – AJ Henderson Feb 17 '14 at 17:32
Yes I do have a stream working outside of it. Trouble is I can't get any help with it because video-js developers want questions asked in stack overflow and I've been banned from asking any questions because they deem my questions to be too low grade. This is frustrating as am left out of online community to work out all myself. – cea Feb 18 '14 at 5:53
But actually I have managed to get it to play since then but now having trouble with linking subtitles. – cea Feb 18 '14 at 5:54
A configuration issue with video-js is probably off topic for StackOverflow anyway since it isn't particularly software development related. If you don't mind my asking, what did the problem turn out to be? You can feel free to answer your own question with your solution if you like. You could also post the subtitles issue as another question since it really is a distinct question. – AJ Henderson Feb 18 '14 at 14:41
<link href="" rel="stylesheet" />
<script src=""></script>
  videojs.options.flash.swf = ""
<script src=""/></script>

<video class="video-js vjs-default-skin" 
  <source src="rtmp://" type="rtmp/flv"/>
  <track kind="subtitle" label="English" src="" srclang="en-US" />
share|improve this answer
sorry having trouble getting the block of code inputed on here – cea Feb 19 '14 at 3:09
the SRT is NOT working part of this answer but the flv is working. – cea Feb 19 '14 at 3:13
What I think I need to use is a script called mediaelementsjs and/or change permissions in xml for stream content – cea Feb 19 '14 at 3:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.