videojs-cuepoints
videojs-cuepoints copied to clipboard
destroy cuepoints not working
The existed cuepoints don't seem to get cleared once I call the player.destroyCuepoints(); function. My flow is as below:
//..... Change video source to load new video player.cuepoints(); //init cuepoints player.destroyCuepoints(); //destroy existed ones from previous video player.addCuepoint({}); //add new cuepoints for the newly loaded video
thanks in advance