video tag in browser source not working! i use correct url.

vikingphp

New Member
I'm creating a project that shows image/video in OBS Studio.
I use Browser source to show my stuff.
Everything is working on normal browsers, but only video does not showing in OBS and it's not even show me a preview.

<video src="http://example.com/video.mp4" autoplay></video>

<video autoplay>
<source src="http://example.com/video.mp4" type="video/mp4" />
</video>

None of them work!
 
Last edited:

Simen

New Member
if it's of any help, turns out that CEF (on which Browser Source is based) doesn't support proprietary file formats (.mp4, .mp3)

convert your videos to .webm (from google) and it should work.

 
Top