IsFullScreenVisibleChanged not triggered

Topics: Windows 8 Xaml
Dec 23, 2014 at 9:37 AM
Edited Dec 23, 2014 at 9:39 AM

I have a default empty windows 8.1 project, added the necessary playerframework references and a simple
<playerFramework:MediaPlayer IsFullScreenVisible="True"                                                         IsFullScreenVisibleChanged="Player_OnIsFullScreenVisibleChanged">
control on it.

Now I see a fullscreen button in the transport controls but when I click on this button the IsFullScreenVisibleChanged is not triggered. Should I add something special to fix this?

Jan 7, 2015 at 6:37 AM
The IsFullScreenVisibleChanged event triggers when you change the value of the IsFullScreenVisible property (i.e. the visibility of the button). I think you're looking for the IsFullScreenChanged event, which triggers when you enter or exit full screen mode.