Vue project access surveillance video (360 browser)

1. Install the vlc video playback plug-in first, 

2. Directly upload the code 

 <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.

 The value attribute of name="mrl" is the monitored address

Supongo que te gusta

Origin blog.csdn.net/weixin_56723577/article/details/121826001
Recomendado
Clasificación