edemaine / comingle

Multiroom meeting app integrating web tools
MIT License
44 stars 8 forks source link

Ideas for un-iframables #126

Open edemaine opened 3 years ago

edemaine commented 3 years ago
seantrace commented 3 years ago

X-Frame-Bypass might help in some cases if you are happy with using such a workaround. It appears to only work in Chrome and Firefox however. (It did not work for Zoho Slide Broadcast links :-( ). Anyone know of any other slide presentation synchronization options which might work with comingle?

edemaine commented 3 years ago

@seantrace Thanks for the pointer to X-Frame-Bypass. Using a CORS proxy looks like a promising approach! I'll have to experiment with it. (And for Comingle we shouldn't actually need custom built-in HTML elements, so should be able to work on all modern browsers.)

Regarding slides, see #116. In particular, slides.com seems to embed fine in current Comingle.

seantrace commented 3 years ago

@edemaine Interested to hear how your experiments go. I was looking for a slides solution which enabled the presenter to step through the deck and for all sharing viewers to be kept in sync (maybe with option to manually drop out of sync and then hit a catch-up/resync button).

seantrace commented 3 years ago

Looks like I need to read all the issues! I thought you might be interested that I had some success removing CORS with CORSflare. Zoho Show Broadcast has some nasty CORS checking JS code which breaks it!

mehtank commented 3 years ago

A quick but mostly effective hack for your second bullet point above:

https://github.com/edemaine/comingle/blob/2694ff95d20b6ee5dc1c8efe2a912fd21a1026b7/client/TabIFrame.coffee#L50

Can be replaced by checking if the url ends with .pdf and using <embed width="100% height="100%"> instead of