Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benjipott/video.js-dailymotion

Allows you to use DailyMotion URL as source with Video.js.
https://github.com/benjipott/video.js-dailymotion

Last synced: 4 months ago
JSON representation

Allows you to use DailyMotion URL as source with Video.js.

Awesome Lists containing this project

README

        

**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Video.js - Dailymotion Source Support](#videojs---dailymotion-source-support)
- [How does it work?](#how-does-it-work)
- [Additional Informations](#additional-informations)
- [Special Thank You](#special-thank-you)

# Video.js - Dailymotion Source Support
Allows you to use Dailymotion URL as source with [Video.js](https://github.com/zencoder/video-js/).

## How does it work?
Including the script vjs.dailymotion.js will add the Dailymotion as a tech. You just have to add it to your techOrder option. Then, you add the option src with your Dailymotion URL.

It supports:
- dailymotion.com/
- Regular URLs: http://www.dailymotion.com/video/xxxasl_fail-compilation-february-2013-tnl_fun

**You must use the last version of VideoJS available in the folder lib, the current version on CDN will not work until it is updated**

Here is an example:




## Additional Informations
dmControls: Display the Dailymotion controls instead of Video.js.

##Special Thank You
Thanks to Benoit Tremblay for the original code https://github.com/eXon/videojs-youtube