developer.playcanvas.com icon indicating copy to clipboard operation
developer.playcanvas.com copied to clipboard

Add a tutorial showing how to stream a YouTube video into a video texture

Open willeastcott opened this issue 3 years ago • 1 comments

See Twitter conversation:

https://twitter.com/fra_michelini/status/1488105898111344646

Right now, we only have a CSS3D technique shown off. An HTMLVideoElement based technique will allow for arbitrary mapping of the YouTube vid to any geometry in the scene.

willeastcott avatar Jan 31 '22 13:01 willeastcott

I'm not sure we should do this as it bypassess the ads from what I understand from the twitter thread. It's ultimately extracting the the direct video stream from the YouTube video.

Edit: It looks like it uses this library: https://github.com/fent/node-ytdl-core

yaustar avatar Jan 31 '22 13:01 yaustar