plyr
plyr copied to clipboard
how to update markers
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