Web client library for the Hyperbeam multiplayer browser API
The JavaScript browser-side library for the Hyperbeam virtual browser API.
Read the full documentation here.
Using npm:
``bash`
$ npm install @hyperbeam/web --save
Using unpkg:
`html`
- Connect to a multiplayer browser
- Control the virtual browser navigation programmatically
- Query the virtual browser state and listen to events
- Manage user control permissions
- Resize the browser
- Set local multiplayer browser volume
- Website
- Documentation
- Discord community for support and discussion
- β‘ Loading a virtual browser
- π£ Destroying the embed
- π Setting video volume
- π Getting user ID
- βΈοΈ Pausing video stream
- π Setting admin token
- π Setting permissions
- π Manual reconnection
- π Resizing the browser
- π‘ Send events programmatically
- β¨οΈ Tighter control over keyboard events
- ποΈ Control tabs programmatically
- π Listen to tab events
You can save this code snippet as example.html and run it in your browser. Make sure you set the embedURL variable to the response data from the REST API.
` User ID: Current website: html
Volume:
``