a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by user-inactivated
user-inactivated  ·  3674 days ago  ·  link  ·    ·  parent  ·  post: MediaCrush: open-source site for hosting images/audio/video

I love it! Thank you so much for the 50 MB limit. The GIF conversion is genius. I hope this takes off, I'll definitely be showing it around.

I did find an interesting bug. https://mediacru.sh/S4EDlJ1OaSQH





SirCmpwn  ·  3674 days ago  ·  link  ·  

I'm not sure what I'm looking at here?

user-inactivated  ·  3674 days ago  ·  link  ·  

On the right side example on the About page, you can hover over the converted GIF. When you click "direct link," it opens up a new frame (where the converted GIF used to be) in which the home page is displayed. I then clicked on the About page from within this frame, and navigated to the converted GIF once more.

I used the frame which was used for displaying the converted GIF to navigate to the converted GIF once more, just inside the original GIF frame.

Ugh, I completely botched that explanation. Calling mk & insomniasexx for help explaining.

insomniasexx  ·  3673 days ago  ·  link  ·  

delta - your explanation wasn't too bad. It looks like you've managed to do things you shouldn't do inside the iFrame. This is fairly common when there are links inside of an iFrame.

SirCmpwn, it's on this page: https://mediacru.sh/about - click direct download link within the right iFrame. It allows you to load the entire MediaCrush site again in the iFrame.

I opened an iFrame in an iFrame in an iFrame in an iFrame. Hehe

Since you (luckily) have access to the content the iFrame is loading, I would add a target="_top" to the links. This will open the link at the top level of all defined framesets. I've never used _top (only _blank) but this seems like what it was meant to be used for. Hypothetically, if the "direct download" link is in the main body, it'll open in that tab still. If it isn't, it'll open in the parent. Let me know how it works out.

SirCmpwn  ·  3672 days ago  ·  link  ·  

Got this fixed, thanks for the detailed explanation.

SirCmpwn  ·  3673 days ago  ·  link  ·  

Thanks for the tip! That does appear to be the issue, I'll look into it.