![]() The THEOplayer CSS is not loaded when chromeless is enabled. This allows you to write your own custom UI. With the chromeless flag you can choose to use the chromeless version of the player which does not contain the THEOplayer UI. The screenshot below demonstrates that these files are "discoverable" in our sample project because they appear in the left sidebar. Note that the snippet above implies that you've created style.css and script.js in your iOS project.Įnsure that these files are created and referenced correctly. path (forResource : "script", ofType : "js" ) ! let playerConfig = THEOplayerConfiguration (defaultCSS : false, cssPaths :, jsPaths : ) /* or let playerConfig = THEOplayerConfiguration(chromeless: true, cssPaths:, jsPaths: ) */ var theoplayer = THEOplayer (configuration : playerConfig ) path (forResource : "style", ofType : "css" ) ! let scriptPath = Bundle.
0 Comments
Leave a Reply. |