Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Playable for live streams? #186

Open
thejupitergroup opened this issue Jul 25, 2024 · 0 comments
Open

Using Playable for live streams? #186

thejupitergroup opened this issue Jul 25, 2024 · 0 comments

Comments

@thejupitergroup
Copy link

We are working on a project that lets people create video pages for prerecorded videos or live streams. How would we link to a live stream? The config code is below:

`<script src="./playable/dist/statics/playable.bundle.js"></script>
document.addEventListener('DOMContentLoaded', function() {
const config = {
width: 800,
height: 450,
src: 'https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm',
preload: 'metadata',
nativeBrowserControls: false,
disableControlWithClickOnPlayer: false,
};

    const theme = {
        liveColor: '#fa4d56',
        progressColor: '#0f62fe'
    }

    const player = Playable.create(config, theme);`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant