Git Product home page Git Product logo

resources's Introduction

resources

1.切换视频流,解决无法切换直播流的问题:修改ezuikit.js中的报错部分,将659行注释掉

2.在点击函数里面发送请求时需要返回值,否则可能会刷新页面导致无法收到应答包,原因可能是原生的表单submit触发了页面刷新

3.关于Cookie,Chrome不支持本地静态html文件的cookie,必须使用tomcat或其他方式来访问网站,使用Safari

4.关于监控视频自动播放,部分浏览器不支持萤石视频的自动播放,比如Chrome,改用Safari就好了

5.模拟小车行驶,route.js保存了从高德地图上爬的从海淀公安局到天津公安局的路线信息,用json格式存储,利用路线中的小车的下一个轨迹点以及距离来计算速度,速度模拟在constants.js中,基本按照距离来计算

注意轨迹点可能前后重复,会导致小车停止,应该判断后取下一个不重复的经纬度坐标点

resources's People

Contributors

waitrysb avatar lixuxu1226 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.