Allow iframe options
Problem:
- Create link to a website that needs camera permission
- Permission will not be allowed as the
<iframe>link does not contain theallow=""option.
For now, we've simply manually added it to https://github.com/nextcloud/external/blob/89d01a76290e0db8209b70a80a6fd9417353deee/templates/frame.php#L29
Like https://github.com/nextcloud/external/issues/143
but an option could be to insert a simple checkbox on the params like
'Allow camera and microphone? [x]' that would add allow="camera;microphone" into that line if checked.
I think these two are the most common options.
Instead you could use the redirect option
Sure, if only i didn't wish to have the webpage embed š
Hello,
For BigBlueButton for exemple:
<iframe id="ifm" src="<?php p($_['url']); ?>" allow="camera;microphone;geolocation;display-capture"; allowfullscreen></iframe>
display-capture for screen share
Hello. Is there some update for this question?
<iframe id="ifm" src="<?php p($_['url']); ?>" allow="camera; microphone; fullscreen; display-capture; autoplay"; allowfullscreen></iframe>
For some reason it didn't work for me...
Is there a solution to this issue yet?
Hey,
Iām looking for a solution, too. I want to make it easy for my users, joining a video conference.
Hi everyone, sorry that this has not been implemented yet. Please take a look at https://github.com/nextcloud/external/pull/238#issuecomment-1685837994 where I outlined what needs to be done to have this implemented.