Ad Vast video, (scrubber control ) the timeline at the bottom is not visible from the start

Topics: Windows 8 Xaml
Oct 6, 2012 at 3:19 PM
Edited Oct 6, 2012 at 3:20 PM

I added the control to the page

 

<PlayerFramework:MediaPlayer x:Name="player">
                <PlayerFramework:MediaPlayer.Plugins>
                    <Advertising:AdHandlerPlugin />
                </PlayerFramework:MediaPlayer.Plugins>
            </PlayerFramework:MediaPlayer>
and then I play the ad
adHandlerPlugin.PlayAd(source, cancellationToken, null);
The problem is that I do not see the play/pause control and timleline at start. It shows when I move mouse over but it is a problem when I use Touch and Tablet. Is there any methods to bring the control panel visible at this case.
Thank you.

Coordinator
Oct 6, 2012 at 5:20 PM

To force the controlpanel to show during an ad you can listen for the AdvertisingStateChanged event, set IsInteractive=true and turn off AutoHide to ensure it doesn't auto hide after 3 seconds.

Oct 8, 2012 at 10:04 AM

Thanks, it works.