gsarath
10 years agoVisitor
Resume Video content after Midroll playback of VideoScreen
Hi,
I am writing a sample application to verify integration steps for incorporating Ad Framework API's to play the Ad contents for roVideoScreen.
I am facing issues in resuming the video content after mid roll playback for videoscreen.
Below mentioned are the various code approaches I have tried, In all the approaches the video is not resuming and receiving message isPartialResult that the playback is interrupted:
1) video.Pause()
playContent = adIface.showAds(ads)
video.Resume()
2) playContent = adIface.showAds(ads)
video.Seek(resumeinMs)
3) playContent = adIface.showAds(ads)
4) playContent = adIface.showAds(ads)
metadata.PlayStart = seekPos * 1000
video.SetContent(metadata)
Please provide sample code for integrating the midroll to the video playback.
I am writing a sample application to verify integration steps for incorporating Ad Framework API's to play the Ad contents for roVideoScreen.
I am facing issues in resuming the video content after mid roll playback for videoscreen.
Below mentioned are the various code approaches I have tried, In all the approaches the video is not resuming and receiving message isPartialResult that the playback is interrupted:
1) video.Pause()
playContent = adIface.showAds(ads)
video.Resume()
2) playContent = adIface.showAds(ads)
video.Seek(resumeinMs)
3) playContent = adIface.showAds(ads)
4) playContent = adIface.showAds(ads)
metadata.PlayStart = seekPos * 1000
video.SetContent(metadata)
Please provide sample code for integrating the midroll to the video playback.