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

Auto Start Issue


I am attempting to integrate JW Player 7 in my website (self hosting) which is running on the Joomla 2.5 platform. I have uploaded the unzipped contents of the jwplayer-7.7.1 download to a folder on my site, "public_html/tmp/jwplayer" I am able to publish videos (although I have yet to figure out how to change skins or do any other customization). My present issue is that I cannot stop autostart/auto play. I have tried in the code that I use in the article to do this by changing the instruction Autostart to "false" and also to "0", but neither works. Here is a typical code I use to publish videos:

<iframe src="http://sportszone123.com/images/stories/videos/vid_fb_20161014_sl_br_wrapup.mp4" width="575" height="323" frameboarder="0" scrolling="auto" autostart="false" allowfullscreen></iframe>

Please provide any help to stop autostart. This is a particular problem is we choose to publish multiple videos in the same article. Also, this code is placed in the template CSS:

<div id="myElement"></div>

<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "/uploads/myVideo.mp4",
width: 575,
height: 323,
autostart: false,
mute: true //optional, but recommended
});
</script>

11 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

Based on what you’re telling me, there should be no reason for your videos to be automatically playing so there may be some other script on your page causing them to start.

Also, I should point out that this code:

<iframe src="http://sportszone123.com/images/stories/videos/vid_fb_20161014_sl_br_wrapup.mp4" width="575" height="323" frameboarder="0" scrolling="auto" autostart="false" allowfullscreen></iframe>

is not using our player. It is just embedding a MP4 inside of an iFrame. And this code:

<div id="myElement"></div>

<script>
  var playerInstance = jwplayer("myElement");
  playerInstance.setup({
    file: "/uploads/myVideo.mp4",
    width: 575,
    height: 323,
    autostart: false,
    mute: true //optional, but recommended
});
</script>

is not CSS. The first line, <div id="myElement"></div> is the HTML element that the player gets put in to. The rest of that code is the JavaScript used to setup and configure JW Player to be used inside of the <div id="myElement"> element.

Is it possible that you can provide me a link to your page that is showing this behavior so I may be able to take a look?

Thanks.

f...

User  
0 rated :

Hello, thanks for responding. I am not an expert when it comes to Joomla, but I try my best! You assistance is greatly appreciated! Here is a link:

http://sportszone123.com/index.php/sz-video/331-video-big-2nd-half-gives-show-low-big-win-over-blue-ridge-35-0.html

You will see the auto start.

Thanks - Floyd

Alex

JW Player Support Agent  
0 rated :

Hi Floyd,

I do see how the video is automatically starting. However, it is not using our player. Either way, I would not recommend setting the src of the <iframe> directly to a MP4.

I would suggest replacing this:

<iframe src="http://sportszone123.com/images/stories/videos/vid_fb_20161014_sl_br_wrapup.mp4" width="575" height="323" frameboarder="0" scrolling="auto" autostart="false" allowfullscreen></iframe>

with this:

<video src="http://sportszone123.com/images/stories/videos/vid_fb_20161014_sl_br_wrapup.mp4" width="575" height="323" controls></video>

Thank you!

Floyd

User  
0 rated :

Alex, that works well. We are able now to publish videos with (presumably) JW Player 7 without auto start. Thanks!

We have additional needs:

1. We need to be able to play pre, mid and post roll ads (the main reason we purchased the license for JWP 7), and

2. We would like to be able to change skins.

Can you help with that or provide links that explain how to do this? I have been all over the support site for JW Player 7 and cannot find answers.

Heidi

JW Player Support Agent  
0 rated :

Hello,

Alex is out so I am taking a look at your case. I will need the username for your account to make sure you have an Ads license to confirm you can schedule ads, I see a free account under the email associated with your forum post.

Here is the documentation you are most likely looking for:
https://support.jwplayer.com/customer/portal/articles/1431638-ad-formats-reference
https://support.jwplayer.com/customer/portal/articles/1432024-scheduling-ad-breaks-#fndtn-dashboard
https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/css-skinning/skins_creating/

Heidi

Floyd

User  
0 rated :

Heidi, my username is floydlsimmons. I believe I paid for 1 year of service back in February. I may be mistaken and I may have paid for a different media player from a different provider, but I do not believe that is the case.

Our objective is to self-host and rotate our own ads.

Thanks!

Heidi

JW Player Support Agent  
0 rated :

Hello,

Do you still have your activation email for your JW Player account? I am not seeing an account under that name floydlsimmons.

Heidi

Floyd

User  
0 rated :

I just went through my email and found an account activation email from February of 2016. It appears that I did not respond to this and activate the account, for whatever reason. Can you provide me an email address to forward it to?

Heidi

JW Player Support Agent  
0 rated :

So did you go ahead and activate your account?

Floyd

User  
0 rated :

I tried but it would not allow me to. Indicated that the invitation had expired.

Jessenia

JW Player Support Agent  
0 rated :

Which email address was that account activation email that you received sent to? We can also locate your account using any invoice or transaction number associated with your account.

This question has received the maximum number of answers.