From abc71242376a11a15b757ddae6f2217d74bcbded Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Mon, 19 May 2025 22:07:44 +0200 Subject: [PATCH 1/5] Added some details about Videos --- .../fundamentals/design/rendering-media.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/15/umbraco-cms/fundamentals/design/rendering-media.md b/15/umbraco-cms/fundamentals/design/rendering-media.md index e5adb5bcc58..08323f8b214 100644 --- a/15/umbraco-cms/fundamentals/design/rendering-media.md +++ b/15/umbraco-cms/fundamentals/design/rendering-media.md @@ -76,6 +76,40 @@ As with example one, we are accessing a MediaType `image` using the same Guid as It is always worth having null-checks around your code when retrieving media in case the conversion fails or Media() returns null. This makes your code more robust. {% endhint %} +## Working with Video files + +If you upload a video file (such as .mp4) to the Media library, Umbraco will store it as a Video Media Type by default. Unlike images, video files won’t include properties like `umbracoWidth` or `umbracoHeight`, but you can still retrieve the media item and render it using the `