Commit Graph
47 Commits
Author SHA1 Message Date
Dermot Duffy 7dc29865b8 chore: Enforce consistent type imports via @typescript-eslint/consistent-type-imports (#2545) 2026-06-30 17:45:13 -07:00
Dermot Duffy a96dc2e863 chore: Enforce import order via @ianvs/prettier-plugin-sort-imports (#2542) 2026-06-30 17:45:13 -07:00
Dermot Duffy 921d45e577 chore: Enforce a few house rules via eslint (#2539) 2026-06-30 17:45:13 -07:00
Dermot Duffy bc366626f1 refactor: Refactor media loading manager for improved robustness (#2464) 2026-06-30 17:45:12 -07:00
Dermot Duffy 47bcce93d3 feat: Add hardened error handling and retries (#2451)
- Closes #1830
 - Closes #2099
2026-06-30 17:45:12 -07:00
Dermot Duffy 0a67df9a25 refactor: Convert protected methods to private (#2358) 2026-02-19 20:47:59 -08:00
Dermot Duffy 3b77b11196 fix: Increase reliability of media auto actions (e.g. play) (#1934)
Refactors media player handling entirely to make the code more
consistent and less boilerplate. Add testing for media player actions.

- Closes #1921
- Closes #1916
2025-03-03 20:59:01 -08:00
Dermot Duffy cc376a8be1 feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
2025-02-06 19:32:32 -08:00
Dermot Duffy 3e8e688b36 feat: Add basic fullscreen support for iPhone (#1857)
- Closes #1444
2025-01-27 07:23:07 -08:00
Dermot Duffy dab9ff3045 fix: Substantially reduce cases where errors block whole card (#1764) 2024-12-15 20:39:18 -08:00
Dermot Duffy 030b1e7a78 fix: Adapt ha-hls-player patch to HA 2024.11 code (#1679)
* Adapt `ha-hls-player` patch to HA `2024.11` code.

* Add the poster back in
2024-11-27 15:13:22 -08:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy e12912fa85 Add out-of-the-box Frigate PTZ support. 2023-10-29 14:10:41 -07:00
Dermot Duffy 39b985b4df Add screenshot support. 2023-06-16 19:36:45 -07:00
Dermot Duffy 5a67c8bc2e Fix zoom in Firefox and Safari. 2023-05-22 20:37:18 -07:00
Dermot Duffy 972a0999fb Allow default media controls to be hidden. 2023-05-14 20:00:23 -07:00
Dermot Duffy 8365b43c04 Add play/pause/mute/unmute Frigate card commands. 2023-05-11 20:25:40 -07:00
Dermot Duffy d63a1de042 Only show the microphone button when the loaded media supports 2-way audio. 2023-05-07 16:47:02 -07:00
Dermot Duffy 705afaca99 Add initial zoom support. 2023-04-22 16:32:11 -07:00
Dermot Duffy e1d74dc35a Enable smooth panning between past/live. 2023-04-09 19:23:34 -07:00
Dermot Duffy 304c7e3164 Initial motionEye commit. 2023-03-26 16:42:21 -07:00
Dermot Duffy 352cbd0c79 Do not show ha live provider errors unless they are fatal. 2023-03-04 15:46:53 -08:00
Dermot Duffy 732099b6d0 Automatically mute if autoplay is blocked. 2023-02-18 14:28:59 -08:00
Dermot Duffy cebdf9a789 Add hiding controls to native webrtc player (oops) 2022-10-11 22:00:22 -07:00
Dermot Duffy 3707917903 Hide video controls briefly on media load. 2022-10-10 20:00:51 -07:00
Dermot Duffy eb1b44eb27 Initial mini-timeline commit. 2022-09-22 17:44:43 -07:00
Dermot Duffy a9c600523c Add ability to change media layout. 2022-08-11 21:29:04 -07:00
Dermot Duffy ffa31c05ed Clean lit-plugin warnings 2022-06-19 07:30:08 +00:00
Dermot Duffy 7ebada9aa5 Initial draft of recordings support. 2022-06-04 11:04:38 -07:00
Dermot Duffy 6b30487229 Initial common.js refactor. 2022-05-12 20:42:02 -07:00
Dermot Duffy cf87e8543a Don't use createRef for patched players. 2022-05-10 12:38:05 -07:00
Dermot Duffy d552cf1a0d Implement auto_mute . 2022-05-08 08:05:33 -07:00
Felipe Santos 07636710c8 Refresh dependencies and fix warnings 2022-03-06 17:40:46 -03:00
Dermot Duffy 65b0ed987e Fixes for native WebRTC support. 2022-02-07 20:58:01 -08:00
Dermot Duffy 632569b1ef Add auto unmute support. 2022-02-01 20:40:34 -08:00
Dermot Duffy ea9d3b4809 Separate timeout_seconds from refresh_seconds . 2022-01-23 21:01:55 -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 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 6c03934656 Thumbnail carousel initial draft 2021-11-22 17:07:33 -08:00
Dermot Duffy 6ec4ad067e Fix media loading to work for HA >= 2021.11 2021-10-30 01:00:25 -07:00
Dermot Duffy 66ae262654 Implement downloading and correct MediaShow events in carousel. 2021-10-29 16:36:36 -07:00
Dermot Duffy e5b1deb334 Various build extension fixes. 2021-10-24 07:57:28 -07:00
Dermot Duffy 7c0e0133ee Fullscreen improvements (esp. portrait media) 2021-09-26 14:05:06 -07:00
Dermot Duffy 3d22dcb686 Add play/pause event support. 2021-09-23 23:10:30 -07:00
Dermot Duffy e3ccbb0787 Dynamically extract dimensions from loaded media. 2021-09-23 20:38:39 -07:00