Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/benjipott/video.js-dailymotion
- Owner: benjipott
- Created: 2013-10-01T13:48:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-19T12:11:22.000Z (over 8 years ago)
- Last Synced: 2024-08-05T05:04:43.936Z (4 months ago)
- Language: JavaScript
- Size: 317 KB
- Stars: 30
- Watchers: 7
- Forks: 20
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
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