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

how to update markers #2786

Open
thomswang opened this issue Apr 15, 2024 · 0 comments
Open

how to update markers #2786

thomswang opened this issue Apr 15, 2024 · 0 comments

Comments

@thomswang
Copy link

thomswang commented Apr 15, 2024

Expected behaviour

I want to update markers after initialization

Actual behavior

always show latest and show the class "plyr__progress__marker"

Steps to reproduce

defaultOptions.markers = { enabled: true, points: [{ time: 1, label: 'Label 1' }] } var player = new Plyr(video, defaultOptions); player.config.markers = { enabled: true, points: [{ time: 1, label: 'newLabel 1' }, { time: 2, label: 'new Label 2' }] }

once update i can't see the "plyr__progress__marker" but the maker's lable when hour i can see

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