duanmu2941 2018-09-23 13:38
浏览 101
已采纳

通过我自己的网站访问安全摄像头,使用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?

  • 写回答

1条回答 默认 最新

  • dpw50696 2018-09-23 14:43
    关注

    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>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?