Solved

how to get embedded  youtube video to autostart on iphone

Posted on 2014-02-13
3
8,893 Views
Last Modified: 2014-02-15
I have embedded a youtube video on a web page and have finally figured out how to get it to autostart and hide the controls.  Works fine on regular computers and browsers.   However, I cannot get it to do it on an iphone.  The iphone requires one to push the start arrow and then it opens in a separate window that you have to press 'done' to go back to the web page.  Is there a way to get it to autostart and display embedded as intended?
0
Comment
Question by:dkern18195
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
Eoin OSullivan earned 500 total points
ID: 39858641
As far as I am aware iOS Safari does not support the autoplay flag in the code used for the iframe  for embedded video clips.

This article explains how to put in javascript that allows you to have alternate embed code for iOS devices.  It won't solve your problem directly but it does allow you to have alternate code for iOS devices

http://fuzzyraygun.com/youtube-iframe-embeds-not-working-on-ios-devices-fix/

The only way I've seen to enable autoplay is to call the UIWebView if you had an iOS app wrapper for your website but I don't think you can do it just with Safari on iOS.
http://developer.appcelerator.com/question/137599/html5-video-autoplay-on-ios
0
 
LVL 1

Author Comment

by:dkern18195
ID: 39858758
Thank you.  I am going over this info and will be back in touch.
0
 
LVL 1

Author Closing Comment

by:dkern18195
ID: 39862122
Thank you.  I think there will always be an issue with ios and the real world.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now