Windows 10: WinUI 3's MediaPlayerElement- How do I find the natural video width and height?

Discus and support WinUI 3's MediaPlayerElement- How do I find the natural video width and height? in Windows 10 Gaming to solve the problem; I am porting an application from WPF to WinUI 3. I am using the MediaPlayerElement. I used to be able to get the NaturalVideoWidth and... Discussion in 'Windows 10 Gaming' started by JenniferKubina, Jan 18, 2025.

  1. WinUI 3's MediaPlayerElement- How do I find the natural video width and height?


    I am porting an application from WPF to WinUI 3. I am using the MediaPlayerElement. I used to be able to get the NaturalVideoWidth and NaturalVideoHeight from the MediaElement in WPF, but those fields do not seem to exist in WinUI's MediaPlayerElement or it's MediaPlayer.I need those values to scale other elements around it.

    :)
     
    JenniferKubina, Jan 18, 2025
    #1

  2. windows explorer image dimensions - change to height x width

    I wish to search images by height. So, is it possible to change the listing of image dimensions from width x height to height x width?
     
    stormthedog, Jan 18, 2025
    #2
  3. windows explorer image dimensions - change to height x width

    Open a folder of images in Windows Explorer. List by Details. Open the Dimensions column. This gives you the size of the images by width and height. You can now list the images by width, from wide to narrow, but you cannot search by height, that is, tall to small. I wish to list by height.
     
    stormthedog, Jan 18, 2025
    #3
  4. WinUI 3's MediaPlayerElement- How do I find the natural video width and height?

    How to add Width & Height in the File Explorer column 'suggestions'?

    For some of my video folders, I would like to add the columns "Width" and "Height" as separate columns - for better sort options. (I'm using a german GUI and there it is called "Bildbreite" and "Bildhöhe". I'm not sure, if it is "Frame Width" and "Frame Height" for an english GUI or "Picture Width" and "Picture height" as literally translated). As you can see in this AniGif (click on the picture), I have to select them as usual:
    WinUI 3's MediaPlayerElement- How do I find the natural video width and height? 368852d1655194196t-how-add-width-height-file-explorer-column-suggestions-picturewidth_and_height.gif
    Do you know any way to get this two entries in the "suggestions" list for additional properties to show? The list that appears if you right click on a existing column header in the Windows File Explorer? This way I don't have to scroll down the long list and check this two entries again for the folders I want to see it. (I know that I could set the defaul view for ALL video folders. But I like to see this additional properties only for about the half of all my video folders.) Windows Version: Windows 10 Pro Version: 21H2 Betriebssystembuild: 19044.1706
     
    WTenNewbie, Jan 18, 2025
    #4
Thema:

WinUI 3's MediaPlayerElement- How do I find the natural video width and height?

Loading...
  1. WinUI 3's MediaPlayerElement- How do I find the natural video width and height? - Similar Threads - WinUI 3's MediaPlayerElement

  2. WinUI 3's MediaPlayerElement- How do I find the natural video width and height?

    in Windows 10 Software and Apps
    WinUI 3's MediaPlayerElement- How do I find the natural video width and height?: I am porting an application from WPF to WinUI 3. I am using the MediaPlayerElement. I used to be able to get the NaturalVideoWidth and NaturalVideoHeight from the MediaElement in WPF, but those fields do not seem to exist in WinUI's MediaPlayerElement or it's MediaPlayer.I...
  3. Error in WinUI 3 Application.

    in Windows 10 Gaming
    Error in WinUI 3 Application.: Hi everyone!I am trying to develop a WinUI 3 application in C#. Following is the GitHub repository link for the application code:My Friends CollectionIt is basically a duplicate application from a Packt book "Learn WinUI 3."I am having two issues, that I have been unable to...
  4. Error in WinUI 3 Application.

    in Windows 10 Software and Apps
    Error in WinUI 3 Application.: Hi everyone!I am trying to develop a WinUI 3 application in C#. Following is the GitHub repository link for the application code:My Friends CollectionIt is basically a duplicate application from a Packt book "Learn WinUI 3."I am having two issues, that I have been unable to...
  5. What is the width and height of a 15kb photo

    in Windows 10 Gaming
    What is the width and height of a 15kb photo: What is the width and height of a 15kb photo https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-width-and-height-of-a-15kb-photo/1d7d8b81-ca09-4a9e-ba6d-1784f81545f3
  6. What is the width and height of a 15kb photo

    in Windows 10 Software and Apps
    What is the width and height of a 15kb photo: What is the width and height of a 15kb photo https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-width-and-height-of-a-15kb-photo/1d7d8b81-ca09-4a9e-ba6d-1784f81545f3
  7. decrease height and width of task manager

    in Windows 10 Gaming
    decrease height and width of task manager: HiHow to decrease the width and height of the task manager. Is it possible like in windows 10? https://answers.microsoft.com/en-us/windows/forum/all/decrease-height-and-width-of-task-manager/3dd4ceed-456f-4807-9446-f5ddf04f4e11
  8. decrease height and width of task manager

    in Windows 10 Software and Apps
    decrease height and width of task manager: HiHow to decrease the width and height of the task manager. Is it possible like in windows 10? https://answers.microsoft.com/en-us/windows/forum/all/decrease-height-and-width-of-task-manager/3dd4ceed-456f-4807-9446-f5ddf04f4e11
  9. Announcing WinUI 3 Preview 3

    in Windows 10 News
    Announcing WinUI 3 Preview 3: If you tuned in to this morning’s App Development Community Standup, you know that today we released WinUI 3 Preview 3. If you want to skip the summary and head straight to the release notes and installation instructions, you can find those here. New Features...
  10. How to change screen resolution-width,Height,depth

    in Windows 10 Customization
    How to change screen resolution-width,Height,depth: Hi , I want to change resolution in windows 10 "ResolutionWidth": 1280, "ResolutionHeight": 1024, "ResolutionDepth": 32 https://answers.microsoft.com/en-us/windows/forum/all/how-to-change-screen-resolution-widthheightdepth/0d4798aa-d2f3-4d69-a30b-65c66a069e43