I searching for a long time, but I just can’t get any further here.
Is it possible to render youtube videos direct as material in threejs?
Thanks!
I searching for a long time, but I just can’t get any further here.
Is it possible to render youtube videos direct as material in threejs?
Thanks!
As mentioned in the following discussion, it’s not possible to directly stream raw video files from youtube. Hence, you can’t use them as a source for video textures.
Thanks. I already thought something like that
https://www.youtube.com/get_video_info?video_id=ID
To receive a list to links to the video with different formats.
No, it is not a solution, because “url_encoded_fmt_stream_map” is not longer supported.
See: https://support.google.com/youtube/thread/14139349?hl=en
9/12/19
regardless which technique, i wouldn’t trust youtube to provide a reliable API since they change their service constantly, mostly in a negative way.