locked
How can I play the video with full screen RRS feed

  • Question

  • Now I am trying to playing a video with plugin effect. After I prepare the pipeline, how can I play the video with full screen?? Does any properties I need to set or can I play the video with embedded player for full screen playing??
    Wednesday, October 19, 2011 4:22 AM

Answers

  • If you're using Xaml you can play a video in full screen by setting the size and position of the MediaElement to fill the screen.  There is an example of this (in C#, not C++, but the concept transfers) in the Basic Media sample.  The Media Engine Playback Sample demonstrates how to display a video full screen with the Media Framework.

    --Rob

     

    Friday, October 21, 2011 2:21 AM
    Moderator

All replies

  • If you're using Xaml you can play a video in full screen by setting the size and position of the MediaElement to fill the screen.  There is an example of this (in C#, not C++, but the concept transfers) in the Basic Media sample.  The Media Engine Playback Sample demonstrates how to display a video full screen with the Media Framework.

    --Rob

     

    Friday, October 21, 2011 2:21 AM
    Moderator
  • I've looked at the example.

    Basically its "just" resizing the MediaElement to the current window sizes and hiding not desired elemensts.

     

    Will this also be the approach to do fullscreen playback in the RTM release?

    Its a bit ugly imho.

     

    Cheers

     

    Thursday, February 2, 2012 12:35 PM