Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to get embedded  youtube video to autostart on iphone

Posted on 2014-02-13
3
Medium Priority
?
11,531 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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 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.
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…

718 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