dereuromark/media-embed 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dereuromark/media-embed

最新稳定版本:0.6.4

Composer 安装命令:

composer require 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.

README 文档

README

CI PHPStan Minimum PHP Version License Latest Stable Version Total Downloads Coding Standards

A utility library that generates HTML embed tags for audio or video located on a given URL. It also parses and validates given media URLs.

It currently works with 120+ services, including the most important ones like

  • YouTube
  • Dailymotion
  • MyVideo
  • Vimeo
  • Ustream

etc. With community driven updates this aims to be a complete and up-to-date service wrapper lib.

It uses iframes if possible, and has a fallback on the embed object if necessary.

Demo

https://sandbox.dereuromark.de/sandbox/media-embed

Requirements

Note

Please feel free to join in and help out to further improve or complete it. There are always some providers changing their URLs/API or some new ones which are not yet completed.

Installation

Run

composer require dereuromark/media-embed

This will get the latest tagged version for you.

Documentation

For detailed documentation see /docs.

Credits

Inspired by autoembed.com which already included most of the supported services and laid the foundation of this OOP approach here. There is also this.

统计信息

  • 总下载量: 490.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 183
  • 点击次数: 1
  • 依赖项目数: 14
  • 推荐数: 0

GitHub 信息

  • Stars: 178
  • Watchers: 5
  • Forks: 45
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-04