Solved

how to get embedded  youtube video to autostart on iphone

Posted on 2014-02-13
3
9,585 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
app store blank on mac 3 51
set url:tel to a website 3 77
Unable to Attach Files in Google Chrome 1 42
Enforce Chrome to open certain links in IE 6 38
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Several part series to implement Internet Explorer 11 Enterprise Mode
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

828 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