Commit Graph

32 Commits

Author SHA1 Message Date
73bfb5211b feat: minor tweaks to the preview thumbs UI 2022-04-20 14:31:42 +10:00
412d5df06e fix: use consistent border-radius variable 2022-04-18 22:34:03 +10:00
1d4869beee feat: tweaks to markers logic and design 2022-04-18 20:15:30 +10:00
6a92e60a67 fix: remove division logic from ads.scss (fixes #2370) 2021-12-17 07:39:58 +11:00
9ea3a6923d fix: use calc instead of list.slash 2021-12-16 22:59:44 +11:00
91b19baf44 fix: use list.slash instead of deprecated syntax 2021-12-16 20:29:36 +11:00
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
a97008aeeb More work on custom properties and documentation 2020-04-24 00:14:50 +10:00
502d5977d7 Converted to 2 space indentation 2020-04-11 16:23:14 +10:00
da943b384c Merge branch 'develop' into css-variables
# Conflicts:
#	demo/dist/demo.css
#	demo/dist/demo.min.js.map
#	demo/index.html
#	dist/plyr.css
#	dist/plyr.min.js.map
#	dist/plyr.min.mjs.map
#	dist/plyr.polyfilled.min.js.map
#	dist/plyr.polyfilled.min.mjs.map
#	gulpfile.js
#	src/sass/base.scss
#	src/sass/components/control.scss
#	src/sass/settings/colors.scss
#	src/sass/settings/controls.scss
2020-03-30 10:45:57 +11:00
8fc6c2ba52 File rename and clean up 2019-06-21 00:19:37 +10:00
2e40b91ec1 Styling tweaks for demo 2019-06-20 23:50:46 +10:00
c44351507f Plugin tweaks for ads and previews 2019-01-26 16:31:47 +11:00
c577eb01ce Style tweaks for preview plugin 2019-01-22 16:24:46 +11:00
4ab8a54a11 Preview design tweaks 2019-01-21 00:32:20 +11:00
7dd7c13065 Linting etc 2019-01-08 23:34:28 +11:00
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
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
8f27611911 Preview seek/scrubbing thumbnails 2018-11-12 15:55:26 +11:00
5cb1628cd8 Vimeo fix 2018-03-15 10:29:05 +11:00
5ebe18d081 Typography fix 2018-03-13 22:00:40 +11:00
69ffcbad27 Ad block detection would not work when calling play() right after creating the player instance, so the adsManager now also rejects on such a case. Also made sure that calling play() will wait for the adsManager promise to resolve or otherwise return the media.play() method. 2018-03-09 11:17:24 +01:00
819f7d1080 Resizing the ad container while having it on display none will return offset width and height of 0, which will cause ads not to play when ad sizes are set within the clients DSP. Also making sure that the inner containers of the ad container are full size. The container is now hidden/ displayed using z-index. 2018-03-07 15:43:48 +01:00
0300610108 Typo 2018-03-03 23:14:57 +11:00
cc128e6088 Renamed property, UI tweak 2018-01-23 10:31:21 +11:00
5671235fd9 Formatting, events and ad countdown added 2018-01-22 23:15:10 +11:00
5fad152cbf Formatting and “ad” badge 2018-01-19 20:24:15 +11:00
896ea7c689 Added cue markings within the time line for when midrolls will be displayed. Removed unusued callback parameter. 2018-01-17 15:38:26 +01:00
3583165b30 Removed logic related to starting the ad by clicking/ tapping the advertisement container. Ad is started by plyr play method. 2018-01-17 14:09:11 +01:00
9e52296dc6 Moved the ads container to be outside of the video wrapper. This way we can easily move the ad in front or behind the video controls based on content resume or pause IMA events. 2018-01-17 12:19:32 +01:00
22e8892993 Code tweaks 2018-01-14 23:15:33 +11:00
025fc1090b Implementing ads plugin 2018-01-13 23:02:59 +01:00