Migrate dereuromark/media-embed to TypeScript

D Converted · version 1.1.0

dereuromark/media-embed 1.1.0 is a PHP package released under the MIT license and requires PHP >=8.1. Pext migrates it to TypeScript; on Node.js, 103 of 341 PHPUnit tests pass (30.2%), with 210 failures and 28 errors. It depends on 3 tracked packages (weakest tier: Converted), and no tracked package depends on it.

A PHP library to deal with all those media services around, parsing their URLs and embedding their audio/video content in websites.

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

30.2% of 341 tests passing (103 passed, 210 failed, 28 errors, 0 skipped). Verified 2026-10-21.

Where tests fail

The 5 test classes with the most failing tests on Node.js:

Test classFailing tests
MediaEmbedTest162
ProviderFixtureTest46
OEmbedTest17
CacheTest6
MediaEmbedOrFailTest4

The remaining 3 failing tests are spread across other classes.

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
>=8.1
Extensions
None declared

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

Weakest dependency: D Converted

Used by

No tracked package depends on dereuromark/media-embed.

More from dereuromark

Upstream

Version
1.1.0
License
MIT
Repository
https://github.com/dereuromark/media-embed
Keywords
media, embed, PHP, iframe, video, audio

Migrating a codebase that uses dereuromark/media-embed?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.