-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedding YouTube in a collaborative session doesn't seem to work #49
Comments
Can you try the same actions in the official excalidraw (https://excalidraw.com/) and give more informations. |
On excalidraw.com it seems to work just fine. I could perhaps open up for you to use my excalidraw install so you could start a shared session and try to embed for instance a YouTube url and see what happens? Not sure if private messages is possible on github so I could give you the url to access it on? Also, an option to whitelist more URL's to allow embedding from would be nice. Seems to be handled here in the application excalidraw/excalidraw#6917. I have tried looking in the container for the excalidraw source code to try and simply edit it but I actually can't find it :) |
What happens on my installation is that a GET request is made to the storage container to api/v2/rooms/0c61b6ff46f3f9db55fb with status 200. Then that is immediately followed by a PUT request to the same url /api/v2/rooms/0c61b6ff46f3f9db55fb with status 200 which is directly followed by a request to YouTube for the embedded video (almost like it runs the code to embed it again) which makes everything flicker. Then a few seconds go by and the same thing repeats itself. This goes on for ever or until you select and delete the embedded video. |
You can try this demo site ( https://excalidraw-production-4d27.up.railway.app/ ), the demo site is construct from this repo. I think your problem is related to the deployed configuration, not the white sites list. |
I got "Application failed to respond" from that URL. |
Any snapshot?
Daniel Liljeberg ***@***.***>于2024年2月16日 周五03:06写道:
… I got "Application failed to respond" from that URL.
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABXR2WO4K2K4VXBAPYMBVTYTZMDJAVCNFSM6AAAAABC6MQ7GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWHE4TQNBYGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have managed to get things up and running behind Traefik 2.
I run the main application on excalidraw.mydomain.com, the storage backend is replying to excalidraw.mydomain.com/storagehandler/... (to quickly get around CORS I have Traefik enforcing) and the rooms are running on excalidrawrooms.mydomain.com, since that didn't seem to like being on a path under the main domain.
I can collaborate, paste images that are stored correctly to the storage backend and shown to the collaborators etc.
But if I take a YouTube URL and paste it I get a never ending flow of
If I'm not in a collaborative session this does not happen and the preview shows up fine.
The text was updated successfully, but these errors were encountered: