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

autostart: "true" attribute not working in IPAD, working on my Laptop though


Hello Friends, I am developing a website having a JW Player video, targeted at IPad users,
My video auto starts while testing it on my laptop/pc, works in all browswers on my laptop, how ever the video would not auto start on Ipad
Am I doing some thing wrong? or would the auto start code be any different for Ipad.

Given below is my Code.

<div id="HDOT264SOG">Player Loading</div>

<script type="text/javascript">
function LoadSegment(startTime, duration) {
jwplayer("HDOT264SOG").setup({
flashplayer: "JWplayer/player.swf",
controlbar: "bottom",
height: 400,
width: 650,
skin: "JWplayer/skin/metarby10.swf",
autostart: "true"
}).onReady(function() {
if (this.container.tagName.toLowerCase() == "object") {
// Flash case
this.load({
file: "Sample_Video.mp4",
streamer: "rtmp://*****.*****.net/****", //Streamer Masked for Security
provider: "rtmp",
start: 200,
duration: 400
});
} else {
// HTML5 case
this.load({
file: "http://*****.*****.net/****/mp4:Sample_Video.mp4/playlist.m3u8",
//Streamer Masked for Security
start: 200,
duration: 400
});
}
});
}
</script>

One more thing, I am using all the necessary Header files and javascripts,
The Javascript function - LoadSegment shown above is called by Ajax Events
and it all works fine, I have no problem in the video playing, it plays well
on pc, it plays well on ipad as well after the user hits the play button,
problem is
I want it to autostart on ipad, i.e make it start automatically
with out the user having yo push the play button on the player.

Note* - i have also tried variations like

autostart: "true"
autoplay: "true"
autostart: true
autoplay: true

None of them work for Ipad

Help is welcome, thanks in advance

14 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link. Please note, you posted this same question multiple times. Please refrain from creating new threads with the same subject over and over again.

JW Player

User  
0 rated :

Hello Long Tail, we don't have a public link, sorry for posting this 2 times, I first posted this on developer issues and realized not many people have viewed or posted on that section, so posted it here instead for more visibility, you can go ahead and delete it from "Developer Questions"

Ethan Feldman

JW Player Support Agent  
0 rated :

You are going to need to post a link for us to debug, thanks.

JW Player

User  
0 rated :

I would not be able to push this video on our live in a broken condition(not auto playing on ipad) due to product quality considerations, I hope you understand.

Out of all the links that you currently have for debugging other issues, from those
do you have a link to any JW player video that auto starts and try opening that link in IPAD, you could use that link as a test link to debug.

Thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Please put up a test page not on a know URL. It is not that hard to do. http://www.yoursite.com/secret_test_page.html

JW Player

User  
0 rated :

We have strict protocols we follow here to push things to the live website, and pushing anything not working as expected on the live site is not something I can do, I am sorry for the inconvenience

JW Player

User  
0 rated :

Any help from fellow readers/members highly welcomed, thanks

JW Player

User  
0 rated :

OK Long Tail I got a sample for you to debug

Go to your very own link

http://www.longtailvideo.com/support/jw-player-setup-wizard

From behavior select autostart true

and try opening in IPAD

Ethan Feldman

JW Player Support Agent  
0 rated :

@Developer_From_India – Our wizard does not use the JW Embedder so it won’t show up on the iPad at all. If you can’t provide a link, I’m not going to be able you. You need to use the JW Embedder to embed your player – http://www.longtailvideo.com/support/blog/15827/using-the-jw-embedder-to-embed-your-player

Also read this – http://www.longtailvideo.com/support/blog/15095/jw-player-53-html5-and-you

JW Player

User  
0 rated :

The code I pasted above, is it not using the JWembeder?

JW Player

User  
0 rated :

Question: Does the JWEMEBEDR support autoplay for IPAD?

This is more of a question like asking if you'll do or do not support this feature,

I am sure you dont need a external link to answer if youll do or do not support some functionality for ipad

Ethan Feldman

JW Player Support Agent  
0 rated :

@Developer_from_India – Your code is using the embedder, I was saying that our wizard does not. And Zach already answered your question in one of your other posts you made about the same subject…Apple prevents autostart from working.

JW Player

User  
0 rated :

Thank you

Ethan Feldman

JW Player Support Agent  
0 rated :

No problem.

This question has received the maximum number of answers.