Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dailymotion Support #2136

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Dailymotion Support #2136

wants to merge 6 commits into from

Conversation

akuma06
Copy link
Contributor

@akuma06 akuma06 commented Mar 12, 2021

Link to related issue (if applicable)

As asked in #682, here is the PR for the dailymotion support.

Summary of proposed changes

Not much, code base wise, has changed, every changes on the original code is to add support for Dailymotion. I also added an example of a dailymotion video.
All the logic of the dailymotion plugin is in plugins/dailymotion.js.

* DailyMotion doesn't support captions (captions.js)
* It provides a new api and sdk plus some config parameters (defaults.js)
* Added a new provider type and a regexp rule so it can be selected (types.js)
* Added a setup condition inside media.js
* Daillymotion Plugin moved inside plugins folder
* Added definitions for dailymotion parameters and providers (plyr.d.ts)
* Added new function isDailymotion, removed playback rate support for Dailymotion, added a destroy rule for DailyMotion (plyr.js)
* New i18n propertie for dailymotion (i18n.js)
Added a dailymotion video example inside index.html.
@akuma06 akuma06 mentioned this pull request Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants