-
-
Save cardoso/c1cb7514023cb265b0ee996d03bb5ae2 to your computer and use it in GitHub Desktop.
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
guard | |
let cssURL = Bundle.main.url(forResource: "bitmovinplayer-ui", withExtension: "min.css"), | |
let jsURL = Bundle.main.url(forResource: "bitmovinplayer-ui", withExtension: "min.js") | |
else { | |
print("Missing Custom UI files.") | |
return | |
} | |
// Create player configuration | |
let config = PlayerConfig() | |
config.styleConfig.playerUiCss = cssURL | |
config.styleConfig.playerUiJs = jsURL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment