Commit Graph
100 Commits
Author SHA1 Message Date
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
Dermot Duffy a0a3a686c1 Merge pull request #119 from dermotduffy/bump
Bump version to v1.2.0 .
2021-10-10 21:22:33 -07:00
Dermot Duffy 9d67f1d396 Bump version to v1.2.0 . 2021-10-10 21:13:59 -07:00
Dermot Duffy 7511db78fa Merge pull request #118 from dermotduffy/preview
Add card preview to HA visual card picker
2021-10-10 20:56:08 -07:00
Dermot Duffy 86644475ad Add preview rendering to HA card picker (looks great!) 2021-10-10 20:52:49 -07:00
Dermot Duffy 7d013d27ad Merge pull request #117 from dermotduffy/birdseye
Add support for birdseye mode
2021-10-10 20:31:08 -07:00
Dermot Duffy 0829bc13e7 Correct capitalization. 2021-10-10 20:26:04 -07:00
Dermot Duffy bb9c27e34c Add birdseye support. 2021-10-10 20:21:21 -07:00
Dermot Duffy da2508de21 Merge pull request #116 from dermotduffy/avoid-double-render
Improve initial live camera load time
2021-10-10 16:57:00 -07:00
Dermot Duffy b5342b036a Improve initial live camera load time. 2021-10-10 16:51:46 -07:00
Dermot Duffy 5fc9e62cef Merge pull request #115 from dermotduffy/improved-errors
Slightly improve configuration error messages
2021-10-10 13:49:54 -07:00
Dermot Duffy ff4efb07d1 Slightly improve error path readability. 2021-10-10 13:44:48 -07:00
Dermot Duffy 75159d150f Merge pull request #113 from dermotduffy/ios
Add warning about lack of iPhone fullscreen support
2021-10-10 09:31:27 -07:00
Dermot Duffy 0922392782 Add warning about lack of iPhone fullscreen support. 2021-10-10 09:29:11 -07:00
Dermot Duffy 45edc8943a Merge pull request #111 from dermotduffy/elements
Add full picture elements support
2021-10-09 23:55:04 -07:00
Dermot Duffy 3c8681c17f Clarify the role of update_entities. 2021-10-09 23:51:26 -07:00
Dermot Duffy 7f76543bbd Add frigate-card-conditional element to select views. 2021-10-09 23:33:54 -07:00
Dermot Duffy 9a915af390 Better integrate elements into stock HA custom element support. 2021-10-09 15:52:52 -07:00
Dermot Duffy 49455ab741 Add picture elements support. 2021-10-07 21:16:16 -07:00
Dermot Duffy 639e2cddfd Update README. 2021-10-07 21:15:10 -07:00
Dermot Duffy 4f8e21a0b0 Rework menu to use elements. 2021-10-07 21:15:10 -07:00
Dermot Duffy c1f00d7e14 Merge pull request #107 from dermotduffy/jsmpeg-broken
Fix automatic camera name detection for JSMPEG live  rendering
2021-10-07 20:49:55 -07:00
Dermot Duffy 8cf460fdb7 Pass through correct camera name. 2021-10-07 20:47:05 -07:00
Dermot Duffy 1286f7a473 Merge pull request #99 from dermotduffy/v1.1.0
Clicking on a snapshot should search for a related clip (not a related snapshot!)
2021-10-02 12:02:04 -07:00
Dermot Duffy 807d65a852 Merge pull request #98 from hunterjm/patch-1
Clicking on a snapshot should search for a related clip (not a related snapshot!)
2021-10-02 11:40:28 -07:00
Dermot Duffy 7f48a4b62a Merge pull request #95 from dermotduffy/excp-in-logs
Fix card for bleeding edge HA frontend versions and improve fullscreen logic
2021-10-01 20:20:48 -07:00
Dermot Duffy e5565f964b Actually call _elementResized if available. 2021-10-01 20:17:50 -07:00
Dermot Duffy 3c10b329a2 Better fullscreen logic and HA frontend fix. 2021-09-30 22:46:10 -07:00
Dermot Duffy 6f65f3796e Merge pull request #88 from dermotduffy/v1.1.0
Bump version to v1.1.0 .
2021-09-28 19:53:08 -07:00
Dermot Duffy 30b6424b78 Bump version to v1.1.0 . 2021-09-28 19:48:37 -07:00
Dermot Duffy b4212ff7f2 Update README.md 2021-09-28 19:39:29 -07:00
Dermot Duffy d417ea6675 Merge pull request #86 from dermotduffy/camera-names
Much improved auto-detection of frigate camera name
2021-09-26 21:02:27 -07:00
Dermot Duffy 7cd4e75fb1 Terse rollup. 2021-09-26 20:57:25 -07:00
Dermot Duffy 725cd615cf Update README text. 2021-09-26 20:55:12 -07:00
Dermot Duffy 423bd9fd2b Initial attempt to get camera name from entity unique_id. 2021-09-26 20:36:54 -07:00
Dermot Duffy 70ffc0364d Merge pull request #85 from dermotduffy/fullscreen-button
Add fullscreen mode
2021-09-26 14:29:05 -07:00
Dermot Duffy bdb211fafb Change columns to Lit state() 2021-09-26 14:22:15 -07:00
Dermot Duffy 7c0e0133ee Fullscreen improvements (esp. portrait media) 2021-09-26 14:05:06 -07:00
Dermot Duffy 2ab4e064f4 Update README and minor Safari fix. 2021-09-25 16:16:31 -07:00
Dermot Duffy 455be5b0c3 Have the gallery take better advantage of fullscreen mode. 2021-09-25 15:44:35 -07:00
Dermot Duffy 3b6f9dbacc Initial fullscreen functionality. 2021-09-25 10:57:23 -07:00
Dermot Duffy 6d88009ce7 Merge pull request #83 from dermotduffy/arbitrary-aspect-ratios
Support arbitrary camera aspect ratios (dynamic, static or constrained)
2021-09-24 19:28:37 -07:00
Dermot Duffy f9cd424388 Replace accidental Python variable naming convention. 2021-09-24 07:48:57 -07:00
Dermot Duffy fee4d209c9 Add a code comment on the pains of media callbacks. 2021-09-24 07:45:58 -07:00
Dermot Duffy 32cc7d1a70 README fix. 2021-09-24 07:38:41 -07:00
Dermot Duffy 413f152d10 Formatting tweaks. 2021-09-24 07:32:47 -07:00
Dermot Duffy 3d22dcb686 Add play/pause event support. 2021-09-23 23:10:30 -07:00
Dermot Duffy 1ff0cdf621 Add documentation for aspect-ratio options. 2021-09-23 22:13:47 -07:00
Dermot Duffy bc0198d242 Add aspect ratio editing. 2021-09-23 21:48:44 -07:00
Dermot Duffy ea71a2ed4b Add an unconstrained aspect ratio mode. 2021-09-23 21:14:21 -07:00
Dermot Duffy e3ccbb0787 Dynamically extract dimensions from loaded media. 2021-09-23 20:38:39 -07:00
Dermot Duffy 5a4a98d92b Clairfy what /hacsfiles/ is
* Closes #81
2021-09-23 19:37:35 -07:00
Dermot Duffy c75e99e09c Merge pull request #80 from dermotduffy/lit-refactor
Refactor card into multiple separate Lit webcomponents
2021-09-21 18:36:13 -07:00
Dermot Duffy 4ac69a951c CSS changes for Safari & cleanups 2021-09-21 12:47:15 -07:00
Dermot Duffy d02f760793 Improve CSS encapslation (Chrome). 2021-09-20 22:37:08 -07:00
Dermot Duffy 49cbff9b36 Minor main card tidyup. 2021-09-20 21:47:00 -07:00
Dermot Duffy 3a084ec2b1 Sort imports. 2021-09-20 21:33:37 -07:00
Dermot Duffy 8d639fb6fe Convert live to a Lit element. 2021-09-20 21:33:37 -07:00
Dermot Duffy 6498ae22cd Convert viewer to Lit component. 2021-09-20 21:33:37 -07:00
Dermot Duffy 9bbf46d4a5 Move gallery to component. 2021-09-20 21:33:37 -07:00
Dermot Duffy 023c66b137 Convert menu to a separate component file. 2021-09-20 21:33:37 -07:00
Dermot Duffy 63a5a93eeb Componentize messages, error messages and progress indicator. 2021-09-20 21:33:37 -07:00
Dermot Duffy e4f07ac50d Add old-school manual installation instructions
* Closes #79
2021-09-20 21:31:42 -07:00
Dermot Duffy 42775f6917 Merge pull request #73 from dermotduffy/webrtc-improvements
Improve documentation & editing support for WebRTC
2021-09-12 17:02:36 -07:00
Dermot Duffy 2e0bb6e74d Remove superfluous asterisks. 2021-09-12 17:01:12 -07:00
Dermot Duffy cab9460599 Improve documentation & editing for WebRTC. 2021-09-12 16:58:28 -07:00
Dermot Duffy 5dfc7a7208 Merge pull request #72 from dermotduffy/jsmpeg
Support live JSMPEG view [requires integration upgrade]
2021-09-12 15:48:30 -07:00
Dermot Duffy 04131ec363 Make function name slightly more intuitive. 2021-09-12 15:46:41 -07:00
Dermot Duffy 9a8d0803c8 Add comment explaining odd choice of Promise usage. 2021-09-12 15:41:20 -07:00
Dermot Duffy f9ea435586 Support live JSMPEG view. 2021-09-12 15:36:41 -07:00
Dermot Duffy 4da2a5b82a Merge pull request #68 from dermotduffy/hover-menu
Add support for a 'hover-*' menu
2021-09-08 21:03:30 -07:00
Dermot Duffy 0e8e0d38c5 Add support for a 'hover' menu. 2021-09-08 20:58:01 -07:00
Dermot Duffy 632fdb0079 Merge pull request #66 from dermotduffy/bump-version
Bump version to v1.0.1 .
2021-09-07 21:27:16 -07:00
Dermot Duffy a675601ad1 Bump version to v1.0.1 . 2021-09-07 21:24:47 -07:00
Dermot Duffy b78fd56d14 Merge pull request #64 from dermotduffy/scrollbars-and-css-messy
Refactor CSS to force aspect ratio and avoid scrollbars
2021-09-07 21:23:00 -07:00
Dermot Duffy 6995e581ee Force media to 100% width. 2021-09-07 21:17:41 -07:00
Dermot Duffy c9319b42f5 Tie the absolute to the outer container.
Remove use of aspect-ratio since it does not work in Safari.
2021-09-07 20:55:18 -07:00
Dermot Duffy d62e99836f Wrap content in a 16/9 container. 2021-09-06 21:20:15 -07:00
Dermot Duffy 90807be6f7 Refactor css. 2021-09-06 20:43:13 -07:00
Dermot Duffy c1f8558406 Merge pull request #63 from dermotduffy/wrong-next-prev
Ensure thumbnails show when no next/previous control preference is specified
2021-09-06 19:00:56 -07:00
Dermot Duffy 183e68bb76 Ensure thumbnails show when no nextprev preference is specified. 2021-09-06 18:58:36 -07:00
Dermot Duffy 0e8c75109b Merge pull request #62 from dermotduffy/minor-refactor
Minor rendering refactor
2021-09-06 17:12:34 -07:00
Dermot Duffy 8a09f356c2 Minor rendering refactor. 2021-09-06 17:10:34 -07:00
Dermot Duffy aecbbc27bd Merge pull request #59 from dermotduffy/controls
Allow next/prev controls to be thumbnails, chevrons or off entirely
2021-09-06 16:07:14 -07:00
Dermot Duffy 7bd7731811 Allow chevrons, thumbnails or no media controls. 2021-09-06 16:03:51 -07:00
Dermot Duffy 2fa928467e Add option to disable next/prev controls. 2021-09-05 22:41:12 -07:00
Dermot Duffy fb906a6aaf Merge pull request #58 from dermotduffy/fix-clip-error
Use a classic video tag if it's not HLS
2021-09-05 21:39:18 -07:00
Dermot Duffy 45fef4676c Use a classic video tag if it's not HLS. 2021-09-05 21:33:32 -07:00
Dermot Duffy 199a4b8bce Merge pull request #54 from dermotduffy/bug
Use bug icon for bugs
2021-09-05 14:19:16 -07:00
Dermot Duffy a904ced354 Use bug icon for bugs. 2021-09-05 14:17:05 -07:00
Dermot Duffy 27db2a73c9 Merge pull request #53 from dermotduffy/titles-in-viewer
Show event titles in viewer for reference
2021-09-05 14:03:47 -07:00
Dermot Duffy 4bbbd02afe Add event titles to viewer for reference. 2021-09-05 14:00:04 -07:00
Dermot Duffy 55e2199e69 Merge pull request #52 from dermotduffy/safari
Fix gallery scrolling in Safari
2021-09-05 10:51:05 -07:00
Dermot Duffy 4303982b27 Don't force scroll. 2021-09-05 10:43:02 -07:00
Dermot Duffy 9d26c22776 Fix gallery scrolling in Safari 2021-09-05 10:33:09 -07:00