Skip to content
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

Embedded Video Links Wont Close #147

Open
mikekalas opened this issue Nov 21, 2021 · 3 comments
Open

Embedded Video Links Wont Close #147

mikekalas opened this issue Nov 21, 2021 · 3 comments

Comments

@mikekalas
Copy link

Hello Friends,

I noticed a problem with links for embedded videos such as one like this:

Why food prices are rising in the United States - CNBC - VIDEO

<<iframe width=560 height=349 src=https://player.cnbc.com/p/gZWlPC/cnbc_global?playertype=synd&byGuid=7000209069 frameborder=0 scrolling=no allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen ></iframe>>

If I were to save the link with the embed code the video is displayed in the mind map. But the video being displayed has no x button to close the window. Nor is there an option to close the window by right clicking. And then once you click on the video in the mind map, the video window sticks to the cursor, follows the cursor around the screen, and then you can't click on anything else.

If there's one person who can find a way to break something its me. : ) Hope at least I can help reveal a problem that can potentially be fixed.

Cheers, and Good Luck!

Mike

@ondras
Copy link
Owner

ondras commented Nov 21, 2021

Hi @mikekalas,

thanks for the bugreport. I am somewhat puzzled by your description; would you be so kind and provide a sample Mind Map that showcases the issue? Or at least some step-by-step instructions to replicate the problematic behavior.

@mikekalas
Copy link
Author

Hmm. now I tried it again and it doesn't seem to be happening and everything is working okay. But I swear I wasn't hallucinating and previously when I clicked on a video it would be stuck to the cursor and would move all around the screen not letting me unclick. Could be a glitch on my end, i'm usually the xfactor.

I was using Freemind and I copied a section of my mind map from Freemind and pasted it into Mymind. I noticed the problem occurred when pasting a hyperlink that has an embed code for a video as opposed to a traditional URL to a webpage. And it happened in the initial editing environment before saving the mindmap.

So the steps would be to start a mindmap in Freemind, make a new node, then hit ctrl+k to turn that node into a hyperlink, then paste an embed code as opposed to a URL, then copy and paste the node hyperlinked with embed code into Mymind is how I initially encountered the problem.

But now I did it again and and the video displays properly without being glued to the cursor. Weird. If it happens again I'll let you know. Otherwise sorry to bother if its just me.

@ondras
Copy link
Owner

ondras commented Nov 22, 2021

Weird. If it happens again I'll let you know. Otherwise sorry to bother if its just me.

No problem. The steps you describe seem complex enough so it is totally possible that something gets screwed.

Generally speaking, iframe-based content is heavily restricted in browsers when the iframe's domain does not match the URL in addressbar. This is an inherent security-based limitation that cannot be really worked around. So if you run into issues regarding such foreign iframe, there is very little we can do. Interaction with this kind of content might be basically forbidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants