helpus
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2017
09:36 AM
Adding Preroll Advertisements to VideoPlayer Template
How to correctly add your advertisements to the channel?
2 REPLIES 2
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2017
11:17 AM
Re: Adding Preroll Advertisements to VideoPlayer Template
That very much depends on what you are doing - but read https://sdkdocs.roku.com/display/sdkdoc ... +Framework
In the simplest case it's just a few lines of code - but can get very complicated/advanced/flexible if needed
In the simplest case it's just a few lines of code - but can get very complicated/advanced/flexible if needed
Blackhawk
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2017
10:14 PM
Re: Adding Preroll Advertisements to VideoPlayer Template
On mine, i got pretty far.
Add this code:
PlayContentWithFullRAFIntegration(episode)
Under "screen.show" on appvideoscreen then copy FullRAFIntegration sctipt into your videoplayer channel. Replace "videoContent" with "episode" on FullRAFIntegration then replace "playVideoContent" with "SetContent" then replace all "adiface" with "RAF" then take out adiface.setURL
The ads will work but the it wont load the video
Add this code:
PlayContentWithFullRAFIntegration(episode)
Under "screen.show" on appvideoscreen then copy FullRAFIntegration sctipt into your videoplayer channel. Replace "videoContent" with "episode" on FullRAFIntegration then replace "playVideoContent" with "SetContent" then replace all "adiface" with "RAF" then take out adiface.setURL
The ads will work but the it wont load the video