• Hey Guest. Check out your NeoGAF Wrapped 2025 results here!

YouTube Me!

Status
Not open for further replies.
I did a youtube tag on my phpBB forum. Basically I just did a code search/replacement thing using its default crap. Though if I could use custom PHP, it would be better. However, you can always just do a JS thing like this, and add it to your (x)HTML.
 
Well, I tried to e-mail hateradio via userscripts but that didn't work; and he's apparently got himself banned, so I'm stuck with publishing my own version.

neoGAF - YOUTUBE ME! 3.0

I updated the script to change how the video is toggled; instead of inserting a hard-to-click "close" box underneath the video, this version uses the "show video" button to toggle the associated YouTube movie. It also inserts the movie directly underneath the YouTube link and will flag a hosed YouTube link with "bad URL".

I didn't see this thread when I wrote it, but I'll see if I can update it so that it parses out the URL and passes on the "jump to" point on URLs that include it.

At best it is inspired by hateradio's work, because I ended up rewriting it mostly from scratch.

If you're already running hateradio's script, remember to uninstall it before installing this one if you want to try it out.
 
yodandy said:
Damn, still doesnt work as a script in opera

Testing in Opera 10, it seems to not like the RegExp.lastParen property. I've put in a workaround that seems to work in Opera 10. Version 3.1 is uploaded.
 
At first, while trying the script in this thread, it's nothing great nor special.

When the browsing is done around the forum, the script shows it's genius.
The convience of having the video embeed from simple YouTube urls is just too good.

Props indeed to the devs.
 
sorry for la bumpa but is there any way to turn this into a chrome extension? I mean it works fine just installing as a script but it would be nice to have it as an extension as well.

Also, is there a way to change it so that it works based on a blacklist instead of an allow list? I want this on every site except youtube, it would be nice if i can just tell it not to include youtube instead of adding every site i want it on.
 
Installed it now. Works great once you get the tampermonkey extension for Chrome.

If there's a better solution let me know. I can't find Greasemonkey for Chrome unfortunately but it's working with tampermonkey.
 
Status
Not open for further replies.
Top Bottom