PHPackages                             drolean/laravel-video-embed - 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. drolean/laravel-video-embed

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

drolean/laravel-video-embed
===========================

Laravel Package for dereuromark/MediaEmbed With Thumbnail

1.0(7y ago)117MITPHP

Since Nov 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/drolean/laravel-video-embed)[ Packagist](https://packagist.org/packages/drolean/laravel-video-embed)[ RSS](/packages/drolean-laravel-video-embed/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel Video Embed
===================

[](#laravel-video-embed)

A simple wrapper for dereuromark/MediaEmbed to generate embed HTML for popular media hosting services. + Thumbnail function based on Joe1992w/laravel-media-embed.

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

[](#installation)

```
composer require merujan99/laravel-video-embed:dev-master
```

OR

```
"require": {
    "merujan99/laravel-video-embed": "dev-master",
},
```

```
composer install
```

Service Provider
----------------

[](#service-provider)

```
'providers' => [
    // Others...
    Merujan99\LaravelVideoEmbed\Providers\LaravelVideoEmbedServiceProvider::class,
],
```

Facade
------

[](#facade)

```
'aliases' => [
    // Others...
    'LaravelVideoEmbed' => Merujan99\LaravelVideoEmbed\Facades\LaravelVideoEmbed::class,
],
```

Usage
-----

[](#usage)

```
//URL to be used for embed generation
$url = "https://www.youtube.com/watch?v=8eK-5ivYb3o";

//Optional array of website names, if present any websites not in the array will result in false being returned by the parser
$whitelist = ['YouTube', 'Vimeo'];

//Optional parameters to be appended to embed
$params = [
    'autoplay' => 1,
    'loop' => 1
  ];

//Optional attributes for embed container
$attributes = [
  'type' => null,
  'class' => 'iframe-class',
  'data-html5-parameter' => true
];

return LaravelVideoEmbed::parse($url, $whitelist);
// ""

return LaravelVideoEmbed::parse($url);
// ""

return LaravelVideoEmbed::parse($url, ['Vimeo']);
// false

return LaravelVideoEmbed::parse($url, $whitelist, $params, $attributes)
//

return LaravelVideoEmbed::getYoutubeThumbnail($url)
//https://. usage:
```

Supported Hosts
---------------

[](#supported-hosts)

Please see [dereuromark/MediaEmbed](https://github.com/dereuromark/MediaEmbed)

Supported Website Whitelist names
---------------------------------

[](#supported-website-whitelist-names)

NameYouTubeFacebookDailymotionMetaCafeVimeo123video5min Life VideopediaAdultSwimAniBoomAOL Video (Old)AparatArchive.orgAtomBlastro$2BoFunkBreakBrightcove.comCBS NewsCellfishClarinClip.vnClipFish (Old)ClipFish (Special)ClipFish (New)ClipJunkieClipMoonClipShackCNetTVCollegeHumorTheDailyShowColbertNationCrackleCrunchyRollCurrentDailyhahaDave.tvDotSub (w/o Captions)DoubleVikingdropshots.comDv.ououDivshareEASportsWorldEbaumsWorldESPNFandomeFlickrFoxheadFunnyOrDieFunMansionG4TVGameKyoGameSpotGameTrailers (Inc. User Movies)Gametube.orgGameVideos.1upGarageTvGloriaGoEarGood.ISGlumbertGodTubeGrindTvGuzerTheHubHowcastHulu (Usa Only)HumourVideo.i.uaIGNiJiggIMDBImageShackIndyaRocksiReportIzleseneJamendoJokerooJujuNation VideoJujuNation AudioJustinTVKewegoKoreusLast.fm (Audio)Last.fm (Video)LiberoLiveLeakLiveVideoMSNBCVideo.mail.ruMadnessVideoMetatubeMotionBoxMporaMp3tubeMtvU (Usa Only)MP3 AudioMyNetMyShows.cn/SeeHaha.comMySpaceTvMyVideoMyViM ThaiNewGroundsNhacCuaTuiOnSmashOrbPhotobucketPikNikTubeProject PlaylistPutfileRamblerRawVegasRuTubeScreencastScreenToasterSevenLoadShareViewSharkleSmotriSnotrSouthPark StudiosSpace.tv.cctv.comSpikeSongzaStreetfireStupidVideosTagTéléTed.comThe OnionTinyPicTodays Big ThingTrailerAddictTrTubeTriluliluTu.tvTudouTumblr (Music)TwitvidUOL VideoLogu-TubeUstreamVideoJugvideos.sapoVidiacViddlerVideaVidiLifeVidMaxVidivodoVoiceThreadWeGameWebshots (Slideshows)WistiaYahoo Video HKYahoo VideoYahoo Music VideosYouKusina videoXVideosLocal Content

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

2832d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/810731?v=4)[Leandro Ross](/maintainers/drolean)[@drolean](https://github.com/drolean)

---

Top Contributors

[![Merujan99](https://avatars.githubusercontent.com/u/4623322?v=4)](https://github.com/Merujan99 "Merujan99 (2 commits)")[![drolean](https://avatars.githubusercontent.com/u/810731?v=4)](https://github.com/drolean "drolean (1 commits)")[![nivv](https://avatars.githubusercontent.com/u/4033930?v=4)](https://github.com/nivv "nivv (1 commits)")

---

Tags

laravelpackage-development

### Embed Badge

![Health badge](/badges/drolean-laravel-video-embed/health.svg)

```
[![Health](https://phpackages.com/badges/drolean-laravel-video-embed/health.svg)](https://phpackages.com/packages/drolean-laravel-video-embed)
```

###  Alternatives

[statikbe/laravel-filament-flexible-content-blocks

The Laravel Filament Flexible Content Blocks package helps you to easily create content in Filament for any model, with predefined or custom blocks, and foreach block an extendable Blade view component.

17927.9k6](/packages/statikbe-laravel-filament-flexible-content-blocks)[stephenjude/filament-blog

Filament Blog Builder

20919.9k](/packages/stephenjude-filament-blog)[algoyounes/laravel-package-skeleton

Laravel Package Skeleton for streamlined package development

281.3k](/packages/algoyounes-laravel-package-skeleton)

PHPackages © 2026

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