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

How to play YouTube Vidoes directly via youtube videoID #6

Open
ab5593 opened this issue Mar 16, 2019 · 1 comment
Open

How to play YouTube Vidoes directly via youtube videoID #6

ab5593 opened this issue Mar 16, 2019 · 1 comment

Comments

@ab5593
Copy link

ab5593 commented Mar 16, 2019

i just wanted to know is it possible to play youtube videos from youtube videoID instead of providing the direct link to the MP4 video file??

private void playVideo() {
mYouTuDraggingView.show();

// something like 
 mVideoView.setUp("https://youtube.com/watch?v=youTubeVideoID?raw=true"); 
 mVideoView.setUp(songPlaying);
 mVideoView.start();
 MediaPlayerManager.instance().setScreenScale(ScaleType.SCALE_CENTER_CROP);
 }

My requirement is to play videos directly from youtube and retain the functionalities of goMin(); , goMax(); , fullScreenChange(); methods of this awesome project..

@mikaelzero
Copy link
Owner

I am sorry about the video player function. I just used someone else's libiary. You can replace other libraries with the specific player implementation. I don't have much research on the player's function. This libiary just provides a drag. Dynamic effect

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

No branches or pull requests

2 participants