Fullscreen browsermod

Having a little trouble with full screen in browser mod. Is it possible to fill this cctv image better?

Running latest browsermod released a few days ago

alias: Show Camera on Kiosk Main Driveway
description: ""
triggers:
  - type: motion
    device_id: 2a2e555b211fcda7a566dec5808a8c7b
    entity_id: 9ee6d9fe59b5abe4bebab40e36797357
    domain: binary_sensor
    trigger: device
  - type: motion
    device_id: 2a2e555b211fcda7a566dec5808a8c7b
    entity_id: 74a90b26f6723453d882ea1a4fecb73e
    domain: binary_sensor
    trigger: device
  - type: motion
    device_id: 2a2e555b211fcda7a566dec5808a8c7b
    entity_id: 0e2fa71ecd3a6f63878d710297ae3424
    domain: binary_sensor
    trigger: device
conditions: []
actions:
  - action: browser_mod.popup
    data:
      dismissable: true
      autoclose: false
      allow_nested_more_info: true
      size: fullscreen
      timeout: 120000
      content:
        camera_view: live
        type: picture-glance
        entities: []
        camera_image: camera.g5_turret_ultra_driveway_main_high_resolution_channel
      browser_id:
        - e63510bc6ece4c42aa3d6f9b22be7b94
mode: single

Any help appreciated thanks

Browser Mod video player uses its own popup with size: wide. There is no way to change this.

A few options.

  1. If you are ok with CSS, Stick with Browser Mod media player and use card-mod and theme to adjust the popup style for wide to fullscreen. (I.e. set a style to override wide, copying from Browser Mod own style for fullscreen which you will find inspecting any popup. This would change all wide popups.)
  2. Make your own popup with a webrtc card or other video player of choice. You can then call it with size: fullscreen.
  3. You may find that the standard more-into dialog suits better as it has a fullscreen toggle. You can use browser_mod.more_info to call more info on any browser.

A note about video and fullscreen. To get total fullscreen always requires an interaction and can’t be done in any automatic way, hence why no Browser Mod feature to do so. However others have requested so you could chime in on the Feature Request.

1 Like