When using the AdvertisementPlugin provided in the samples with OSMF 2.0 and StageVideo enabled the featured content isn't rendered to the screen 9/10 attempts.
The preroll will correctly play however the featured content is only heard but not seen. The next video in the lineup is then played correctly.
The AdvertisementPlugin uses a second MediaPlayer to play the adverts. When a video requiring a Preroll begins it pauses the feature content, removes its mediaElement from the mediaContainer, creates a new AdMediaPlayer and adds the Preroll's mediaElement to the mediaContainer then begins playback. When the Preroll finishes it removes the advert mediaElement from the mediaContainer and restores the feature content's mediaElement back into the mediaContainer and resumes playback.
My Issue is that when using StageVideo the feature content is not rendered to the screen 9/10 attempts. The video is heard but not seen. This doesn't occur if you disable StageVideo.
I can't seem to replicate this using the AdvertisementPluginSample alone so clearly there are other influencing factors with how I have setup my player but I'm unable to figure out the exact correlation.
Does anyone know any workarounds to this situation? (Other than disabling StageVideo).
For you reference here is the AdvertisementPlugin
And the AdvertismentPluginSample
unfortunately no help on this issue, but I have a very similar problem when enabling stagevideo and using Flash Player 10.2. I have written my own ad handler, but it does more or less the same things as the AdvertisementPlugin seems to do. Often the video is just black and only audio could be heard. Disabling stage video "solves" the issue. And sometimes it works with stagevideo enabled. Did you ever find a workaround?
I can't recall sorry. I'm no longer involved with any OSMF projects and I've since changed companies so I don't have access to that codebase to check.
All the best,