jitendragaurgkv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2019
09:29 PM
Is it possible to play Youtube videos playlist in Roku channel using Youtube V3 API documentation?
I am working on a channel that is calling video data from youtube V3 API, I am getting each every data(e.g.-title, description, thumbnails, video link code(but unable to play )) from API but facing issue while playing youtube video. we only want to play from youtube API.
is there any way to play videos from youtube v3 API?
Thanks in Advance
Jitendra Gaur
is there any way to play videos from youtube v3 API?
Thanks in Advance
Jitendra Gaur
1 REPLY 1
norcaljohnny
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019
03:04 AM
Re: Is it possible to play Youtube videos playlist in Roku channel using Youtube V3 API documentation?
Yes, there are ways but against Youtube TOS and I am sure against Roku's TOS.
In short you need to extract the actual video url and not the embed code.
Not sure what your skills are but you can use youtube-dl and run something server side to handle the redirect.
Something like this here. http://shadtv.onthewifi.com:8080/parse/dlh.php?id=VideoIdHere
Working demo here. http://shadtv.onthewifi.com:8080/parse/dlh.php?id=C2Jv8e-L6BQ
In short you need to extract the actual video url and not the embed code.
Not sure what your skills are but you can use youtube-dl and run something server side to handle the redirect.
Something like this here. http://shadtv.onthewifi.com:8080/parse/dlh.php?id=VideoIdHere
Working demo here. http://shadtv.onthewifi.com:8080/parse/dlh.php?id=C2Jv8e-L6BQ