Display videos on gui node

Hello, I have some videos and I need to display them based on user actions. Is there any easy way to display videos on gui node on the web?

You could try to use https://github.com/defold/extension-videoplayer-mpeg

1 Like

Thanks!!! I tried this extension, but ran into the following problem: mpeg.get_frame() returns buffer type, but to set a texture for a node via gui.new_texture function I need string type. Is there any other way?

Im at Gamescom this week. Could you please create a feature request on GitHub so that I can have a look when im back?

Okay :ok_hand:, I created it Add the ability to get the video frame buffer as a string type to set as a texture on the node via the gui.new_texture function · Issue #7 · defold/extension-videoplayer-mpeg · GitHub.

1 Like