Get started with beeplay CDN
MIT licensed
Beeplay: Lightweight JS for interactive, animated UIs with declarative coding.
Tags:- audio
- music
- beeplay
Stable version
Copied!
How to start using beeplay CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with beeplay CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/beeplay/0.0.5/beeplay.min.js"></script>
</head>
<body>
<button id="start">Start</button>
<script>
const bee = new Bee();
const button = document.getElementById('start');
button.addEventListener('click', () => {
bee.start();
});
bee.on('message', (message) => {
console.log('Received message:', message);
});
bee.connect('wss://your-worker-url.com');
</script>
</body>
</html>
Copied!
Copied!