PHPackages                             escape/escapedam - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. escape/escapedam

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

escape/escapedam
================

Escape DAM integration

3.2.1(3mo ago)034↓100%MITPHPPHP ^8.2

Since Mar 9Pushed 1mo agoCompare

[ Source](https://github.com/vaersaagod/escape-dam-plugin)[ Packagist](https://packagist.org/packages/escape/escapedam)[ RSS](/packages/escape-escapedam/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (41)Used By (0)

Escape DAM plugin for Craft CMS 5.x
===================================

[](#escape-dam-plugin-for-craft-cms-5x)

Escape DAM integration

Using Escape DAM
----------------

[](#using-escape-dam)

### Enable videos

[](#enable-videos)

To enable selecting videos from the DAM, the "Video" file kind must be checked under the DAM field's "Restrict allowed file types?" setting.

### DAM field asset properties and methods

[](#dam-field-asset-properties-and-methods)

The plugin adds the following extra methods to assets:

`isDamFile` bool (`true` if the asset was imported from the DAM)

`isDamImage` bool (`true` if the asset was imported from the DAM, and is an image)

`isDamVideo` bool (`true`) if the asset was imported from the DAM, and is a video)

`getMuxPlaybackId()` string|null Returns the Mux playback ID if the asset is an imported video; `null` if not.

`getDamVideoStreamUrl()` string|null Returns the Mux URL to the HLS stream, if the asset is an imported video; `null` if not.

`getDamVideoData()` array|null Returns all the DAM data for an imported video asset; `null` if the asset is not a DAM video.

`getDamVideoTag($params=[], $polyfill=true)` string|null Returns a video tag if the asset is an imported video asset. Example usage:

```
{% set asset = entry.damField.one() %}
{% if asset and asset.isDamVideo %}
   {{ asset.getDamVideoTag({ autoplay: true, muted: true, poster: false })|attr({ class: 'absolute inset-0 w-full h-full object-fit' }) }}
{% endif %}
```

`getDamVideoImageUrl($params=[])` string|null Returns the URL to an image from the video, if the asset is an imported video asset. See  for possible params.

`getDamVideoGifUrl()` string|null Returns the URL to an animated GIF from the video, if the asset is an imported video asset. See  for possible params.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance85

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~12 days

Total

40

Last Release

55d ago

Major Versions

1.6.0 → 2.0.02023-02-07

1.7.1 → 2.2.02023-05-17

2.2.2 → 3.0.0-beta.12024-07-05

2.4.1 → 3.1.02026-02-16

PHP version history (2 changes)2.0.0PHP ^8.1.12

3.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2580dc72f65006fb038f68d3299615d97cdda269d0d487639a89cf2628b1176f?d=identicon)[vaersaagod](/maintainers/vaersaagod)

---

Top Contributors

[![mmikkel](https://avatars.githubusercontent.com/u/298510?v=4)](https://github.com/mmikkel "mmikkel (76 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginescape dam

### Embed Badge

![Health badge](/badges/escape-escapedam/health.svg)

```
[![Health](https://phpackages.com/badges/escape-escapedam/health.svg)](https://phpackages.com/packages/escape-escapedam)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M51](/packages/nystudio107-craft-seomatic)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)[verbb/field-manager

Manage your fields and field groups with ease.

195612.2k10](/packages/verbb-field-manager)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/comments

Add comments to your site.

13753.7k](/packages/verbb-comments)

PHPackages © 2026

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