locked
I want asked about "NaturationVideo"on MediaElement.

    Question

  • Hi,

    I want open file video fullscreen and follow resolution of display= code;

    Thanks.

    Tuesday, August 12, 2014 1:55 PM

Answers

  • Hi Le Thien Hoang,

    Could you explain more what you want to do? I can hardly understand what you want to know here.

    I don't understand what Naturation Video you mentioned here even I searched by Search Engine, if you want to know more things for Windows Store App MediaElement, ref here:MediaElement class

    If you are questioning for naturalHeight/naturalWidth, you would like to check NaturalVideoHeight property and NaturalVideoWidth property, the original size of Video will be returned.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Wednesday, August 20, 2014 9:48 AM
    Moderator

All replies

  • Please visit following link:

    http://msdn.microsoft.com/en-us/library/system.windows.controls.mediaelement(v=vs.110).aspx

    and here study about naturalHeight and naturalWidth methods.

    Tuesday, August 12, 2014 2:27 PM
  • I dont understand so i asked...
    Tuesday, August 12, 2014 3:31 PM
  • Hi Le Thien Hoang,

    Could you explain more what you want to do? I can hardly understand what you want to know here.

    I don't understand what Naturation Video you mentioned here even I searched by Search Engine, if you want to know more things for Windows Store App MediaElement, ref here:MediaElement class

    If you are questioning for naturalHeight/naturalWidth, you would like to check NaturalVideoHeight property and NaturalVideoWidth property, the original size of Video will be returned.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Wednesday, August 20, 2014 9:48 AM
    Moderator