Skip to content

Pinch & Zoom on Advanced Camera Card snaps back #232

@jlacivita

Description

@jlacivita

Using VACA 0.11.3
Issue occurs with "Swipe to refresh" enabled or disabled

Steps

  1. use this card in your Camera view on your View Assist dashboard
  2. Load the card via View Assist command
  3. Wait for video to load (you'll have to put your own camera id in... card is hard coded to a camera)
  4. Use two fingers to zoom in on the stream

Results

Stream zooms in while figures are done, snaps back to normal size once you release

Zooming with this card works in Fully Kiosk, Remote Assist Display, and Safari Desktop & iPad.

Here's the YAML:

            type: custom:advanced-camera-card
            card_mod:
              style: ''
            cameras:
              - camera_entity: 'camera.test'
                live_provider: go2rtc
                go2rtc:
                  modes:
                    - webrtc
            media_viewer:
              controls:
                builtin: false
                wheel: false
                enabled: false
            menu:
              style: hidden
              position: top
              alignment: left
              buttons:
                microphone:
                  enabled: false
                  permanent: false
                mute:
                  enabled: true
                  permanent: true
                iris:
                  enabled: false
                cameras:
                  enabled: false
                substreams:
                  enabled: false
                live:
                  enabled: false
                clips:
                  enabled: false
                snapshots:
                  enabled: false
                recordings:
                  enabled: false
                folders:
                  enabled: false
                download:
                  enabled: false
                camera_ui:
                  permanent: true
                fullscreen:
                  permanent: false
                  enabled: false
                timeline:
                  enabled: false
                media_player:
                  enabled: false
                display_mode:
                  permanent: false
                  enabled: false
            status_bar:
              style: none
            live:
              zoomable: true
              transition_effect: none
              controls:
                thumbnails:
                  mode: none
                builtin: false
                next_previous:
                  style: none
                wheel: false
              microphone:
                mute_after_microphone_mute_seconds: 60
              preload: false
              show_image_during_load: false
              auto_unmute:
                - visible
                - selected
            view:
              keyboard_shortcuts:
                ptz_left:
                  key: ArrowLeft
                ptz_right:
                  key: ArrowRight
                ptz_up:
                  key: ArrowUp
                ptz_down:
                  key: ArrowDown
                ptz_zoom_in:
                  key: +
                ptz_zoom_out:
                  key: '-'
                ptz_home:
                  key: h

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions