You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
What is the proper way to clear this event or all events when my GUI update the start / end ? I assume clearing popcorn.data.trackEvents is not enought :-)
Should I provide an Id ? If yes I assume it should be something like myInternalId + '_' + start ?
Regards,
Jp
The text was updated successfully, but these errors were encountered:
If you want to remove all trackEvents period you will need to simply loop over them and call popcorn.removeTrackEvent( trackEvent._id ). You can provide your own ID when creating a plugin in the format of p.myplugin({ id; 'asdf' })
Clearing popcorn.data.trackEvents is generally speaking a bad idea.
Hi,
I have a GUI like popcorn webmaker to display events on a track. I add events with the folowing code:
What is the proper way to clear this event or all events when my GUI update the start / end ? I assume clearing
popcorn.data.trackEvents
is not enought :-)Should I provide an Id ? If yes I assume it should be something like
myInternalId + '_' + start
?Regards,
Jp
The text was updated successfully, but these errors were encountered: