PHPackages                             ynmstudio/craft-video-dimensions-universal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. ynmstudio/craft-video-dimensions-universal

ActiveCraft-plugin[File &amp; Storage](/categories/file-storage)

ynmstudio/craft-video-dimensions-universal
==========================================

A Craft CMS plugin that automatically extracts and saves video dimensions after upload.

1.1.0(1w ago)0291[1 PRs](https://github.com/ynmstudio/craft-video-dimensions-universal/pulls)proprietaryPHP

Since May 3Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/ynmstudio/craft-video-dimensions-universal)[ Packagist](https://packagist.org/packages/ynmstudio/craft-video-dimensions-universal)[ RSS](/packages/ynmstudio-craft-video-dimensions-universal/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (9)Used By (0)

Universal Video Dimensions plugin for Craft CMS 5.x
===================================================

[](#universal-video-dimensions-plugin-for-craft-cms-5x)

This plugin automatically extracts and saves video dimensions after uploading video files in Craft CMS. It supports both local files and files hosted on S3 or other remote filesystems.

Requirements
------------

[](#requirements)

- Craft CMS 5.0.0 or later
- PHP 8.0.2 or later

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project's Control Panel and search for "Video Dimensions Universal". Then click "Install".

### With Composer

[](#with-composer)

```
cd /path/to/your-project
composer require ynmstudio/craft-video-dimensions-universal
./craft plugin/install video-dimensions-universal
```

Features
--------

[](#features)

- Automatically extracts video dimensions upon upload
- Supports both local and remote files (e.g., S3)
- Works with any filesystem extending the `craft\base\Fs` class
- Updates asset records with correct width and height
- Handles errors gracefully with proper logging
- Cleans up temporary files

Usage
-----

[](#usage)

After installation, simply upload a video file through the Craft CMS control panel. The plugin will:

1. Detect that the uploaded file is a video
2. Extract its dimensions
3. Save the dimensions to the asset record

You can access the dimensions in your templates the same way as it would be a image asset:

```
{% set video = entry.videoField.one() %}
{% if video %}
    Width: {{ video.width }}
    Height: {{ video.height }}
{% endif %}
```

Support
-------

[](#support)

If you encounter any issues or have questions, please create an issue on GitHub:

License
-------

[](#license)

Copyright © Yil &amp; Mann GbR

###  Health Score

35

↑

LowBetter than 77% of packages

Maintenance71

Regular maintenance activity

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Total

4

Last Release

8d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa4da2ab01399f774b10c5935cad45a9693f64a350fcb28ea7d38528d64d9d85?d=identicon)[denisyilmaz](/maintainers/denisyilmaz)

---

Top Contributors

[![denisyilmaz](https://avatars.githubusercontent.com/u/4189607?v=4)](https://github.com/denisyilmaz "denisyilmaz (9 commits)")

---

Tags

s3videolocalcmsCraftcraftcmscraft-plugingoogle clouduniversaldimensions

### Embed Badge

![Health badge](/badges/ynmstudio-craft-video-dimensions-universal/health.svg)

```
[![Health](https://phpackages.com/badges/ynmstudio-craft-video-dimensions-universal/health.svg)](https://phpackages.com/packages/ynmstudio-craft-video-dimensions-universal)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)[servd/craft-remote-assets

Move CP assets to an external filesystem such as S3

1215.8k](/packages/servd-craft-remote-assets)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
