nextcloud / external

šŸŒ Embed external sites in your Nextcloud
https://apps.nextcloud.com/apps/external
GNU Affero General Public License v3.0
110 stars 31 forks source link

Feature: Allow iframe options #186

Open solracsf opened 4 years ago

solracsf commented 4 years ago

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.

nickvergessen commented 4 years ago

Instead you could use the redirect option

solracsf commented 4 years ago

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

Ludovicis commented 4 years ago

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

krakazyabra commented 3 years ago

Hello. Is there some update for this question?

rtest12 commented 2 years ago

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

MoritzDPTV commented 1 year ago

Is there a solution to this issue yet?

ddm231 commented 1 year ago

Hey,

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

provokateurin commented 1 year ago

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.