Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Webcam does not show stream in partkeepr when using Firefox 62 #1002

@thomas-nilsson-irfu

Description

@thomas-nilsson-irfu

System Information

  • PartKeepr Version: 1.3.0 (but I suspect the issue is present also on 1.4.0 based on a cursory read of the source code in this repo).
  • Reproducible on the demo system: Have not tried.

How to reproduce

  • When trying to take an image from the webcam (add an image as an attachment to a part) and using Firefox 62 it does not work. There is no webcam image shown, however when running older versions of Firefox it did work.

I suspect it is down to the change described here: https://www.fxsitecompat.com/en-CA/docs/2018/url-createobjecturl-no-longer-accepts-mediastream-as-argument/
and the webcam widget (which has not changed since my installed version of 1.3.0) here:

this.video.src = window.URL.createObjectURL(stream);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions