Hello,

In my Android phone app and I need to create a Youtube playlist dynamically
and pass it to the Youtube player that is on the Android phone.

I found Youtube documentation on the playlist parameter here:
http://code.google.com/apis/youtube/player_parameters.html

>From the documentation I tried variations of this URL:

"http://www.youtube.com/v/HjLZbsea5bo?version=3&playlist=M9s1I1TZqJg";;

 ....but all resulted with the error message in the player of "Action not
allowed"

If I just append the playlist parameter to my normal "youtube_gdata_player"
url like this...

 "
http://www.youtube.com/watch?feature=youtube_gdata_player&v=YfWVYuUWkyA&playlist=M9s1I1TZqJg
";

...it will play the first video but not the video (or videos) in the
playlist parameter.

My code is this:
                 String testVideoURL =
                     "
http://www.youtube.com/watch?feature=youtube_gdata_player&v=YfWVYuUWkyA&playlist=M9s1I1TZqJg
";
                 startActivity(new Intent(Intent.ACTION_VIEW,
Uri.parse(testVideoURL)));

Do any of you have any suggestions on using the playlist parameter from an
Android app and/or any other ways of creating/using a dynamic playlist?

Thanks in advance,

Kevin Courtney

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to