Created
October 5, 2018 12:03
-
-
Save PetarIvancevic/e97ac70599db5ed9fb5dc980b6d91549 to your computer and use it in GitHub Desktop.
Plugin development code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
videojs.registerPlugin('playerPlugin', function (opts) { | |
... | |
}) | |
if (process.env.NODE_ENV !== 'production') { | |
const devPlayerOptions = { | |
"customOption": "customOptionValue", | |
} | |
videojs('player').playerPlugin(devPlayerOptions) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment