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.0.2(10mo ago)0211[1 PRs](https://github.com/ynmstudio/craft-video-dimensions-universal/pulls)proprietaryPHP

Since May 3Pushed 10mo 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 1mo ago

READMEChangelogDependencies (3)Versions (7)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

30

—

LowBetter than 64% of packages

Maintenance55

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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 ~36 days

Total

3

Last Release

301d 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

[superbig/craft3-beam

Generate CSVs and XLS files in your templates

1933.9k](/packages/superbig-craft3-beam)[servd/craft-remote-assets

Move CP assets to an external filesystem such as S3

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

Backup your database and assets to a remote location

125.5k](/packages/weareferal-remote-backup)[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.6k](/packages/venveo-craft-compress)[markdrzy/importable

Add CSV data import functionality to the native Table fieldtype.

114.6k2](/packages/markdrzy-importable)

PHPackages © 2026

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