Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

auto start video

I do live streaming and we stream from different locations. When we start at another location the play button comes but I want it to start the video just like when the page is opened up. How can that be is my code...thanks
<script type="text/javascript" src=""></script>
<div id="player_preview" style="float:left;"><video id='video_tag' width='480'height='380' controls autoplay>
<source src=''type='video/mp4'></a></div>
<script type="text/javascript">
jwplayer('player_preview').setup({ 'id': 'playerID', 'width': 700, 'height': 400, 'provider': 'rtmp', 'rtmp.tunneling':'false', 'autostart':'true', 'streamer': 'rtmp://', 'file': 'irietimes', 'skin': '', 'duration': '0', 'modes': [ {type: 'flash', src: ''}, { type: 'html5', config: { 'file': '', 'provider': 'video' }}, { type: 'download', config: { 'file': '', 'provider': 'video' } } ] });</script>

2 Community Answers


JW Player Support Agent  
0 rated :

I know I mentioned that JW 5 is no longer supported, but we still try answer basic questions. Just don’t be surprised if we tell you that your best bet might be to upgrade to a newer version of the player…

I see you have autostart set to true in your code. Are you saying the autostart is not working correctly?


0 rated :

If you are dynamically loading the player with another stream, you will need to either pass in the autostart config value or call jwplayer('container').play(); after you load the new stream.

This question has received the maximum number of answers.