Skip to content

How to play YouTube Vidoes directly via youtube videoID #6

@ab5593

Description

@ab5593

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions