| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 🏷️(type) enhance QualityOptions type
Some optional properties in the QualityOptions were missing. The forced
and onChange property allwoing to use an external handler.
* ♻️(type) use Plyr.Provider for the readonly provider property
A type exists to define all available providers. This type isn't used in
the Plyr class definition and the same provider list is also defined.
This code is refactored to use the Plyr.Provider type
* 🏷️(type) add missing elements property in Plyr class
In Plyr class, you can access elements set in cache. This property is
missing in the class definition. The Plyr.Elements is for now
incomplete.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
# Conflicts:
# README.md
# demo/dist/demo.min.js
# demo/dist/demo.min.js.map
# dist/plyr.min.js
# dist/plyr.min.js.map
# dist/plyr.min.mjs
# dist/plyr.min.mjs.map
# dist/plyr.polyfilled.min.js
# dist/plyr.polyfilled.min.js.map
# dist/plyr.polyfilled.min.mjs
# dist/plyr.polyfilled.min.mjs.map
# package.json
# src/js/plugins/vimeo.js
# src/js/plugins/youtube.js
# src/js/ui.js
# yarn.lock
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fixing "missing code in detail" for PlyrEvent type
|
| |/
| |
| |
| |
| | |
When using typescript and listening for youtube statechange event, it is missing the code property definition inside the event (even though it is provided in the code).
By making events a map of key-value, we can add easily custom event type for specific event name. Since YouTube "statechange" event differs from the basic PlyrEvent, I added a new Event Type "PlyrStateChangeEvent" having a code property corresponding to a YoutubeState enum defined by the YouTube API documentation.
This pattern follows how addEventListener in the lib.dom.d.ts is defined.
|
|/
|
| |
According to the docs, the `src` should also accept an array of strings.
|
| |
|
| |
|
| |
|
|\
| |
| | |
Added missing full screen options for type definition
|
| | |
|
|\ \
| | |
| | | |
Merge back
|
| |/
| |
| | |
Using strings for the quality doesn't work, plyr expects numbers, so this fixes the definitions.
|
|/ |
|
| |
|
|
|