Is there ANY way to provide a link to a playlist in the YouTube iOS App that will actually work? - ios

I've tried maybe 6 different permutations of YouTube playlist sharing links and none of them will bring you to the playlist on iOS browsers when it transfers you over to the YouTube app (or if it stays in the browser for that matter).
What it does is it goes to the individual video page for the starting point of the playlist, but it's not the actual playlist view, which IS accessible only if you go through the playlists tab within the YouTube mobile app.
Does anyone know if there's an answer or if YouTube just doesn't want me going to a playlist view in its app when clicking the link on my mobile device?
Simple summary:
All I want to do is put a link in my website that will (in a mobile browser) take me to a playlist in the proper playlist view (where it continues on to the next video after the current one is done) either via the YouTube app switch or simply in the mobile browser.

Its because Youtube doesn't understand browser URL of playlist like this -
http://www.youtube.com/playlist?list=PLgrYntDWyYDdHwZney5QoTDFQrphRmYoK
Alternatively, go to your video->playlist in youtube
Right click on the playlist and select "copy link address"
It provides a link something like this -
http://www.youtube.com/watch?v=ILwOQV32rHg&list=FLLpWow4PGIVkCJifJxrMfwA
Use this as a URI to play in native youtube app.
youtube://www.youtube.com/watch?v=ILwOQV32rHg&list=FLLpWow4PGIVkCJifJxrMfwA
Now, when the youtube app is launched it navigates to your playlist and continues to play all the videos in your playlist one by one.
For more info - you can check my answer to similar question here -
Youtube URI

Related

Am I separating, isolating or modifying the audio or video of a Youtube Video in my Android App?

I have a responsive website for kids. Kids can watch selected Youtube Videos in a webbrowser. To make ann Android app, I used an APK creator. This app shows my website in a fullscreen webviewer. I set it up to hide the addressbar, so kids can more safely brows the App (website). On the website are no external links, except the links from the Youtube player. The YouTube video's are loading with a normal Wordpress YouTube plugin. When hitting the YouTube logo or Video URL, the Youtube website wil show.
Now Google Plays said i am violating the rules of the YouTube Api:
"Your API Client will not, and You will not encourage or create functionality for Your users or other third parties to: (8) separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API;"
This I truely not understand. There is no way I want to violate anything. When I appeal for reinstatement the just saying:
"After further review, we are unable to reinstate your application. You can find out more information under Reason for Suspension in the initial removal notification from Google Play."
The initial removal notification said what I wrote above.

Is available to embed AdMob in my app that contains my youtube videos?

This is not programing question. I come in here from youtube API page by clicking 'Ask a Question'...;
I will make the app shows yoga videos using Youtube API. Those videos are mine. In that app, people can play my youtube videos. I will show AdMob on video list page. My plan is available?
Or, Except AdMob, I can insert AD onto video?
it is not allowed to simply play YouTube content in an app. This is called framing.

How can I link my private videos on YouTube to be played on my website?

How can I link my private videos on YouTube to be played on my website. The point is to bring more viewers to my site by making videos available on my site, yet private on YouTube.
You should set your videos to "unlisted" instead of "private". That
way the video does not show up on your channel or on any search
results but anyone with a link to the video can see it and you can
embed the video on any site.
I didn't try this workaround yet but theoretically it should work, you need to use YouTube API V 3 and follow the below steps:
Set the video's privacy status to unlisted through API.
Embed the video via API in a hidden div.
Use onPlayerStateChange event to check if the video player is currently playing the video, use the API to pause the video at the first second.
If the state changed to "playing" then send an AJAX request to a server side script to revert the the video's privacy status to be private, once you get a confirmation message display the video and use the API to play it.
This should keep the video private even if the user copy & paste the URL in another tab, s/he should get a message that the video is private.
References:
https://developers.google.com/youtube/iframe_api_reference?hl=en
PHP - How to change privacy status of a youtube video through Youtube API v3?

How does YouTube web start a video playback automatically on mobile Safari without a user's action?

YouTube web version can always play a video automatically on mobile Safari without a user's explicit action to the HTML video element. How does YouTube do this?
YouTube's actually done something quite tricky, if you click a video related to the current one or in the search, it doesn't actually load another page, it uses JavaScript to update the page to look like a different one, and then uses that same click handler to start the video, so the system thinks that it was user initiated. That's why if you enter the URL for a video straight into the address bar when not in YouTube it doesn't auto-start...

Using Google's youtube API is there a way to determine if a video has been removed or no longer available?

I have been using the Google data API to search video from Youtube and play it back in a chromeless player as part of a Flash (AS2) swf I have developed. here's my workflow -
Search Youtube with PHP page that includes Zend_Gdata_YouTube class
Retrieve and display videos in a Flash swf which play if user clicks.
Store video ids in database for playback later - like a playlist
Then when the playlist is played (in another swf) the database is read to get the video ids to play and Flash loads the videos as needed.
Here's the problem. While the search works fine and returns thumbnail images of all the videos some of them do not play on click. Using Firebug in firefox I see that the attempted load of the video returns a 204 No content, but there is no info in the response tab. SO ...
a) how would I catch these videos so they dont get returned in the search results?
b) What would happen if a video that did play ok initially later got removed from Youtube, how could I catch this (preferably with flash) and remove it from the playlist (database).
any thoughts?
cheers

Resources