- add video player and loop local video.
- Read the configuration json file to set the width and height of the video.
- Put a button next to the video and click it to full screen.
- After the full screen, move the mouse to the top of the screen for 2 seconds, and draw an exit full screen button on it.
- The console prints the coordinates of the mouse on the video, but does not print outside the video
- The console prints keyboard events, except for special keys such as F5, and prints the coordinates of the mouse double-click scroll event on the video.
- Introduce soketio, link the signaling server port 8095, and set a breakpoint in the signaling server to enter the callback function of the connection. Of course you can do emit authentication as well.
- Separate the files, js is proposed separately to form a specification, css, js, and images are all stored in folders.
- Make a fake login page, enter the fixed username and password to jump to the next page.
- Make a fake device list page, you can refer to Sunflower, which will be displayed after successful login.
- After selecting the device, jump to a pure black page. The center of the page shows that it is being remote. After 5 seconds, it jumps to your mp4 playing page.
- Replace the mp4 with owt, and delete the code for pushing the stream from the sample I gave you, just leave the display.
- page beautification
yin's Introduction
yin's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.