Need code for video detection: iPad or Desktop users

appliedscience

Regular Member
Joined
Jan 28, 2011
Messages
202
Reaction score
5
Hey all,

Hoping someone has this code they can copy/paste here for me.

I have a sales copy video on autoplay, but the video doesn't work on iPad, iPhone, etc.

Anyone have code I can use along with JWplayer so IF desktop they see the autoplay video, if iPad (etc) they get the video with the play button which they need to click to play?

Thanks in advance.
 
Thanks but that's really confusing to me. I filled in everything as outlined but it didn't work (actually the entire player didn't work).

Is there another option out there?

Thanks.

Also, I'm just hosting a HTML/CSS site not WP.
 
Iphone and Ipad dont load flash swf based files. That is by design, thanks to Mr Steve Jobs who wanted HTML5 to be the de-facto standard on the web and mobile.

Here is simple solution which I use,

On the sales page/landing page, check the User-Agent, if its any iOS based device, just load a html5 based player instead of flash based player.

Problem solved :)
 
On the sales page/landing page, check the User-Agent, if its any iOS based device, just load a html5 based player instead of flash based player.

Problem solved :)

Yes, this is what I'm wanting to do.

Do you have code you could share?
 
Yes, this is what I'm wanting to do.

Do you have code you could share?

I think you can find the solution over at stackoverflow, there are plenty of Q&A there. Plus, you can always do one yourself on php or on java.

Pls pm me if you would like to pay for a solution :)
 
Back
Top