Open edemaine opened 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?
@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.
@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).
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!
A quick but mostly effective hack for your second bullet point above:
Can be replaced by checking if the url ends with .pdf and using <embed width="100% height="100%"> instead of
fetch
can reliably predict (at least with no false negatives) whether a page can be<iframe>
d.<img>
orpdf.js
). I imagine some websites allow embedding of images but don't allow iframing them — should check. This could also let us manipulate the contents, though I'm not sure what we'd want — perhaps synchronized scrolling through PDFs, or seeing each other's cursors to point at those images/PDFs (though that starts to sound like embedding the PDF in Cocreate).