2181 Commits

Author SHA1 Message Date
Sam Potts
e0b70d53cd fix: wrap localStorage sets in try/catch 2021-09-29 21:43:52 +10:00
Sam Potts
9f7725cec1 chore: package upgrades 2021-09-29 21:43:09 +10:00
Sam Potts
720cddff21 fix: add SASS div method fallback 2021-09-29 21:42:41 +10:00
Denis
1c33098c42 (fix): youtube videos duration (ref #2223). (#2224)
Co-authored-by: Denis Semionov <denis.semionov@prewise.com>
2021-09-29 21:14:43 +10:00
Frosch
b256c102e8 Vimeo private videos: check for hash in src and add as a param (#2322)
* check for hash in src and add as a param

* Enable different methods of passing hash
2021-09-29 21:14:43 +10:00
Sam Potts
a3716fc491 chore: update node version 2021-09-29 21:14:43 +10:00
Sam Potts
14e276a11d fix: video height issue 2021-09-29 21:14:43 +10:00
Björn Brändewall
fc85a63af4 Fix invalid CSS selector syntax (#2303)
https://jigsaw.w3.org/css-validator/ complains that "The selector :empty can't appear after the pseudo-element selector ::after". Switching their places, however, will validate.
2021-09-29 21:14:43 +10:00
Emilis (Idea IT)
f016a367b5 Fixed errors when Plyr instance is destroyed before constructor setTimeout() functions execute. (#2108)
Co-authored-by: Emilis Dambauskas <emilis.dambauskas@mps.fi>
2021-09-29 21:14:43 +10:00
Sam Potts
d41a90f0dd
change fullscreen element to player rootnode (#2204)
Co-authored-by: Walter van den Houten <63712489+wdfvdhouten@users.noreply.github.com>
2021-09-29 21:10:54 +10:00
Tony Narlock
9d751f4265
README: Link to svelte project (#2242) 2021-09-29 21:07:45 +10:00
Benny739
ff2c224254
Added preview thumbnails setter & fixed cannot set property 'hover' of null (#2256)
* added iPad to isIos

* elements.controls can be null

* elements.controls can be null

* added previewThumbnails setter

* fixed readme formatting

* previewThumbnails setter to method
2021-09-29 21:07:15 +10:00
AntLevin
1135b1acac
Fix types - add tagUrl in ads option with custom VAST (#2319) 2021-09-29 21:05:56 +10:00
Hemratna Bhimani
30ffb30a97
Fixes iOS fullscreen not centered issue. (#2284) 2021-09-29 21:05:15 +10:00
dependabot[bot]
d1a10386c0
chore(deps): bump ws from 7.4.3 to 7.4.6 (#2226)
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 00:13:41 +10:00
Lynn
4d6ac4ade1
chore: update plyr.d.ts for right ts check (#2245) 2021-08-24 23:18:09 +10:00
Andre Gagnon
c2bfe489ea
Let icons load in iframes without a location (#2259)
Currently, icons will fail to load if the player is placed inside an iframe without a window.location. This adds an additional check to use `window.top.location` if the window does not have a location.
2021-08-24 23:16:30 +10:00
Jack G
882952bba6
fix: fixed captions when switching source (#2261) 2021-08-24 23:15:45 +10:00
Roland
784f36921b
Update video.scss (#2296) 2021-08-24 22:30:13 +10:00
dependabot[bot]
b7dbdc133e
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#2301)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 22:28:42 +10:00
dependabot[bot]
6caa2f3fed
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#2268)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 08:23:00 +10:00
Sam Potts
3a01837561 fix: allow local builds without git 2021-07-06 08:12:51 +10:00
Sam Potts
ba4bdb335a docs: update placehold.it references 2021-07-06 08:11:23 +10:00
Sam Potts
ba236c4753 v3.6.8 v3.6.8 2021-05-12 23:40:37 +10:00
Sam Potts
a204f7c1dd Merge branch 'develop' 2021-05-12 23:37:34 +10:00
Sam Potts
bacf9122de chore: update nvmrc to 14 2021-05-12 23:37:05 +10:00
Sam Potts
2fdc1eac94 chore: lock file 2021-05-12 23:37:05 +10:00
Sam Potts
5fd4391cd9 fix: fullscreen issues with Vimeo (fixes #2175) 2021-05-12 23:37:05 +10:00
megumin
6991358428
Add container to FullscreenOptions (#2161) 2021-05-12 23:35:01 +10:00
Benny739
b050fde276
added iPad to isIos (#2191) 2021-05-12 23:33:48 +10:00
Sam Potts
32444c9851 v3.6.7
- Fix: remove regression caused by optional chaining and nullish coalescing in check for `window.CSS` check for aspect-ratio (fixes #2174)
v3.6.7
2021-04-20 08:28:23 +10:00
Sam Potts
b93dcc43ad fix: minor syntax tweak 2021-04-19 21:16:30 +10:00
Sam Potts
6ff6ff1673
fix: syntax fix (#2176) 2021-04-19 21:13:06 +10:00
Sam Potts
e1ff86820c v3.6.6
- Improvements to how aspect ratio is handled. Use `aspect-ratio` CSS property instead of the legacy method (still used as fallback). Also automatically determined aspect ratios are rounded to the nearast standard ratio. This fixes issues with the YouTube embeds showing a 1-2px black bar.
- Hide the YouTube poster image container when paused so that the controls underneath can be used.
v3.6.6
2021-04-18 17:49:23 +10:00
Sam Potts
7d22c361d1
chore: remove fastly purging logic (#2173) 2021-04-18 17:41:58 +10:00
Sam Potts
951cccb6b0
fix: youtube poster allow clickthrough while paused (#2172) 2021-04-18 16:59:00 +10:00
Sam Potts
438e425838
fix: aspect ratio improvements (#2171)
- Use CSS aspect-ratio (retain fallback for legacy browsers)
- Round aspect ratios (fixes YouTube black border issue)
2021-04-18 16:58:44 +10:00
Sam Potts
ddb5ad071e chore: deploy v3.6.5 2021-04-17 00:30:30 +10:00
Sam Potts
38060d986c chore: release 2021-04-17 00:27:07 +10:00
Sam Potts
8c74396459 chore: linting 2021-04-17 00:27:07 +10:00
dependabot[bot]
a09d63e8f8
chore(deps): bump is-svg from 4.2.1 to 4.3.1 (#2148)
Bumps [is-svg](https://github.com/sindresorhus/is-svg) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/sindresorhus/is-svg/releases)
- [Commits](https://github.com/sindresorhus/is-svg/compare/v4.2.1...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 00:23:18 +10:00
Sam Potts
d74af9a73d fix: regression regarding poster image 2021-04-17 00:19:57 +10:00
Sam Potts
60310693d3 chore: packge updates, switch to cssnano 2021-04-17 00:19:41 +10:00
Sam Potts
5d08821c9b fix: missing styles for embeds 2021-04-17 00:19:05 +10:00
Sam Potts
3316e40e7b fix: issue with IE detection 2021-04-17 00:17:53 +10:00
Jürgen Genser
dfe5985326
added Runway360 to list of sites using plyr (#2117) 2021-03-27 19:48:11 +11:00
Jorge Bucaran
b27ad17c59
Migrate color formatting to colorette (#2124) 2021-03-27 19:46:41 +11:00
Sam Potts
14b8b24e14
Merge pull request #2152 from didrip/fix-vimeo-video-play-chrome-89
add all required props to vimeo iframe allow attribute - fixes #2151
2021-03-26 20:50:53 +11:00
didrip
711fc5835f add all required props to vimeo iframe allow attribute - fixes #2151 2021-03-24 14:06:50 +01:00
Sam Potts
028be22dec chore: removed dist directories from git v3.6.4 2021-01-30 00:06:48 +11:00