Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom PlayList #176

Closed
powerthazan opened this issue Apr 10, 2016 · 2 comments
Closed

Custom PlayList #176

powerthazan opened this issue Apr 10, 2016 · 2 comments
Labels

Comments

@powerthazan
Copy link

How to create a Playlist which contains Video URLs? I saw your demo. But You used custom class to make list. I want to make list in player activity with Extra bundles from previous activity.
Please show example code.

@brianwernick
Copy link
Owner

see #70 and #74

@powerthazan
Copy link
Author

I followed following way
private final List<String> videoList = new LinkedList<>();
videoList.add(VideoURL);
videoList.add(VideoURL2);
videoList.add(VideoURL3);

Then,
EMPlaylistManager playlistManager;
playlistManager.setParameters(mediaItems, selectedIndex);
playlistManager.setPlaylistId(PLAYLIST_ID);

Finelly,
playlistManager.setVideoView(emVideoView);
playlistManager.play(0, false);

But I got Null point error on playlistManager.setParameters(mediaItems, selectedIndex); line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants