Can you stream embedded YouTube videos to your Apple TV?

Hi, I'm interested in getting a few Apple TV's for a project I'm working on. However it is very important that it is possible to stream embedded YouTube videos to my Apple TV. Can anyone confirm how that works or even if it can work in the first place?


Ultimately I want to be able to be searching a webpage on my iPad, see an embedded YouTube video, click on it and have it stream straight to my Apple TV.


Anyone any knowledge on the subject? Do I need Apple TV 1 or 2 or...etc. ?

Apple TV

Posted on May 8, 2012 2:37 PM

Reply
14 replies

May 8, 2012 2:58 PM in response to Winston Churchill

Hi, thanks for getting back to me. I actually am the developer in this situation. I have collected several thousand videos off YouTube in a database and I dynamically embed them in my website where necessary. How exactly does one enable AirPlay? ...is that something I incorporate into the <iframe>blah blah blah</iframe> embed code or is it something the uploader of the video has to enable...?

May 8, 2012 3:49 PM in response to Winston Churchill

Thanks, sorry to push your knowledge on the subject. I've been doing research on it myself but no one seems to be talking about enabling AirPlay in the HTML5 embedded YouTube videos...


EDIT: Oh, and by the way, the YouTube embed code looks like this:


<iframe width="560" height="315" src="http://www.youtube.com/embed/SOURCE_CODE" frameborder="0" allowfullscreen></iframe>

May 8, 2012 4:00 PM in response to AzzyDude24601

Strangely, and I'm not near an iPad to test for consistency, the last YouTube link I clicked in Safari launched the YouTube app by default, so that could be a sticking point.


To me it would seem more lilely than 'instantly airplaying' from a link would be more down to invoking part of the iOS API for Airplay than HTML coding, though that would presumably need the HTML code WC mentions to allow that resource to Airplay if Airplay was invoke manually or automatically.


AC

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can you stream embedded YouTube videos to your Apple TV?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.