CordovaYoutubeVideoPlayer icon indicating copy to clipboard operation
CordovaYoutubeVideoPlayer copied to clipboard

How to play youtube Playlist

Open Aathi opened this issue 9 years ago • 1 comments

Hi, I have tried to play youtube video as well as youtube playlist. Video works fine but not Playlist, in the IOS simulator the playlist is trying to play (player is loading) but closes right after.Is it possible to play playlist?

Aathi avatar Apr 10 '15 10:04 Aathi

Hi, again, @Aathi

Today android and ios code is play only a video id

Android code iOS Code

I dont know about ios library(I search and found only this thread about playlist)

But to plugin works on android is necessary call

Intent lVideoIntent = new Intent(null, Uri.parse("ytpl://"+YOUTUBE_PLAYLIST_ID), this, OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);

dukex avatar Apr 14 '15 19:04 dukex