Title: Experimental YouTube video popup code installed Post by: Trippy on July 24, 2007, 03:52:48 AM There is now some experimental JavaScript code running on the site that will open up a "window" (it's not a real browser window) when you click on a YouTube link. This eliminates the need to go to the YouTube site and load in all the other crap just to view the video. You can still go to YouTube if you do whatever command it is in your browser to open up a link in a new tab or window or you can use the LINK link in the popup window itself.
This code may cause issues including crashing your browser so try it at your own risk (I already found one OS X Firefox crash bug that I had to workaround). If you do have a problem post the browser and version number and the OS you are using and I'll try to figure out what's going on. Title: Re: Experimental YouTube video popup code installed Post by: Ironwood on July 24, 2007, 04:11:14 AM Hmm, Nice.
Title: Re: Experimental YouTube video popup code installed Post by: CmdrSlack on July 24, 2007, 09:24:54 AM So I just tried viewing a video link in the Atlanta Falcons thread...I didn't get a browser crash, but I did get some strange artifacting in the video window that would clear up in a second or two. I then tried to view it directly at the youtube site and it looked fine.
Either way, pretty nifty how it works. Title: Re: Experimental YouTube video popup code installed Post by: MrHat on July 24, 2007, 09:25:39 AM Ah, is that how it works? Off to edit that post then.
Title: Re: Experimental YouTube video popup code installed Post by: Engels on July 24, 2007, 09:56:56 AM Hmm, just tried a few YouTube links in the Useless Video thread, and I'm getting the full YouTube site when clicking on them. Does one have to use embedded YouTube video links instead of a link to the page itself?
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 24, 2007, 02:47:38 PM As I said above if you guys are having issues I need browser, browser version and OS info.
So I just tried viewing a video link in the Atlanta Falcons thread...I didn't get a browser crash, but I did get some strange artifacting in the video window that would clear up in a second or two. I then tried to view it directly at the youtube site and it looked fine. If you are using Firefox trying quitting FF and restarting it.Hmm, just tried a few YouTube links in the Useless Video thread, and I'm getting the full YouTube site when clicking on them. Does one have to use embedded YouTube video links instead of a link to the page itself? Clear your browser cache and try it again.Title: Re: Experimental YouTube video popup code installed Post by: Tale on July 24, 2007, 03:02:36 PM As a person making my own videos for YouTube, I'd just like to encourage people to load the actual video page if you see an original video you like. Give it a rating out of five and leave a comment on it.
Community is the soul of YouTube for everyone who is actually making their own stuff (rather than posting other people's copyrighted crap). Having people leave positive comments, ratings and video responses is rewarding. Otherwise you're just adding view count +1 and the person doesn't know whether people liked or disliked their work. You can still get to the video's actual YouTube page by clicking anywhere on the pop-up while it's playing, or by clicking the word "LINK" at the top right. Thanks. Title: Re: Experimental YouTube video popup code installed Post by: Phildo on July 24, 2007, 05:04:04 PM Not a major issue, but when I try to close one of the windows in Firefox, AdBlock keeps popping up and getting in the way of it. Have to be very, very precise in order to close the windows. Mac OSX, btw.
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 24, 2007, 05:40:59 PM Not a major issue, but when I try to close one of the windows in Firefox, AdBlock keeps popping up and getting in the way of it. Have to be very, very precise in order to close the windows. Mac OSX, btw. Are you using AdBlock to block Flash files on f13.net?Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 24, 2007, 05:42:12 PM Hmm, just tried a few YouTube links in the Useless Video thread, and I'm getting the full YouTube site when clicking on them. Does one have to use embedded YouTube video links instead of a link to the page itself? Clear your browser cache and try it again.Title: Re: Experimental YouTube video popup code installed Post by: Tale on July 24, 2007, 07:58:51 PM btw http://www.youtubedoubler.com/ :)
Title: Re: Experimental YouTube video popup code installed Post by: Engels on July 24, 2007, 09:05:56 PM Hmm, just tried a few YouTube links in the Useless Video thread, and I'm getting the full YouTube site when clicking on them. Does one have to use embedded YouTube video links instead of a link to the page itself? Clear your browser cache and try it again.Hmm, tried both those things, but no luck. No big deal to me. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 24, 2007, 09:11:50 PM Still have no idea what browser or OS you are using. Also what links are you clicking on?
Title: Re: Experimental YouTube video popup code installed Post by: squirrel on July 24, 2007, 09:16:11 PM Works fine for me in:
OS X Safari 3.0.2 OS X Firefox 2.0.0.5 WinXP IE 7 I like it, makes Useless Videos even better :-D EDIT: OS X 10.4.9 XPSP2 Title: Re: Experimental YouTube video popup code installed Post by: Engels on July 24, 2007, 11:02:39 PM Still have no idea what browser or OS you are using. Also what links are you clicking on? XP Pro, IE 7, and I'm clicking on any and all linked YouTube vids posted on the last page of Useless Videos. I didn't flush cookies, but Temp internet files, form data and passwords were flushed. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 25, 2007, 12:11:18 AM Still have no idea what browser or OS you are using. Also what links are you clicking on? XP Pro, IE 7, and I'm clicking on any and all linked YouTube vids posted on the last page of Useless Videos. I didn't flush cookies, but Temp internet files, form data and passwords were flushed.Title: Re: Experimental YouTube video popup code installed Post by: Engels on July 25, 2007, 12:16:07 AM I don't think so.
Java Plug-in 1.6.0_01 Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM That shows when I pull up the Sun Java console under Tools in IE7 Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 25, 2007, 12:22:17 AM JavaScript is not Java despite Netscape's attempts to confuse the two. Under your security settings what is Active Scripting set to?
Title: Re: Experimental YouTube video popup code installed Post by: Ironwood on July 25, 2007, 12:53:45 AM It's IE7 and XP here and it worked first time.
Latest Java version. Title: Re: Experimental YouTube video popup code installed Post by: Engels on July 25, 2007, 09:08:29 AM JavaScript is not Java despite Netscape's attempts to confuse the two. Under your security settings what is Active Scripting set to? It was set to 'Enable', at medium-high (default) settings. For a lark I lowered the security settings to 'medium', just to see if some other setting I don't know about might have blocked it, but no love. Chances are its to do with my previous problems with my flash installation. I managed to circumvent the problem by creating a virtual C drive to fool the flash player upgrade installer, but who knows if that really worked. I appreciate your efforts, but I'm clearly an anomaly here, and although I love the personalised attention, not to mention impromptu computer edumacation, your resources are probably best spent elsewhere :) Title: Re: Experimental YouTube video popup code installed Post by: Yegolev on July 25, 2007, 01:10:21 PM Worked. Firefox 2.0.0.5, XP Pro 2002 SP2.
Title: Re: Experimental YouTube video popup code installed Post by: Lantyssa on July 26, 2007, 12:12:30 PM Works with SeaMonkey 1.1.2 and 1.1.3 on XP.
Title: Re: Experimental YouTube video popup code installed Post by: Tale on July 27, 2007, 01:26:03 AM It stopped working for me today. I'm getting the pop-up video window with a still image but the video doesn't start. That's with Mozilla latest version at home (posting this from an ancient PC I'm not trying video on - will probably take a week to start).
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 27, 2007, 01:30:18 AM Was it working before? If so clear your browser cache and try it again. If not are you using Firefox or some other Mozilla browser and what version?
Edit: using Title: Re: Experimental YouTube video popup code installed Post by: Tale on July 27, 2007, 01:42:38 AM Yes it was working before, when I posted earlier in the thread. I'll flush cache when I get home and try again (yep Firefox, not sure which version - I'll let you know if caching doesn't fix).
Edit - it's now working in my Firefox, so all is well (apart from my preferring that people go to the actual video page and rate/comment!). Title: Re: Experimental YouTube video popup code installed Post by: Strazos on July 27, 2007, 11:42:18 PM Kind of worked under the latest Firefox; video was a bit laggy, so I just open a new tab for the video's actual page.
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on July 27, 2007, 11:48:00 PM What happens if you restart Firefox?
Title: Re: Experimental YouTube video popup code installed Post by: Strazos on July 28, 2007, 12:49:36 AM Nothing.
Which is to say, same problem. Title: Re: Boxer, inventor, scary head in a garbage can! Post by: Murgos on August 30, 2007, 07:32:17 PM I'd like it better if back was intercepted and did close rather than previous url. And also it seems to screw up every so often and fail to accept the mouse position as legit for hitting play so you have to wander around with the mouse until you find a location it likes.
Title: Re: Boxer, inventor, scary head in a garbage can! Post by: bhodi on August 31, 2007, 06:24:58 AM You don't like it? The close button overlaps my adblock plus close window :/Title: Re: Boxer, inventor, scary head in a garbage can! Post by: Trippy on August 31, 2007, 06:36:19 AM You don't like it? The close button overlaps my adblock plus close window :/Title: Re: Boxer, inventor, scary head in a garbage can! Post by: JWIV on August 31, 2007, 07:01:10 AM You don't like it? The close button overlaps my adblock plus close window :/(http://i21.photobucket.com/albums/b277/jwiv/ADBVSUTUBE.jpg) Title: Re: Boxer, inventor, scary head in a garbage can! Post by: bhodi on August 31, 2007, 07:03:13 AM Edit: Whoops beat me to it.
(http://www.filedump.net/dumped/adblock1188568957.jpg) Title: Re: Boxer, inventor, scary head in a garbage can! Post by: Trippy on August 31, 2007, 07:12:16 AM Okay I'll fix that.
Title: Re: Experimental YouTube video popup code installed Post by: cmlancas on August 31, 2007, 07:15:37 AM Has anyone else noticed trouble with pressing the play button in the popup window? I notice that I cannot click on it if I alt+tab to another program.
Title: Re: Boxer, inventor, scary head in a garbage can! Post by: Trippy on August 31, 2007, 07:17:43 AM I'd like it better if back was intercepted and did close rather than previous url. I haven't seen any other CSS popup like mine override the back button like that. If you can point to some examples that do I might consider it but otherwise I ain't messin with the Back button.Quote And also it seems to screw up every so often and fail to accept the mouse position as legit for hitting play so you have to wander around with the mouse until you find a location it likes. Where is the link and the "window" in relationship to each other and the top and bottom of the browser window when that happens?Title: Re: Experimental YouTube video popup code installed Post by: Trippy on August 31, 2007, 07:23:04 AM Has anyone else noticed trouble with pressing the play button in the popup window? I notice that I cannot click on it if I alt+tab to another program. What browser and OS and describe the steps to reproduce.Title: Re: Boxer, inventor, scary head in a garbage can! Post by: Murgos on August 31, 2007, 07:44:46 AM I'd like it better if back was intercepted and did close rather than previous url. I haven't seen any other CSS popup like mine override the back button like that. If you can point to some examples that do I might consider it but otherwise I ain't messin with the Back button.OK, can't really intercept the Back command and modern browsers won't let you play with the history. I haven't really looked at what specific thing you are doing with Ajax to make all this work but there is always a solution. Here is a pretty good statement of the problem and a few ideas: Fixing the Back Button that Ajax Broke (http://www.isolani.co.uk/blog/javascript/FixingTheBackButtonThatAjaxBroke) Quote Quote And also it seems to screw up every so often and fail to accept the mouse position as legit for hitting play so you have to wander around with the mouse until you find a location it likes. Where is the link and the "window" in relationship to each other and the top and bottom of the browser window when that happens?The link and window appear to be normally located with relationship to each other and in the top left corner in relation to the browser window, which is where it has always been in my experience. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on August 31, 2007, 08:20:02 AM I'm not doing Ajax.
The link and window appear to be normally located with relationship to each other and in the top left corner in relation to the browser window, which is where it has always been in my experience. Show me a screenshot of the full browser window then, demonstrating the problem.Title: Re: Experimental YouTube video popup code installed Post by: cmlancas on August 31, 2007, 08:56:36 AM Has anyone else noticed trouble with pressing the play button in the popup window? I notice that I cannot click on it if I alt+tab to another program. What browser and OS and describe the steps to reproduce.XPSP2, Firefox 2.0.0.6. If I click X video, then alt+tab into another window, and then alt+tab back, the browser window wants my cursor to be behind the popup code instead of in front of it. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on August 31, 2007, 09:03:12 AM Not able to reproduce. Are you running Noscript or Greasemonkey or other extension that might be mucking with the HTML/JavaScript/CSS?
Title: Re: Experimental YouTube video popup code installed Post by: cmlancas on August 31, 2007, 09:10:53 AM Nope. Pretty standard. Although there may be an issue with the online poker software I am running at the moment. It could cause added wonkiness, I suppose.
Title: Re: Experimental YouTube video popup code installed Post by: Murgos on August 31, 2007, 10:50:20 AM I'm not doing Ajax. Same problem though. You are manipulating the DOM by inserting a new xml tree into a node somewhere in the currently existing tree rather than creating a new URL resource (which would have a record in the History and thus proper back functionality).Regardless, if that node insertion is triggered by a call to an XMLHttpRequest object or some other object, script or css, what is described in that link is the same issue. I'll post a screenie of the other issue when I have some time at home. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on August 31, 2007, 03:39:04 PM Still doesn't matter. There are a ton of "Web 2.0" image gallery sites that have that same style popup to display images. For example go to here:
http://www.apple.com/iwork/numbers/ and click on one of the thumbnails in the "Number Showcase" callout on the right. Hit the back button and tell me what it does. Like I said above I'm not about to go against the UI paradigm that's already been set for this style of popups unless you can show me some examples that do that and then I might consider it. Title: Re: Experimental YouTube video popup code installed Post by: Murgos on August 31, 2007, 06:02:36 PM I disagree that you are following the same UI paradigm as is in the Apple link. I'm not going to argue it though, it was just a pet peeve and no one else seems to care. Eventually I will remember to hit close and not back.
Title: Re: Experimental YouTube video popup code installed Post by: Krakrok on August 31, 2007, 08:04:02 PM Doesn't work in the latest Firefox on XPSP2 here either. Doesn't play in the div. If I click it enough times it opens the youtube page in a new window. It use to work but the video redraw would lag and look horrible.
Put the Flash embed on a seperate page and IFRAME it. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on August 31, 2007, 08:56:59 PM I have no problems with it on Firefox 2.0.0.6 on Windows XP SP2. You guys need to tell me what extensions you are running that may be affecting the JS/CSS/HTML/Flash.
Put the Flash embed on a seperate page and IFRAME it. No.Edit: trimmed quote Title: Re: Experimental YouTube video popup code installed Post by: schild on August 31, 2007, 10:14:37 PM It works fine on my FF2 WinxpSP2 box. Errr, this box.
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 01, 2007, 12:39:34 AM Okay I made some mods to the popup code.
I added some spacing to the right of the CLOSE link so it overlaps less with the Adblock Plus button. The close link actually extends all the way to the right like before since I don't like screwing with Fitt's Law (I added an "X" as a reminder that you can still click there for people that aren't using Adblock Plus). I've added little YouTube icon links that you can click on to go straight to YouTube instead of having to bring up the popup and then clicking the LINK link or doing it from the player controls. This is also a workaround for those using FF that are having trouble clicking on the controls in the popup -- you can just go straight to YouTube instead. The link and icon behavior can be swapped (icon birngs up popup, text link goes to YouTube) so I've created a poll here: http://forums.f13.net/index.php?topic=10803.0 for people to vote on their preference. There's a known glitch with IE where the CSS padding around the YouTube icon isn't showing up that I haven't figured out yet. Title: Re: Poll: What should clicking on a YouTube link do? Post by: Engels on September 02, 2007, 06:12:39 AM Its really wierd. Totally out of the box fresh instal of Vista here, and it still doesn't work for me. Do you have to turn off pop up blocking or some such for f13?
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 02, 2007, 06:54:33 AM It's not a popup in the "popup blocker" sense of the word. Those are true browser windows that open up. This is just CSS and DHTML to do some layering effects. I still think your JavaScript is disabled or the JavaScript onClick() handler overriden somehow but I don't have Vista so I have no idea how to check for that.
Edit: I just tried it on IE 7 on XP, which works fine, and I didn't see any IE 7-specific JavaScript errors which would keep it from working. Title: Re: Experimental YouTube video popup code installed Post by: Cheddar on September 05, 2007, 10:20:36 PM Something on this site crashes my IE browser. I assume its the goddamn youtube stuff you kids have been doing.
I fucking hate you tube (for serious). Its the intardnet and I want text. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 05, 2007, 10:23:38 PM Any particular page or all pages? Which IE are you using? 6 or 7? Is there a particular ad that shows up when that happens?
Title: Re: Experimental YouTube video popup code installed Post by: bhodi on September 06, 2007, 06:42:28 AM I'm having some clicky weirdness. The middle of the start button doesn't respond to clicks (doesn't convert my cursor into active, either) and the volume/menu button doesn't work either.
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 06, 2007, 06:55:46 AM Browser, OS, ad/Flash blocking software?
Title: Re: Experimental YouTube video popup code installed Post by: bhodi on September 06, 2007, 07:32:08 AM It went away. I suspect it has something to do with where it popped up in relation to the firefox window. I'll keep my eye on it and take screenies if I can reproduce it.
winxp, firefox 2.0.0.6, ad block plus. Title: Re: Experimental YouTube video popup code installed Post by: Cheddar on September 06, 2007, 08:26:45 AM WinXP, IE 7. Its probably from an ad- I blocked all of them and will see if that clears the issue up. Its sporadic, and unfortunetely I never caught what is doing it.
Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 06, 2007, 05:52:54 PM It went away. I suspect it has something to do with where it popped up in relation to the firefox window. I'll keep my eye on it and take screenies if I can reproduce it. Yeah you are like the third person to report this but I haven't come across it myself and nobody has yet given me a reproducable test case. That's why I made the extra link so that people who are having problems like this one can just go straight to the YouTube page.winxp, firefox 2.0.0.6, ad block plus. Title: Re: Experimental YouTube video popup code installed Post by: bhodi on September 14, 2007, 01:56:55 PM Here's a reproducible test case (http://forums.f13.net/index.php?topic=10887.msg342937#msg342937). You can't hit the pause/play button in the lower left and, while you can click on the playback bar to fast forward, you can't rewind. This is after it has played once:
(http://www.filedump.net/dumped/error1189803403.jpg) Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 14, 2007, 05:49:12 PM Okay I can sometimes reproduce the problem now with the timeline bar and the controls to the right. The problem seems related to those stupid Dock-like thumbnails YouTube added. You can tell there's something funny going on there cause you (I) can't "scrub" the thumbnails along the middle or top of the thumbnails, you have to do it near the bottom while in other browsers you can do it from any part of the thumbnail. If I avoid putting the cursor anywhere near those things I can't get things to break. Getting the Play/Pause button *not* to work is not easy to reproduce even when the timeline is not working but I did manage to break it once.
Unfortunately IE, Opera and Safari all don't have this problem so it's very likely to be Firefox-specific. but I'll see if I can figure out what's going on. Title: Re: Experimental YouTube video popup code installed Post by: Righ on September 14, 2007, 08:31:34 PM I fucking hate you tube (for serious). Its the intardnet and I want text. Try a different browser: http://links.sourceforge.net/ Title: Re: Experimental YouTube video popup code installed Post by: eldaec on September 30, 2007, 03:53:00 AM btw, I found out why this doesn't work for me.
The simple machines theme kills it. Works ok in default. I don't miond much either way, but just thought I'd let you know. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 30, 2007, 04:41:16 AM When you say default do you mean the white on black f13 theme?
Title: Re: Experimental YouTube video popup code installed Post by: Engels on September 30, 2007, 07:53:27 AM When you say default do you mean the white on black f13 theme? Well, now I know why mine's not worked for all this time. I switched from the blue/white Simple Machines theme that I've used for the last year to the default black/grey/white theme and voila, it works. Only minor issue is that the 'Download Now' feature of the latest Real Player is in the way of the closing 'x' at the top right, but I can live with it. Title: Re: Experimental YouTube video popup code installed Post by: eldaec on September 30, 2007, 11:58:15 AM When you say default do you mean the white on black f13 theme? Yep, the white on black one list as the forum default, that you get when not logged in makes it work. Simple Machines, nada. Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 30, 2007, 05:53:34 PM When you say default do you mean the white on black f13 theme? Well, now I know why mine's not worked for all this time. I switched from the blue/white Simple Machines theme that I've used for the last year to the default black/grey/white theme and voila, it works. Only minor issue is that the 'Download Now' feature of the latest Real Player is in the way of the closing 'x' at the top right, but I can live with it. Title: Re: Experimental YouTube video popup code installed Post by: Engels on September 30, 2007, 09:57:41 PM Here ya go.
(http://farm2.static.flickr.com/1414/1466582864_54b6ba7e44_o.jpg) Btw, why is Real Player 'Malware'. I take it you mean it as in its some form of unefficient, overly commercial video software, not that it actually performs illegal searches of your computer or installs a keyboard sniffer or some such, yes? Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 30, 2007, 10:13:59 PM Real Media has a long history of installing unwanted adware and spyware, popping up constant upsell messages and otherwise making your media playing life miserable.
http://en.wikipedia.org/wiki/Real_player#Criticism http://www.pcadvisor.co.uk/news/index.cfm?newsid=10087 Title: Re: Experimental YouTube video popup code installed Post by: Trippy on September 30, 2007, 10:15:18 PM With all these idiots putting their stuff on the right side of the window, how do people feel about having the Close button on the left side Mac-style?
|