'html frame video to execute rtmp live stream

I'm on the proccess of creating my own live streaming server, its just for local purposes, i just need to create one private system for my job.

Right now i'm using Nginx with RTMP, my capture software is OBS, i was able to create a live streaming to my VLC media player, and them i was able to open that same live on other computer VLC as well, right now i'm trying to create a web site with a player that executes my live stream, i tried creating html video tag to execute my rtmp code(the same one that i put on VLC to show my stream)

<video width="1280" height="720"> 
<source src="rtmp://<mydomain>/live/<mystreamkey>" Type ="RTMP"> 
</video>

but i doesn't seem to work, i don't know what i'm doing wrong so i need help creating a html document that can execute my live streaming RTMP code.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source