-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Copy link
Description
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:
- 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>
- 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
Labels
No labels
Type
Projects
Status
Done