Hide screenshot button if it can't be used

Created on 22 April 2022, about 2 years ago
Updated 30 May 2023, about 1 year ago

Problem/Motivation

The MediaDevices API is not always available, for example if the website does not use HTTPS.
However, the user can still click on the screenshot button so it is confusing.

Steps to reproduce

  1. Enable the module on a non-HTTPS website.
  2. Try to add a screenshot.
  3. It does not work.

Proposed resolution

The button should be hidden if the functionality is not available.

✨ Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024