zoukankan      html  css  js  c++  java
  • html在一个页面显示另一个页面的部分内容

    老板今天让在网站上面显示实时监控画面,研究了一早,找了个简单的方法

    先把监控分享在网上(我使用的海康威视摄像头,分享到萤石直播http://square.ys7.com/square/index.jsp),然后在自己的网站上面截取视频部分就可以了。

    下面是自己的代码:

    <body>
    
    
    <div align="center" style="margin:0 auto;">
    
        <div style="800px;height:600px;overflow:hidden;border:0px"> 
             <div style="500px;height:800px;margin:-153px 0px 
    
    0px -10px;">
                  <iFrame src=" http://square.ys7.com/square/play.action?cameraId=306756" width="850" height="550" scrolling="no">
                 </iFrame>
             </div> 
         </div> 
    </div> 
    
    <div align="center" style="margin:0 auto;">
    
        <div style="800px;height:600px;overflow:hidden;border:0px"> 
             <div style="500px;height:800px;margin:-153px 0px 
    
    0px -10px;">
                  <iFrame src=" http://square.ys7.com/square/play.action?cameraId=299426" width="850" height="550" scrolling="no">
                 </iFrame>
             </div> 
         </div> 
    </div> 
    </body>
  • 相关阅读:
    OC面向对象—继承
    OC面向对象—封装
    OC内存管理
    OC方法和文件编译
    OC语言基础知识
    节点操作-2
    留言 节点操作案例
    js 下拉菜单案例
    节点操作
    tab栏切换效果
  • 原文地址:https://www.cnblogs.com/linuxnewbie/p/4935355.html
Copyright © 2011-2022 走看看