Skip to content

Allow the eventLabel config setting to be a function - #29

Open
cdhowie wants to merge 1 commit into
mickey:masterfrom
cdhowie:dynamic-event-label
Open

Allow the eventLabel config setting to be a function#29
cdhowie wants to merge 1 commit into
mickey:masterfrom
cdhowie:dynamic-event-label

Conversation

@cdhowie

@cdhowie cdhowie commented Apr 12, 2016

Copy link
Copy Markdown

Allows code to provide a function for the eventLabel option. If this option is a function, it will be called each time an event label is needed. This allows for different labels to be used over time, for example when playing a playlist instead of a single video. (Fixes #20)

@cdhowie
cdhowie force-pushed the dynamic-event-label branch 3 times, most recently from 60409db to e1e0706 Compare April 26, 2016 16:23
@fishmongr

Copy link
Copy Markdown

Yes, much needed for playlists. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants