external icon indicating copy to clipboard operation
external copied to clipboard

Allow iframe options

Open solracsf opened this issue 5 years ago • 9 comments

Problem:

  1. Create link to a website that needs camera permission
  2. Permission will not be allowed as the <iframe> link does not contain the allow="" 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.

solracsf avatar Mar 29 '20 12:03 solracsf

Instead you could use the redirect option

nickvergessen avatar Mar 29 '20 12:03 nickvergessen

Sure, if only i didn't wish to have the webpage embed šŸŽƒ

solracsf avatar Mar 29 '20 12:03 solracsf

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

Ludovicis avatar May 14 '20 13:05 Ludovicis

Hello. Is there some update for this question?

krakazyabra avatar Apr 30 '21 21:04 krakazyabra

<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...

rtest12 avatar Jan 18 '22 21:01 rtest12

Is there a solution to this issue yet?

MoritzDPTV avatar Nov 06 '22 00:11 MoritzDPTV

Hey,

Iā€˜m looking for a solution, too. I want to make it easy for my users, joining a video conference.

ddm231 avatar Dec 11 '22 23:12 ddm231

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.

provokateurin avatar Aug 21 '23 07:08 provokateurin