通过我自己的网站访问安全摄像头,使用Laravel开发的Web应用程序
问题描述:
My client want to access their store cameras trough his website, the web application is developed with Laravel, Can anyone guide and help how should I embed their cameras into the website?
我的客户想通过他的网站访问他们的商店摄像头,Web应用程序是用Laravel开发的,任何人都可以指导和 帮助我如何将他们的相机嵌入网站? p> div>
答
Try this (HTML5) or just the inner object (HTML<5) with all occurences of %StreamURL%
replaced with the URL of your stream.
<video width="320" height="240" autoplay controls>
<source src="%StreamURL%" type="video/mp4">
<object width="320" height="240" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf">
<param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" />
<param name="flashvars" value='config={"clip": {"url": "%StreamURL%", "autoPlay":true, "autoBuffering":true}}' />
<p><a href="%StreamURL%">view with external app</a></p>
</object>
</video>