|
|
Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
|
Thread Tools |
Shit no one asked for: [youtube] updates
Hi, I stuck my hands deep, deep inside the [youtube] plug-in and made some adjustments.
1). Switched to the new embed syntax. Hey, it's not 2007 any more, so let's get this <object> and JavaScript tag swapping bullshit out of here. [youtube] now uses the new <iframe> syntax, as iframes are a totally 100% completely safe thing to let users post on a forum. So now, if you're a smug asshole like me and don't even have Flash installed, you can now use YouTube's HTML5 player or what have you. Hooray for you! (Where you is actually just me.) 2). HTTPS links and links with extra arguments now work. Google's been pushing HTTPS pretty hard lately, so some of you (i.e. just me again) may have been getting some HTTPS links for YouTube instead of plain HTTP ones. These used to cause the plug-in to hunt you down and kill you in the middle of the night, but no longer! Also, YouTube sometimes throws in a bunch of extra shit into the URL, like playlist IDs. These also used to make the plug-in kidnap your family and make you play an elaborate game of death to retrieve them only for them to all die and you to become the killer in the next movie, but now it does some actual like legit text parsing to find the video ID amid all that garbage. The upshot of these changes is that you should now be able to throw any video link you get into [youtube] tags. No more having to clean up a link to get it to work. Maybe! 3). Timestamps. Yeah, so you know how you can add like #t=1m25s to the end of a YouTube link to make it start at 1:25? Well now you can do that in [youtube] tags and it might even work.
So anyway let me know if shit doesn't work or if you break some tables so I can go swear at Google for a while and then fix it. Jam it back in, in the dark.
Last edited by THE POWER OF WATER; Aug 3, 2013 at 01:45 AM.
|
Alright let's skip 8 seconds into this shit
Here's a playlist of Lasagna Cat
Here's 5 hours 55 minutes and 18 seconds into the "Pikachu Song"
Can this youtube tag handle Snoop
Additional Spam: Lasagnacat playlist from the youtube sharing feature did not work Let's try the one the channel gives me instead
And it would appear that the "Pikachu Song" shows you have not taken into account the 10 hour uploads some people do. Or something. Let's give it a shot with #t= instead of ?t=
Additional Spam: Okay, it will take playlist type text from the url but it won't actually do playlists. It'll play the video you start the playlist or spot you currently are at if you indicate that with the sharing feature. However it's not going to go to the next item. But it will play that particular item. Gonna test the Lasagna Cat playlist to show this by having it start from the second video in the list.
Additional Spam: Yup, these all work now. GOOD JOB, CHZ. YOU ARE THE BEST! There's nowhere I can't reach. |
Either that or extend Maris's password thread to include bank details... This thing is sticky, and I don't like it. I don't appreciate it. |
Welp the YouTube team decided to reduce the acceptable ways you can specify a start point for embedded videos. Naturally, one of those was the way I was using for GFF, so timestamp embeds have been broken for at least a few weeks (Diss you could've sent me a PM or something god).
I've fixed it, but because I really don't feel like writing a parser right now to adjust to the new way, old timestamps of the form t=1m32s no longer work. All that work now are timestamps of the raw number of seconds, like t=92. This is the kind that YouTube gives you when you use the "Copy video URL at current time" menu item, so if you use that you shouldn't have any problems. Here's the example from my first post but no longer broken:
I am a dolphin, do you want me on your body? |
I was speaking idiomatically. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows Updates Screwed me Over! | chaofan | Help Desk | 4 | Jan 12, 2008 07:13 AM |
I'm only making this Winter 06/07 season thread since Boo asked me to | Bigblah | Media Centre | 16 | Jan 11, 2007 04:39 PM |
I've probably asked like half a million people this already: | Locke | Help Desk | 14 | Mar 24, 2006 07:17 AM |