<script type="text/javascript"> $(function() { $("video#rtmp").osmplayer({ width: '100%', height: '600px', file: { stream: 'rtmp://103.166.254.114:1935/live/0', path: '' } }); }); </script> <video id="rtmp" poster="http://peach.blender.org/wp-content/uploads/poster_rodents_small.jpg"></video>