Commit Graph

75 Commits

Author SHA1 Message Date
e8d883edba v3.6.3 (#2016)
* force fullscreen events to trigger on plyr element (media element in iOS) and not fullscreen container

* 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.

* Update link to working dash.js demo (was broken)

* Fix PreviewThumbnailsOptions type

According to the docs, the `src` should also accept an array of strings.

* fix issue #1872

* Check if key is a string before attempt --plyr checking

* Fix for Slow loading videos not autoplaying

* Fix for Slow loading videos not autoplaying

* Network requests are not cancelled after the player is destroyed

* Fix for apect ratio problem when using Vimeo player on mobile devices (issue #1940)

* chore: update packages and linting

* Invoke custom listener on triggering fullscreen via double-click

* Fix volume when unmuting from volume 0

* adding a nice Svelte plugin that I found

* Add missing unit to calc in media query

* Assigning player's lastSeekTime on rewind/fast forward to prevent immediate controls hide on mobile

* Fix youtube not working when player is inside shadow dom

* v3.6.2

* ESLint to use common config

* add BitChute to users list

* Fix aspect ratio issue

* Revert noCookie change

* feat: demo radius tweaks

* fix: poster image shouldn’t receive click events

* chore: package updates

* chore: linting

* feat: custom controls option for embedded players

* Package upgrades

* ESLint to use common config

* Linting changes

* Update README.md

* chore: formatting

* fix: revert pointer events change for poster

* fix: hack for Safari 14 not repainting Vimeo embed on entering fullscreen

* fix: demo using custom controls for YouTube

* doc: Add STROLLÿN among the list of Plyr users

* Fixes #2005

* fix: overflowing volume slider

* chore: clean up CSS

* fix: hide poster when not using custom controls

* Package upgrades

* ESLint to use common config

* Linting changes

* chore: revert customControls default option (to prevent breaking change)

* docs: changelog for v3.6.3

Co-authored-by: Som Meaden <som@theprojectsomething.com>
Co-authored-by: akuma06 <demon.akuma06@gmail.com>
Co-authored-by: Jonathan Arbely <dev@jonathanarbely.de>
Co-authored-by: Takeshi <iwatakeshi@users.noreply.github.com>
Co-authored-by: Hex <hex@codeigniter.org.cn>
Co-authored-by: Syed Husain <syed.husain@appspace.com>
Co-authored-by: Danielh112 <Daniel@sbgsportssoftware.com>
Co-authored-by: Danil Stoyanov <d.stoyanov@corp.mail.ru>
Co-authored-by: Guru Prasad Srinivasa <gurupras@buffalo.edu>
Co-authored-by: Stephane Fortin Bouchard <stephane.f.bouchard@gmail.com>
Co-authored-by: Zev Averbach <zev@averba.ch>
Co-authored-by: Vincent Orback <hello@vincentorback.se>
Co-authored-by: trafium <trafium@gmail.com>
Co-authored-by: xansen <27698939+xansen@users.noreply.github.com>
Co-authored-by: zoomerdev <59863739+zoomerdev@users.noreply.github.com>
Co-authored-by: Mikaël Castellani <mikael.castellani@gmail.com>
Co-authored-by: dirkjf <d.j.faber@outlook.com>
2020-11-14 13:24:11 +11:00
e48b1d11ce Housekeeping 2020-04-24 00:47:41 +10:00
502d5977d7 Converted to 2 space indentation 2020-04-11 16:23:14 +10:00
8f5b59c18c Sentry upgrade for demo 2020-03-30 23:39:01 +11:00
f6a4625495 Removed redundant keys property 2020-02-12 11:35:47 +00:00
0f16a018ff Set referrerPolicy in the demo 2020-02-10 11:25:25 +00:00
ac88e6e190 Demo clean up 2019-06-02 23:16:29 +10:00
93f5acbffd Fixed cite display 2019-06-02 22:25:00 +10:00
9c717275d2 Packages for demo separated 2019-06-02 22:24:41 +10:00
c9055f391b Linting changes 2019-06-01 18:45:07 +10:00
54110f8358 Update build process 2019-02-19 01:05:59 +11:00
153b8dc6bb Added RangeTouch, updated Shr lib in demo 2019-02-19 00:19:25 +11:00
eb628c8e4f Ads bug fixes 2019-02-01 00:24:48 +11:00
6bf6c3f0f4 Paths 2019-01-27 01:15:54 +11:00
c125c1a2c0 Added ES builds 2019-01-27 01:08:39 +11:00
1d51b28701 Tweaks 2019-01-26 22:45:47 +11:00
a84fc396e8 Merge branch 'develop' into issues/1316-allow-to-customize-vimeo-url-params 2019-01-26 17:19:58 +11:00
44739a17d0 Merge branch 'master' into develop
# Conflicts:
#	changelog.md
#	demo/dist/demo.js.map
#	demo/dist/demo.min.js
#	demo/dist/demo.min.js.map
#	demo/index.html
#	dist/plyr.js.map
#	dist/plyr.min.js
#	dist/plyr.min.js.map
#	dist/plyr.polyfilled.js
#	dist/plyr.polyfilled.js.map
#	dist/plyr.polyfilled.min.js
#	dist/plyr.polyfilled.min.js.map
#	package.json
#	readme.md
#	yarn.lock
2019-01-26 16:50:37 +11:00
24319e5c31 Clean up 2019-01-26 16:35:34 +11:00
c44351507f Plugin tweaks for ads and previews 2019-01-26 16:31:47 +11:00
052e426810 Adds options for vimeo plugin #1316
This adds replaces hard coded vimeo options with options that can be passed to the Plyr instance when initializing.
2019-01-24 12:07:01 +01:00
ad72ebd4bb Fix analytics 2019-01-17 18:50:26 +11:00
e40c63b9e7 Fix GA 2019-01-17 12:08:25 +11:00
f927d26ce7 v3.4.8
- Calling customized controls function with proper arguments (thanks @a60814billy)
2019-01-17 11:37:19 +11:00
cd9cbfbd1e Enable thumbs in demo 2019-01-08 23:34:44 +11:00
f6bc42c2bc Fix IE11 issue in demo 2018-08-13 23:03:08 +10:00
e090581913 Ads on dev or prod only 2018-08-01 11:49:42 +10:00
0b44f2d897 Demo config 2018-08-01 00:57:45 +10:00
2371619486 Linting 2018-08-01 00:56:44 +10:00
599b33e55f Click to play fix, poster fix, iOS controls fixes 2018-07-30 01:13:12 +10:00
e63ad7c74b Keyboard and focus improvements 2018-07-15 19:23:28 +10:00
c99607c85a Linting, housekeeping, duration fix (fixes #1074) 2018-06-29 00:21:22 +10:00
8584f6a1db v3.3.14 2018-06-18 22:01:56 +10:00
76bb299c68 Restore default 2018-06-09 12:05:37 +10:00
0c03accd41 Fix Sprite issue 2018-06-09 12:04:53 +10:00
90919411e9 Use div for poster, Vimeo fixes, Tooltip fixes 2018-05-08 12:57:24 +10:00
a97b08e8ea ARIA and Vimeo fixes 2018-04-18 18:29:43 +10:00
119b471b84 More bug fixes 2018-04-17 23:51:23 +10:00
7f079e0ec3 Fix for playing false positive (fixes #898) 2018-04-17 22:52:46 +10:00
e4d975af00 Styling fixes 2018-04-03 22:56:19 +10:00
3395e8df90 HTML5 quality selection 2018-04-02 22:40:03 +10:00
d7141d5ed7 Controls docs, package upgrades 2018-03-30 00:11:48 +11:00
0d0ece94d3 Fix regression 2018-03-29 20:20:37 +11:00
c4e2e24643 Bug fixes 2018-03-28 22:45:11 +11:00
2b7fe9a4f9 v3.0.6 2018-03-28 00:17:15 +11:00
1a032ea498 Fix for seeking issue 2018-03-27 21:10:06 +11:00
9c1bc6ab08 Fixes for fast forward and issues with event.preventDefault() 2018-03-27 10:36:08 +11:00
c7ea13c0c7 Sentry in live only 2018-03-18 01:08:05 +11:00
0f8c6e147b Added Sentry 2018-03-18 00:21:23 +11:00
5db73b1327 Added buffered getter 2018-03-17 23:27:40 +11:00