Skip to content

Resolving GeoGebra Notes Integration Issue: Camera Access in iFrames #12121

@dj4oC

Description

@dj4oC

JIRA: #OCISDEV-50

Background:

We are integrating GeoGebra Notes as an external app into ownCloud Infinite Scale. During testing, it was identified that the camera functionality does not work as expected. The issue stems from the missing allow="camera" attribute in the <iframe> where GeoGebra Notes is loaded.

Technical Context:

The relevant code can be found here:
App.vue Line 2-8

To enable camera functionality in GeoGebra Notes, we need to modify the allow attribute of the <iframe> tag to include camera. This change ensures that the browser grants the required permission to GeoGebra Notes for accessing the camera.

Action Plan:

  1. Update Code:
    Add allow="camera" to the iframe in the App.vue file of the web-app-external package.
<iframe
  :src="app.url"
  :sandbox="app.sandbox"
  allow="camera"
  frameborder="0"
  class="web-app-external"
></iframe>
  1. Testing:
  • Verify that the camera functionality works as intended in GeoGebra Notes after applying the change.
  • Test the impact of adding the camera attribute on security and compliance policies.
  • Ensure other iframe functionalities are not adversely affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions