PHPackages                             illmy/media-player - 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. [Image &amp; Media](/categories/media)
4. /
5. illmy/media-player

ActiveLibrary[Image &amp; Media](/categories/media)

illmy/media-player
==================

Intergrates mediaelement into laravel-admin

v1.3(2y ago)03.8k↓50%MITJavaScriptPHP &gt;=7.0.0

Since Jul 14Pushed 2y agoCompare

[ Source](https://github.com/illmy/media-player)[ Packagist](https://packagist.org/packages/illmy/media-player)[ Docs](https://github.com/illmy/media-player)[ RSS](/packages/illmy-media-player/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

laravel-admin Media player
==========================

[](#laravel-admin-media-player)

This extension allows you to play video or audio on grid pages and show pages with the help of [mediaelement](https://github.com/mediaelement/mediaelement).

[中文介绍](https://laravel-admin.org/posts/21)

Screenshots
-----------

[](#screenshots)

[![wx20181114-010912](https://user-images.githubusercontent.com/1479100/48430450-4ef5fa80-e7aa-11e8-8fcd-1f5717b0d3d6.png)](https://user-images.githubusercontent.com/1479100/48430450-4ef5fa80-e7aa-11e8-8fcd-1f5717b0d3d6.png)

[![wx20181114-011037](https://user-images.githubusercontent.com/1479100/48430451-4ef5fa80-e7aa-11e8-8394-38ed2c6c75ba.png)](https://user-images.githubusercontent.com/1479100/48430451-4ef5fa80-e7aa-11e8-8394-38ed2c6c75ba.png)

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

[](#installation)

```
composer require illmy/media-player

php artisan vendor:publish --tag=laravel-admin-media-player
```

Usage
-----

[](#usage)

If you have a field `foo` that stores the full url of the audio/video file, or the path under the disk configured by `admin.upload.disk`, you can use it in the following way.

In the grid page:

```
// Add a play button to the current field column. After clicking it will open a modal to play the video file.
$grid->foo()->video();

// Add an audio player to the current field column
$grid->foo()->audio();
```

In show page:

```
// This field will be displayed as a video player
$show->foo()->video();

// this field will be displayed as an audio player
$show->foo()->audio();
```

If the field `foo` is another path or a file path under another server, you can use the following settings.

```
$grid->foo()->video(['server' => 'http:www.foo.com/']);
```

This player feature of this extension is based on [mediaelement](https://github.com/mediaelement/mediaelement) and can be referenced [API and Configuration](https://github.com/mediaelement/mediaelement/blob/master/docs/api.md) Add more settings to the player.

For example, set the size of the player:

```
$grid->foo()->video(['videoWidth' => 720, 'videoHeight' => 480]);
```

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

1040d ago

### Community

Maintainers

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

---

Top Contributors

[![z-song](https://avatars.githubusercontent.com/u/1479100?v=4)](https://github.com/z-song "z-song (4 commits)")[![illmy](https://avatars.githubusercontent.com/u/38059607?v=4)](https://github.com/illmy "illmy (2 commits)")

---

Tags

audiovideoextensionlaravel-adminplayer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/illmy-media-player/health.svg)

```
[![Health](https://phpackages.com/badges/illmy-media-player/health.svg)](https://phpackages.com/packages/illmy-media-player)
```

###  Alternatives

[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[laravel-admin-ext/media-player

Intergrates mediaelement into laravel-admin

3253.7k](/packages/laravel-admin-ext-media-player)[dereuromark/media-embed

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

182530.3k11](/packages/dereuromark-media-embed)[buggedcom/phpvideotoolkit

PHPVideoToolkit is a set of classes aimed to provide a modular, object oriented and accessible interface for interacting with videos and audio through the FFmpeg program.

26382.1k1](/packages/buggedcom-phpvideotoolkit)[laravel-admin-ext/cropper

Integrate Cropper into laravel-admin

7233.5k](/packages/laravel-admin-ext-cropper)

PHPackages © 2026

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