Forum

streaming video texture from youtube, vimeo

12 January 2017 19:13
Is it possible to stream a texture from external video hosting?
Example
23 January 2017 11:03
Hi! The only solution is to use canvas textures like in this example (requires coding): Canvas Texture.

A canvas texture should be set in Blender. More info here: https://www.blend4web.com/doc/en/textures.html#canvas
You can load a video in the <video> html element and use get_canvas_ctx / update_canvas_ctx methods to work with the canvas texture. The video can be manually drawn into it via the standard drawImage method.
 
Please register or log in to leave a reply.