Commit Graph
100 Commits
Author SHA1 Message Date
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 e99a5a5ef7 Merge pull request #201 from dermotduffy/use-action-handler
Fix bug where touchevents were being ignored by elements within the card
2021-11-18 10:05:19 -08:00
Dermot Duffy 2e21456fab Only use actionHandler on card. 2021-11-18 10:01:26 -08:00
Dermot Duffy 1ef9609066 Mention LL-HLS in README 2021-11-18 09:28:23 -08:00
Dermot Duffy bf2eb95c9a Merge pull request #197 from dermotduffy/custom-jsmpeg-options
Advanced: Allow setting custom JSMPEG options
2021-11-15 20:56:23 -08:00
Dermot Duffy e691eb9755 Support custom JSMPEG options. 2021-11-15 20:52:28 -08:00
Dermot Duffy 6b6b1774db Merge pull request #195 from dermotduffy/fullscreen-resize-observer
Fix fullscreen thumbnail sizes not correctly adjusting to expanded real estate
2021-11-14 19:43:03 -08:00
Dermot Duffy 2b0ba931f4 Gallery core should be a block element. 2021-11-14 19:40:07 -08:00
Dermot Duffy 49b44871c0 Merge pull request #194 from dermotduffy/menu-condition
Allow menu to be conditionally hidden
2021-11-14 16:48:17 -08:00
Dermot Duffy c7506c9ee0 Add menu conditions. 2021-11-14 15:32:25 -08:00
Dermot Duffy 3ae908d4b7 Merge pull request #193 from dermotduffy/actions-on-views
Add support for actions on the card itself (with view specific overrides)
2021-11-14 07:44:37 -08:00
Dermot Duffy 256fee9061 Small cleanups and README. 2021-11-14 07:42:47 -08:00
Dermot Duffy fc3033a0fe Add support for card and view actions. 2021-11-13 20:50:11 -08:00
Dermot Duffy 155e62dcfd Merge pull request #190 from dermotduffy/trigger-fullscreen
Allow custom user-defined actions to control the frigate card (e.g. activate fullscreen)
2021-11-11 20:10:58 -08:00
Dermot Duffy 450cb0151f fire-dom-event must be a literal 2021-11-11 20:08:50 -08:00
Dermot Duffy df79ff80eb Update README. 2021-11-10 21:31:55 -08:00
Dermot Duffy f84cbcc50d Allow syntactic sugar in config. 2021-11-10 21:09:17 -08:00
Dermot Duffy 19291ae184 Allow custom actions to control the frigate card. 2021-11-10 07:45:59 -08:00
Dermot Duffy 6096b0e81e Merge pull request #188 from dermotduffy/gallery-split
Split gallery into an async and sync part for clarity
2021-11-07 19:43:30 -08:00
Dermot Duffy f2dde4cbec Split gallery into an async and sync part. 2021-11-07 19:41:01 -08:00
Dermot Duffy 0eb47c50c9 Merge pull request #187 from dermotduffy/const-config
Use consts for configuration keys
2021-11-07 16:30:35 -08:00
Dermot Duffy 9c027ca447 Use configuration consts. 2021-11-07 16:26:52 -08:00
Dermot Duffy 2d568376ba Merge pull request #184 from dermotduffy/safari-fix
Fix lazy event viewer loading in Safari
2021-11-06 22:42:46 -07:00
Dermot Duffy 8141bbfb46 Fix lazy loading in event viewer in Safari. 2021-11-06 22:36:39 -07:00
Dermot Duffy d272988ef7 Merge pull request #181 from dermotduffy/version-bump
Bump card version to v2.0.0
2021-11-06 16:20:55 -07:00
Dermot Duffy a854187d4a Bump card version to v2.0.0 . 2021-11-06 16:19:11 -07:00
Dermot Duffy eb5956229b Merge pull request #180 from dermotduffy/remove-warning
Do not log spurious exceptions on JSMPEG player destroy
2021-11-06 15:37:21 -07:00
Dermot Duffy 382e57729a Swallow exceptions generated during JSMPEG destroy. 2021-11-06 15:34:29 -07:00
Dermot Duffy d3122f162b Merge pull request #179 from dermotduffy/swipe-optional
Allow event viewer dragging/swiping to be disabled
2021-11-06 15:26:07 -07:00
Dermot Duffy 15266be2d7 Allow dragging/swiping to be disabled. 2021-11-06 15:24:51 -07:00
Dermot Duffy 9240264db0 Merge pull request #169 from dermotduffy/config-reorganize
Significant configuration re-organization to simplify config & code
2021-11-06 15:09:44 -07:00
Dermot Duffy ac0ae9f3cb Cleanups. 2021-11-06 14:58:53 -07:00
Dermot Duffy be76d5bb24 Basic configuration upgrade support. 2021-11-06 10:11:12 -07:00
Dermot Duffy 80218957b6 Verify state exists first. 2021-11-02 21:33:28 -07:00
Dermot Duffy b050f62505 README updates. 2021-11-02 20:25:14 -07:00
Dermot Duffy 3761f88170 Add editor support. 2021-11-01 22:20:35 -07:00
Dermot Duffy e0daa17834 Initial configuration reorganization. 2021-11-01 12:43:33 -07:00
Dermot Duffy 12cee94d49 Merge pull request #166 from dermotduffy/live-prerender-event
Don't dispatch MediaShowEvents for preloaded live view
2021-10-30 22:50:15 -07:00
Dermot Duffy 5b5c651e64 Minor updates to live. 2021-10-30 22:47:08 -07:00
Dermot Duffy b4ec3d34a7 Don't dispatch media events for pre-rendered live. 2021-10-30 22:12:04 -07:00
Dermot Duffy 5e7ba84bc5 Merge pull request #165 from dermotduffy/control-size
Allow menu & next/previous control sizes to be configured
2021-10-30 20:28:44 -07:00
Dermot Duffy 17eb1d439d Make control sizes configurable. 2021-10-30 20:14:46 -07:00
Dermot Duffy fcc40a926b Merge pull request #164 from dermotduffy/zod
Further improve configuration error reporting
2021-10-30 01:54:33 -07:00
Dermot Duffy ffdcf2f058 Use zod fatal support. 2021-10-30 01:52:07 -07:00
Dermot Duffy d97a03f94c Merge pull request #163 from dermotduffy/most-recent
Allow quick access to the most recent clip/snapshot by holding down the menu button
2021-10-30 01:37:48 -07:00
Dermot Duffy 1844f94dd1 Access the most recent clip/snapshot by holding down the menu button. 2021-10-30 01:34:32 -07:00
Dermot Duffy 409f48137d Merge pull request #162 from dermotduffy/resize-gone
Fix media loading to work for HA >= 2021.11
2021-10-30 01:02:52 -07:00
Dermot Duffy 6ec4ad067e Fix media loading to work for HA >= 2021.11 2021-10-30 01:00:25 -07:00
Dermot Duffy 38abccd5c5 Merge pull request #161 from dermotduffy/buttons-gone
Fix button rendering to work for HA >= 2021.11
2021-10-30 00:51:53 -07:00
Dermot Duffy a919222d5f Tweak button rendering to work for HA 2021.11. 2021-10-30 00:47:14 -07:00
Dermot Duffy 8ef3f77ee7 Merge pull request #158 from dermotduffy/download
Add media download support
2021-10-29 20:29:18 -07:00
Dermot Duffy 24f3191c9e Fix aspect ratio issue. 2021-10-29 20:22:30 -07:00
Dermot Duffy 89f09aed4b Add editor support and README update for downloading. 2021-10-29 16:55:08 -07:00
Dermot Duffy 73a89ef5e5 Remove media show logging. 2021-10-29 16:50:32 -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 715810dcc9 Merge pull request #152 from dermotduffy/swipe2
Re-implement the media viewer as a swipe carousel
2021-10-26 14:44:35 -07:00
Dermot Duffy 13437168f7 Restore basic width/height css. 2021-10-26 14:38:10 -07:00
Dermot Duffy d727593ed8 Use an LRU for the resolved media instead of growing unbounded. 2021-10-26 14:04:37 -07:00
Dermot Duffy 38af2f3d62 Surface lazy load to the editor/README. 2021-10-26 13:32:06 -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 54a9b4fca9 Merge pull request #148 from dermotduffy/swipe
Various build system cleanups & extension fixes
2021-10-24 08:09:49 -07:00
Dermot Duffy e6e3e7e51e Put babel back. 2021-10-24 08:06:08 -07:00
Dermot Duffy e5b1deb334 Various build extension fixes. 2021-10-24 07:57:28 -07:00
Dermot Duffy f089cc54e5 Merge pull request #146 from dermotduffy/resign-url
Automatically resign the JSMPEG URL to avoid spurious auth failures
2021-10-23 12:05:11 -07:00
Dermot Duffy 2ed6b98278 Fixes for when player is left in the background. 2021-10-23 10:05:27 -07:00
Dermot Duffy 9e543dbb5a Don't start the timer until the last moment. 2021-10-22 22:15:06 -07:00
Dermot Duffy a6cc7d43d6 Don't adjust reconnection timeout. 2021-10-22 22:06:09 -07:00
Dermot Duffy 7b2b829848 Refactor JSMPEG signing/creation logic. 2021-10-22 21:38:04 -07:00
Dermot Duffy 9f39d23cfc Merge pull request #143 from dermotduffy/audio
Explicitly disable audio for JSMPEG streams to remove spurious error message
2021-10-21 19:39:13 -07:00
Dermot Duffy 42b8038280 Disable audio on JSMPEG stream to remove bogus console message. 2021-10-21 19:33:40 -07:00
Dermot Duffy b5bbf3e3cb Merge pull request #141 from dermotduffy/fix-menu-buttons
Fix picture element rendering bug causing menu icons to be lost in certain circumstances
2021-10-19 19:27:39 -07:00
Dermot Duffy 031d9362d6 Fix element rendering. 2021-10-18 22:30:44 -07:00
Dermot Duffy 80ae875b77 Merge pull request #138 from dermotduffy/version-bump
Bump version to v1.2.1 .
2021-10-17 21:39:45 -07:00
Dermot Duffy 886bf0aa55 Bump version to v1.2.1 . 2021-10-17 21:34:18 -07:00
Dermot Duffy e35275db5d Merge pull request #137 from dermotduffy/coffee
I like coffee
2021-10-17 21:29:49 -07:00
Dermot Duffy 6065300e0a I like coffee. 2021-10-17 21:28:06 -07:00
Dermot Duffy 3d1927533d Merge pull request #136 from dermotduffy/auth-expiry
Extend the default expiry of the signed JSMPEG URL
2021-10-17 21:15:28 -07:00
Dermot Duffy 11547cb9f8 Extend the default expiry of the signed URL (30s-15m). 2021-10-17 21:05:08 -07:00
Dermot Duffy 93d3d318be Merge pull request #135 from dermotduffy/minor-screenshot-fix
Minor screenshot fix
2021-10-17 20:56:34 -07:00
Dermot Duffy 7354a63ba1 Minor screenshot fix. 2021-10-17 20:55:46 -07:00
Dermot Duffy 2678647ebe Merge pull request #134 from dermotduffy/cool-screenshot
Update README leading image with image mode stock image
2021-10-17 20:47:01 -07:00
Dermot Duffy f49debd35a Update leading image example. 2021-10-17 20:46:22 -07:00
Dermot Duffy 8587aa876f Merge pull request #133 from dermotduffy/zod2
Improve error location reporting with complex card config errors
2021-10-17 20:31:29 -07:00
Dermot Duffy 9ae66d75ef Improve error location reporting (w/fixed zod). 2021-10-17 20:25:26 -07:00
Dermot Duffy fd76909d9b Merge pull request #131 from dermotduffy/image-view
Add 'image' view to serve static image / "screensaver"
2021-10-17 08:34:08 -07:00
Dermot Duffy fa2abc6dc0 Increase embedded image quality. 2021-10-17 08:32:05 -07:00
Dermot Duffy 7e5c79e51c Remove superfluous optional. 2021-10-16 22:02:19 -07:00
Dermot Duffy 80c2fb71ac README updates. 2021-10-16 21:17:56 -07:00
Dermot Duffy 0d7c20b550 Add 'image' view. 2021-10-16 21:02:07 -07:00
Dermot Duffy 3c20352891 Merge pull request #130 from dermotduffy/live-buffer
Add option to allow live view to preload in the background (live_preload)
2021-10-16 15:52:33 -07:00
Dermot Duffy 8f86e7fcd7 Add live preload option. 2021-10-16 15:39:32 -07:00
Dermot Duffy 83641ca6a7 Merge pull request #120 from JonGilmore/patch-1
Fix docs typo ("brower" -> "browser")
2021-10-11 22:09:55 -07:00
Dermot Duffy 71e2fc41be Merge pull request #123 from dermotduffy/fix-jsmpeg
Fix occasional JSMPEG rendering bug
2021-10-11 21:30:34 -07:00
Dermot Duffy a14fc51aaa Don't destroy the player when the node is disconnected (temporarily). 2021-10-11 21:27:03 -07:00