Board Thread:Support Requests - Getting Technical/@comment-1158325-20130523200933/@comment-1158325-20130528045813

Thanks for the link. Trying to understand what to do with that is a little above me, though. I came up with a much simpler solution that works for me: if (window.location.search.indexOf("keepplayer=1") == -1) { $("iframe[src^='http://www.youtube.com']").remove; $('.fullImageLink').html('Click to reload with video'); }

Keeping the non-file page stuff still there determined by namespace.

I'm not really sure why I didn't just try removing it first :P. Thanks for the help anyway though, I've learned a lot over the past few days.

Edit: had to change this a bit and jump through some ridiculous jQuery hoops, but that's the basic idea.