Commit Graph

1199 Commits

Author SHA1 Message Date
Sam Potts c44351507f Plugin tweaks for ads and previews 2019-01-26 16:31:47 +11:00
Christian Gambardella 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
Sam Potts c577eb01ce Style tweaks for preview plugin 2019-01-22 16:24:46 +11:00
Sam Potts 263e88f6b3 Comments 2019-01-21 00:39:28 +11:00
Sam Potts 4ab8a54a11 Preview design tweaks 2019-01-21 00:32:20 +11:00
Sam Potts f927d26ce7 v3.4.8
- Calling customized controls function with proper arguments (thanks @a60814billy)
2019-01-17 11:37:19 +11:00
Sam Potts fe24c73c11 Merge branch 'develop' of github.com:sampotts/plyr into develop 2019-01-14 00:34:12 +11:00
Sam Potts 6782737009 Fullscreen fixes 2019-01-14 00:33:48 +11:00
Sam Potts 4d3e188401 Merge branch 'develop' of https://github.com/sampotts/plyr into develop 2019-01-08 23:34:59 +11:00
Sam Potts 7dd7c13065 Linting etc 2019-01-08 23:34:28 +11:00
Sam Potts 1c79ce70c9 Update youtube.js 2019-01-06 14:09:49 +11:00
Sam Potts db2997ef21 Merge branch 'develop' into master 2019-01-06 14:08:46 +11:00
Jimmy Jia 6d9d315ca7 fix: Use Math.trunc instead of parseInt 2018-12-20 13:06:29 -05:00
Sam Potts 5fdc0aae66 Merge pull request #1253 from jamesoflol/preview-thumbs
Preview seek/scrubbing thumbnails
2018-12-15 10:43:36 +07:00
James d97257a5a9 Preview seek: Edge+IE11 fixes
- Fixed bug: Edge seek errors: Replaced array spread with Array.from()
- Fixed IE11 bug: seek time was offset to the left. Required an extra container div to facilitate this
2018-12-15 11:32:50 +11:00
James 279f051905 Preview seek: image preloading + tweaks/fixes
- Preloads neighbouring images after showing current image
- Re-fixed bug: if you mousedown but don't move mouse, it shows a stale image in the scrubbing container
- Fixed bug: mobile device correctly detect touch
2018-12-14 12:50:29 +11:00
Omar Khatib 88ffd0f138 remove comment 2018-12-13 17:31:15 +01:00
Omar Khatib 11618353ea support Youtube noCookie Mode 2018-12-13 17:30:10 +01:00
James e948bfd585 Preview seek: jpeg sprites + much more
- Allow jpeg sprites - much snappier and more accurate
- Fixed bug: right clicking the seek bar sticks on mousedown
- Fixed bug: moving the mouse really quickly results in not updating the thumb
- Fixed bug: if you mousedown but don't move mouse, it shows a stale image in the scrubbing container
- Fixed bug: very first image shows as 0px
- Fixed bug: stretches images when video isn't same aspect as player
2018-12-13 20:39:39 +11:00
Sam Potts bdd513635f Work on outline/focus styles 2018-12-08 17:06:20 +11:00
Sam Potts 2bbebd811b Merge pull request #1267 from gurupras/issue-858
Ensure custom handlers are called on container clicks that trigger togglePlay or restart
2018-12-08 16:58:51 +11:00
Guru Prasad Srinivasa 3fb85664d2 Updated restart logic to call play instead of togglePlay 2018-12-08 00:57:47 -05:00
Sam Potts b9ea9fba9a Merge branch 'develop' of https://github.com/sampotts/plyr into develop 2018-12-08 16:50:48 +11:00
Sam Potts a0303969c2 Fix for error when mime type not specified (fixes #1274) 2018-12-08 16:50:44 +11:00
Samuel Elgozi df5b7a008d Fix: buffer progress bar transition on webkit
The transition was set on the wrong pseudo element for WebKit browsers.
2018-11-22 19:35:01 +02:00
Guru Prasad Srinivasa 80813b0406 Replaced calls to player.restart() and player.togglePlay() with proxy(...) to ensure that custom handlers are called 2018-11-19 23:06:23 -05:00
Raccoon 0e181133c1 Calling customized controls function with proper arguments 2018-11-12 15:37:46 +08:00
James 8f27611911 Preview seek/scrubbing thumbnails 2018-11-12 15:55:26 +11:00
Sam Potts b7b2e3c0aa Merge branch 'develop' into css-variables
# Conflicts:
#	demo/dist/demo.css
#	demo/dist/demo.js
#	demo/dist/demo.js.map
#	demo/dist/demo.min.js
#	demo/dist/demo.min.js.map
#	dist/plyr.css
#	dist/plyr.js
#	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
#	gulpfile.js
#	src/sass/components/captions.scss
#	src/sass/components/control.scss
2018-11-11 11:05:09 +11:00
Sam Potts 2c8a337f26 v3.4.7
-   Fix for Vimeo fullscreen with non native aspect ratios (fixes #854)
2018-11-08 23:34:10 +11:00
Sam Potts a19ad69038 Fix for Vimeo fullscreen with non 16:9 aspect ratios 2018-11-08 23:19:11 +11:00
Sam Potts e2fc20ca76 Styling tweaks 2018-11-08 23:18:04 +11:00
Sam Potts 37c3f7109d Additional listener for checking for audio tracks 2018-11-08 23:17:44 +11:00
Sam Potts e8da4326b6 Prevent scroll on focus 2018-11-03 21:17:46 +11:00
Sam Potts 67f908aa8d Load media after UI is built 2018-11-03 21:17:32 +11:00
Sam Potts 65eb5c1b8b Fix support check 2018-11-03 21:16:40 +11:00
Sam Potts 1a9b860e68 v3.4.6
-   Added picture-in-picture support for Chrome 70+
-   Fixed issue with versioning the SVG sprite in the gulp build script
2018-10-25 09:44:40 +11:00
Sam Potts fe26d383f1 Added support for picture-in-picture in Chrome 2018-10-25 09:17:15 +11:00
Sam Potts df4bc268dc Merge branch 'master' into develop 2018-10-25 00:14:14 +11:00
Sam Potts e49da6c13f v3.4.5 2018-10-24 23:04:18 +11:00
Sam Potts 67b7262764 Revert PR #1211 2018-10-24 23:00:54 +11:00
Sam Potts b6175b1ca9 Merge branch 'develop' into fix-html5-quality-settings 2018-10-24 22:39:10 +11:00
Sam Potts aa20ebaa9c Merge pull request #1211 from melbahja/develop
duration after changing video quality
2018-10-24 22:37:49 +11:00
Sam Potts 5d5a6eabaa Merge branch 'develop' of github.com:sampotts/plyr into develop 2018-10-24 22:31:47 +11:00
Sam Potts 03c9b53232 Allow custom download URL (for streaming, etc) 2018-10-24 22:31:35 +11:00
Sam Potts c232eb2478 Fix SVG issue for older browsers (fixes #1191) 2018-10-24 22:30:41 +11:00
James 69d0d6d7ee Prevent immediate hiding of controls on mobile 2018-10-23 10:08:46 +11:00
Mohamed Elbahja 06db3f702d Update plyr.js 2018-10-13 13:23:42 +01:00
Mohamed Elbahja a2a82a96a6 fix: continue with the current duration after changing video quality 2018-10-13 12:59:59 +01:00
Robin van Nunen a86bbae851 Only save quality setting when it's updated by the user. Fixes bug in html5 player where it would override the settings if the current video does not support the given quality. 2018-09-29 21:23:10 +02:00