Solved

how to get embedded  youtube video to autostart on iphone

Posted on 2014-02-13
3
10,783 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

617 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