Commit Graph
53 Commits
Author SHA1 Message Date
Dermot Duffy 724ca4c843 Allow the carousel 'slide' animation to be disabled. 2022-02-08 20:36:07 -08:00
Dermot Duffy 65b0ed987e Fixes for native WebRTC support. 2022-02-07 20:58:01 -08:00
Dermot Duffy 24d4d10a43 Rename autoplay_clip to auto_play (to match auto_unmute). 2022-02-01 21:01:54 -08:00
Dermot Duffy 632569b1ef Add auto unmute support. 2022-02-01 20:40:34 -08:00
Dermot Duffy f46a15d76e Don't autoplay on visibility unless autoplay is enabled. 2022-01-31 20:12:48 -08:00
Dermot Duffy f871d9b533 Add media title popups. 2022-01-30 16:58:22 -08:00
Dermot Duffy 4bba7ae5fb Add live view lazy unloading support. 2022-01-25 20:06:02 -08:00
Dermot Duffy 20ea8054a7 Don't use autoplay logic for snapshots. 2022-01-22 19:38:57 -08:00
Dermot Duffy 34448549b6 Make autoplay/pause work correctly with lazyloading. 2022-01-22 18:23:30 -08:00
Dermot Duffy 05bcbbb16b Rework autoplay/pause into a plugin, apply to viewer & live. 2022-01-21 22:44:30 -08:00
Dermot Duffy 77a8127848 Pause clips on moving off a slide in the viewer. 2022-01-20 20:42:57 -08:00
Dermot Duffy 0e8b40f648 Viewer fixes to avoid resetting carousel when not necessary. 2022-01-16 15:53:54 -08:00
Dermot Duffy bdc09c5838 Simplify autoplay functionality.
Prevents all media in an entire carousel from simultaneously autoplaying in
some browsers. Changes the default autoplay value to true, and applies autoplay
configuration to all clips (whether from the gallery of most recent 'clip').
2022-01-15 11:35:10 -08:00
Dermot Duffy 745d0c2e71 Improve title & accessibility label support. 2022-01-15 09:31:03 -08:00
Dermot Duffy 73caa5d52a Improve handling of non-Frigate cameras. 2022-01-14 21:31:16 -08:00
Dermot Duffy f976f3d210 Refactor media fetching logic out of viewer & gallery. 2022-01-14 21:31:16 -08:00
Dermot Duffy 6e2786c7b5 Retire the '*-specific' views. 2022-01-14 21:31:16 -08:00
Dermot Duffy faeb4a4a7e Fix bug causing the wrong media load event to be dispatched. 2022-01-14 21:31:16 -08:00
Dermot Duffy fd8cdf21a0 Significant rework in how events are updated from components. 2022-01-14 21:31:16 -08:00
Dermot Duffy af3b9092fd Add configuration for new live view. 2022-01-14 21:31:16 -08:00
Dermot Duffy 4a93d02fe9 Add controls for live carousel. 2022-01-14 21:31:16 -08:00
Dermot Duffy c83299a2e6 Implement adaptive height to support live cameras with different dimensions. 2022-01-14 21:31:16 -08:00
Dermot Duffy 986add8463 Initial attempt to break media carousel out separately from viewer. 2022-01-14 21:31:16 -08:00
Dermot Duffy 677f0d511b Skeleton live carousel. 2022-01-14 21:31:16 -08:00
Dermot Duffy ca581c5078 Initial skeleton of multiple camera support. 2022-01-14 21:31:16 -08:00
Dermot Duffy 7e5927344b Refactor editor. 2021-11-26 21:06:56 -08:00
Dermot Duffy 065d297386 Don't render thumbnail carousel if there are no thumbnails. 2021-11-26 16:28:36 -08:00
Dermot Duffy 3c7634d9d5 Add thumbnail to live view. 2021-11-25 15:22:41 -08:00
Dermot Duffy cbd2505b98 Minor refactor for consistency. 2021-11-24 17:49:39 -08:00
Dermot Duffy bb36004b6d Support the thumbnail carousel above or below. 2021-11-24 14:42:41 -08:00
Dermot Duffy 2e9be783a6 Convert viewer to inherit from media carousel. 2021-11-24 13:46:23 -08:00
Dermot Duffy 48f288e0fd Break carousel out into its own component. 2021-11-23 21:53:53 -08:00
Dermot Duffy 6c03934656 Thumbnail carousel initial draft 2021-11-22 17:07:33 -08:00
Dermot Duffy 2e21456fab Only use actionHandler on card. 2021-11-18 10:01:26 -08:00
Dermot Duffy 8141bbfb46 Fix lazy loading in event viewer in Safari. 2021-11-06 22:36:39 -07:00
Dermot Duffy 15266be2d7 Allow dragging/swiping to be disabled. 2021-11-06 15:24:51 -07:00
Dermot Duffy e0daa17834 Initial configuration reorganization. 2021-11-01 12:43:33 -07:00
Dermot Duffy 17eb1d439d Make control sizes configurable. 2021-10-30 20:14:46 -07:00
Dermot Duffy 24f3191c9e Fix aspect ratio issue. 2021-10-29 20:22:30 -07:00
Dermot Duffy d44fff03d3 Minor tidyup. 2021-10-29 16:49:49 -07:00
Dermot Duffy 66ae262654 Implement downloading and correct MediaShow events in carousel. 2021-10-29 16:36:36 -07:00
Dermot Duffy a2d58d59b9 Fix browseMediaQueryParameters for clip and snapshot. 2021-10-26 13:20:34 -07:00
Dermot Duffy 8d7e5e9b2e Initial lazy loading support for carousel. 2021-10-26 11:07:21 -07:00
Dermot Duffy 30adb637a8 Convert the viewer into a carousel. 2021-10-25 23:08:58 -07:00
Dermot Duffy c45c2ec973 Split async/sync parts of viewer. 2021-10-25 00:48:28 -07:00
Dermot Duffy e5b1deb334 Various build extension fixes. 2021-10-24 07:57:28 -07:00
Dermot Duffy 49455ab741 Add picture elements support. 2021-10-07 21:16:16 -07:00
Jason Hunter f71f463d30 _findRelatedClips is actually searching for "snapshots" 2021-10-02 14:31:05 -04:00
Dermot Duffy e3ccbb0787 Dynamically extract dimensions from loaded media. 2021-09-23 20:38:39 -07:00
Dermot Duffy d02f760793 Improve CSS encapslation (Chrome). 2021-09-20 22:37:08 -07:00