I'm trying to have a rtmp streaming working. I have almost the same code suggested here
<html> <head> <script src="me/build/jquery.js"></script> <script src="me/build/mediaelement-and-player.js"></script> <link rel="stylesheet" href="me/build/mediaelementplayer.min.css" /></code> </head> <body> <video> <source src="000109f6004b00a6004af03676235daa" type="video/rtmp"> </video> <script> $('video').mediaelementplayer({flashStreamer:"rtmp://thinkbuntu:1935/flvplayback/000109f6004b00a6004af03676235daa"}); </script> </body> </html> Whereas rtmp://thinkbuntu:1935/flvplayback is the URL of a local rtmpserver and '000109f6004b00a6004af03676235daa' is a mp4 video. I know that the local server is working because I can dump it via rtmpdump and also using jwplayer I can play the video properly. With medialement using flv, webm, ogv do not work neither.
I get this error in Firefox (no error at all in Chrome):
Specified "type" attribute of "video/rtmp" is not supported. Load of media resource 000109f6004b00a6004af03676235daa failed.
Configuring it via json attribute fails in the same way.
I also tried this approach Replacing media source (http with rtmp) in MediaElementsJS based on browser capabilities but it fails too.
Am I doing something wrong?