1.先安装vlc视频播放插件,
2.直接上代码
<div id="video" class="videocenter_top" >
<object type='application/x-vlc-plugin' id='vlc' events='True' width="100%" height="100%" pluginspage="http://www.videolan.org"
codebase="http://downloads.videolan.org/pub/videolan/vlc-webplugins/2.2.2/npapi-vlc-2.2.2.tar.xz">
<param name="mrl" :value="oneUrl"/>'
<param name='volume' value='50' />
<param name='autoplay' value='true' />
<param name='loop' value='false' />
<param name='fullscreen' value='true' />
</object>
</div>
2.
name="mrl" 的value 属性 为监控的地址