Hi, I’m using the standard openfl.media.Video on a project targeting HTML5. The new OpenFL 4 version changed from the canvas to the webgl output by default, but it seems the video object does not produce any output on webgl (when I play it, I just hear the sound). By switching back to the canvas (using html5 -Dcanvas), I get the video working as expected. Is this a real issue or we can expect the video to be shown on webgl?
1 Like
I got the same issue. But I couldn’t play the video. How do change the output from webgl to canvas? Thanks
openfl test html5 -Dcanvas
Thanks! it worked. How can I change the default behavior using haxedevelop? I’m noob : (
in the select box where html5 is selected, type - Dcanvas after html5
1 Like
NP. Also you can use a video outsite canvas if needed (some tablet can’t play video inside canvas).
Check it out https://gist.github.com/loudoweb/62a6c830a50c0a316af8
1 Like
Maybe you can try render it in webGL using a Video as a Texture. But it’s probably easier to use Canvas.
1 Like