Could not play .ogv (Ogg Theora) video file with VideoPlayer in html5 format

kemlonthongkemlonthong Posts: 2Member
edited August 2016 in Programming
Hello,

I am able to play .ogv (Ogg Theora Video) file with VideoPlayer in godot internal editor, but unable to display it in the browser after importing project to html5 format.

This is the error I've got:

[1;31mERROR: load: [0m[1mNo loader found for resource: res://video.ogv
[0;31m   At: core/io/resource_loader.cpp:218.[0m

These are my codes:

get_node("VideoPlayer").set_stream(load("res://video.ogv"))
get_node("VideoPlayer").play()

How can I play .ogv in html5? Any suggestions are welcome.

Thanks
Tagged:

Tags :

Comments

  • gcshavesgcshaves Posts: 3Member

    hello I found the same problem, if someone has some fix or workaround please let me known! thx

Sign In or Register to comment.