Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: YouTube using short links?
« Reply #16, on April 13th, 2011, 04:30 PM »
No, it's in the Spanish board, which means people just don't look there too hard ;)
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

DoctorMalboro

  • I like rounded borders.
  • Posts: 316

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: YouTube using short links?
« Reply #18, on April 13th, 2011, 06:14 PM »
I guess that since it's safe to assume they read these boards, they'll end up finding your link... :whistle:
Re: YouTube using short links?
« Reply #19, on April 14th, 2011, 12:35 AM »
Re: smf tag on sm.org: I think it's explained in the tag help popup. [smg id=1,2,3] should show a row of items. That's how I set it up and it makes sense to me....... ::)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: YouTube using short links?
« Reply #23, on April 14th, 2011, 09:55 AM »
Thanks...... But that's not a repost, it's a totally new post that doesn't say the same thing as I do..... :whistle:

And I was on my iPod when I typed my post. Believe me, finding the [ and ] keys is annoying in that situation :P
Posted: April 14th, 2011, 09:43 AM

Okay, I'm testing the feature I said, and it's not working... Gimme a minute.
Posted: April 14th, 2011, 09:46 AM

Well, it appears it's buggy.
[smg id=1 type=album] will work, generating a list of thumbnails from a specific album.
[smg id=1,2,3,4,5] (type=normal or preview) will only show the first item in the list.
It SHOULD be showing a list of items next to each other.

This bug was never reported to me because, well, people don't use the smg tag much, and don't ever read the helper popup, even though it's handily available and it's full of humor to make it less tedious to read... (And to translate ::))

I guess I'll add this to my to-do of fixes for Wedge. I won't fix it in AeMe, though.
Feel free to delete your post or indicate that I'm sorry it doesn't work as expected and it'll be implemented in Wedge.
Posted: April 14th, 2011, 09:51 AM

(BTW, your post said smg=1,2,3 without the id. That's what I meant when I said it wasn't a repost.)
Posted: April 14th, 2011, 09:52 AM

Also, I think I should mention that the smg tag has too many possible types. I will probably remove the 'link' type at some point, and replace the 'normal' type with a simple thumbnail with name. The reason is that now that thumbnails in album pages show more details on hover rather than systematically, it shouldn't break page layouts anymore.

PS: oh, and for those who don't have access to the svn -- when I say "smg tag", I mean "media tag". It was renamed when I moved it over to Wedge, obviously. Since all posts have to be re-imported anyway, it was the right time to do it...

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: YouTube using short links?
« Reply #24, on September 1st, 2011, 08:42 AM »
Quote from Nao on April 8th, 2011, 12:29 PM
Okay, I took a couple of minutes to rewrite the regex... In all logic, this one should work: (Subs-Aeva-Sites.php:145)

Code: [Select]
'pattern' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtu(?:be\.com/[^"#[]*?(?:&|&|/|\?|;|\%3F|\%2F)(?:video_id=|v(?:/|=|\%3D|\%2F))|\.be/)([\w-]{11})',
Doesn't work with: "Default YouTube quality: HD where available"

Bug? :P  Maybe that's why it isn't working here too?
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: YouTube using short links?
« Reply #26, on September 1st, 2011, 09:20 AM »
I suspect the patch has not been applied here, even if it's been patched for some time in Wedge itself.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: YouTube using short links?
« Reply #27, on September 1st, 2011, 08:06 PM »
wedge.org is unpatched. Didn't bother.

Is the HD option still relevant today? Does it still work?