Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the eventLabel config setting to be a function #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cdhowie
Copy link

@cdhowie cdhowie commented Apr 12, 2016

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

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