Displaying Youtube Videos in Video Texture


#1

Hi,

I have a screen in my model. On this screen a Youtube video should be played.
Is that possible?
In other examples, I’ve seen links taken from the Amazon Web Service.
Are there any free alternatives?

Thank you


#2

You can playback videos in a texture if you have the MP4 url to stream from.

Embedding a YouTube with all the controls in a video texture? No, that’s not possible but you can do some workarounds with css3d as shown here with three.js: https://threejs.org/examples/#css3d_youtube

It’s not something that PlayCanvas has as a core feature though.


Stream Video From MP4 URL