Coder Social home page Coder Social logo

redbastie / media-embed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dereuromark/media-embed

0.0 0.0 0.0 225 KB

A PHP library to deal with all those media services around, parsing their URLs and displaying their audios/videos.

License: MIT License

PHP 99.31% Shell 0.60% Batchfile 0.10%

media-embed's Introduction

MediaEmbed

Build Status Minimum PHP Version License 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 160+ 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.

media-embed's People

Contributors

adamdburton avatar amaury-tom avatar cceglia avatar curtisgibby avatar dereuromark avatar deruli avatar drmonkeyninja avatar erikfrerejean avatar erwane avatar jeremib avatar jhuet avatar korenskoy avatar matthewsuan avatar michilehr avatar microstudi avatar netstyler avatar sammyaxe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.