[Unity 5.6.0b4] Issues with Video Player in WebGL

I’m getting this warning in the browser console when trying to play a mp4 video onto a texture.

“Cannot play media. No decoders for requested formats: video/x-ms-wmv”

Here is the video settings:

I also tried the default which was nothing checked but got the same warning in the browser and no video.

Here is the object that is holding the video player.

It works in the editor but not in the WebGL export. It’s a .mp4 should I try using something else or is there something wrong with my settings?

2927717--216392--VideoSetting.PNG

Video clips are not supported for webgl, only URL videos.

1 Like

Ah! I must’ve missed that when going through the doc, sorry. Thanks!

This is (still) not in the docs is it? Nothing about WebGL here?
https://docs.unity3d.com/Manual/class-VideoPlayer.html

1 Like

does it work now? because url videos don’t play in webgl… kind of annoying

1 Like

I got my videos in webgl to work only with the AVProVideo asset.

Could you share your codes? I have AVPro but video doesn’t play, it’s freezed.

Took a while hunting but I think this was solved by mjamie on another thread: https://discussions.unity.com/t/662337

I tried it and it worked, although the video looped (which wasn’t what I wanted) however the video did play on my webGL build