Skip to content

Instantly share code, notes, and snippets.

@oroce
Forked from ruffle1986/gist:ee3c1d87c02f1149ad24
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oroce/59ea89cf7ca075dcd808 to your computer and use it in GitHub Desktop.
Save oroce/59ea89cf7ca075dcd808 to your computer and use it in GitHub Desktop.
player
.use(seekBar)
.use(volumeControl);
player
.use(function(next) {
if (hasAccess) {
return watchLaterControl(next);
}
next();
});
.use(function(next) {
if (hasAccess) {
return fullscreenControl(next);
}
next();
})
.use(function(next) {
if (hasAccess) {
return inVideoSearch(next);
}
next();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment