RAF fails to render the mediaPlayer for ads and idles on the buffering screen. I can still exit video playback without issues. This is when I make the call to showAds().
if adPod <> invalid AND adPod.count() > 0
? "Playing pre-roll ad"
keepPlaying = m.RAF.showAds(adPod, invalid, m.video.anchor)
end if
The debug console gives me this :
RAF.showAds(); rendering preroll pod of 1 ads
rafrndr-renderTypeChanged() - client-inserted
added child: Rectangle id: 1 subtype: Rectangle
added child: Rectangle id: 2 subtype: Rectangle
check layer: 1 visible: true
check layer: 2 visible: true
Roku_Ads_showVideoAd: isRequestFailed(): index = 0; message = failed to create media player
RAF handleAdError(); render failure: failed to create media player
I am unsure what is causing this error. I have implemented this framework successfully several times before. Any ideas?