plyr icon indicating copy to clipboard operation
plyr copied to clipboard

how to update markers

Open thomswang opened this issue 10 months ago • 0 comments

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

thomswang avatar Apr 15 '24 04:04 thomswang