Commit Graph
1496 Commits
Author SHA1 Message Date
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 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 cab9460599 Improve documentation & editing for WebRTC. 2021-09-12 16:58:28 -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 0e8e0d38c5 Add support for a 'hover' menu. 2021-09-08 20:58:01 -07:00
Dermot Duffy a675601ad1 Bump version to v1.0.1 . 2021-09-07 21:24:47 -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 183e68bb76 Ensure thumbnails show when no nextprev preference is specified. 2021-09-06 18:58:36 -07:00
Dermot Duffy 8a09f356c2 Minor rendering refactor. 2021-09-06 17:10:34 -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 45fef4676c Use a classic video tag if it's not HLS. 2021-09-05 21:33:32 -07:00
Dermot Duffy 4bbbd02afe Add event titles to viewer for reference. 2021-09-05 14:00:04 -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
Dermot Duffy 26f0515e5a Sort imports. 2021-09-05 09:37:34 -07:00
Dermot Duffy 5ab20a5fd9 Upgrade to lit (not lit-element / lit-html) 2021-09-05 09:33:47 -07:00
Dermot Duffy 622a358073 Bump version to v1.0.0 . 2021-09-04 15:25:29 -07:00
Dermot Duffy 70ea42ba71 Fix issue that was causing Lovelace to not spread across columns. 2021-09-04 15:00:58 -07:00
Dermot Duffy edcd3a9999 Allow menu_buttons to be optional. 2021-09-04 13:42:06 -07:00
Dermot Duffy 9d736ba166 Shrink button size slightly. 2021-09-04 13:34:11 -07:00
Dermot Duffy 524d54f803 Support no menu at all. 2021-09-04 13:02:47 -07:00
Dermot Duffy 654253d6e2 Fully localize all remaining strings. 2021-09-04 12:36:25 -07:00
Dermot Duffy cf9420402b Add support to add arbitrary entities to menu.
Breaking: No longer treat the motion entity special. It must be configured
under `entities` now.
2021-09-04 11:23:40 -07:00
Dermot Duffy 162b925889 Support hiding menu buttons. Add editor localization. 2021-09-03 22:43:06 -07:00
Dermot Duffy 64de1c53ed Add support for top, left, bottom, right menus. 2021-09-02 20:24:19 -07:00
Dermot Duffy 8adc114a1b Add control anominations for next/prev. 2021-09-01 20:53:53 -07:00
Dermot Duffy d5dc4c7bf3 Add shadow to controls. 2021-09-01 18:41:16 -07:00
Dermot Duffy 1530e365b5 Only show buttons if there are thumbnails. 2021-09-01 07:37:23 -07:00
Dermot Duffy c8788c55dc Add back button. 2021-09-01 07:34:09 -07:00
Dermot Duffy 17572160e7 Add next/prev icons on clips/snapshots. 2021-08-31 20:37:49 -07:00
Dermot Duffy 8439d5f550 Limit re-rendering to improve user experience. 2021-08-29 12:29:55 -07:00
Dermot Duffy e4108f34f6 All browsing folders in mini-gallery. 2021-08-29 12:04:59 -07:00
Dermot Duffy e0fe908357 Allow dynamic menu contents. 2021-08-28 23:35:47 -07:00
Dermot Duffy b1ab849981 Use media_browser websockets. 2021-08-28 20:56:06 -07:00
Dermot Duffy 79a6c17743 Add comment. 2021-08-27 21:55:34 -07:00