It's a bit minor, but
[youtube]https://www.youtube.com/watch?v=5A-cOmaaBgQ[/youtube]
doesn't work when it adds "https", which a script I use adds
[youtube]http://youtu.be/5A-cOmaaBgQ[/youtube]
Those youtu.be links don't work either when posting a youtube vid.
Would it be possible to change this? Kinda bothers me.
...
A bit of [youtube] tag adjustment
Moderator: ItL Moderators
- Skele Von Mann
- Manticor
- Posts: 1301
- Joined: Tue Feb 08, 2011 8:00 pm
- Contact:
A bit of [youtube] tag adjustment
When you're alone, always remember:
- Kimiko
- Manticor
- Posts: 6044
- Joined: Wed Jun 18, 2008 9:31 am
- Location: Leiden, Netherlands, EU [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: A bit of [youtube] tag adjustment
The phpBB3 mod can be found . It seems to have updates available for both alternatives Morte mentioned, as well as one for just the video ID.
Kimiko
Rewatching: Beast Player Erin
Rewatching: Beast Player Erin
- Maxine MagicFox
- ItL Webmaster
- Posts: 13474
- Joined: Wed Feb 27, 2008 12:20 pm
- Location: Pennsylvania
- Contact:
Re: A bit of [youtube] tag adjustment
I think there was some problem I can't recall with those, but ^_^ I could be wrong. I will give them a try this weekend. It WOULD be nice to just use the shortened youtube link.
... maybe even get the @time thing to work.
... maybe even get the @time thing to work.
[] - [] - [] - []
- Archaic Sage
- ItL Webmaster
- Posts: 1323
- Joined: Wed Feb 27, 2008 10:40 am
- Location: England
- Contact:
Re: A bit of [youtube] tag adjustment
That bbcode supplied will stop the long links from working and kill all existing videos frok working too. The custom BBCode is very basic and doesn't allow for IF statements or anything that's not basic.
We may need to find or make a mod for it Max.
We may need to find or make a mod for it Max.
[ | | | | ]
- Maxine MagicFox
- ItL Webmaster
- Posts: 13474
- Joined: Wed Feb 27, 2008 12:20 pm
- Location: Pennsylvania
- Contact:
Re: A bit of [youtube] tag adjustment
I THINK I have an idea.... hold on, give me a minute and let me do some work to test this out. It's been a while since I messed with this stuff.
[] - [] - [] - []
- Maxine MagicFox
- ItL Webmaster
- Posts: 13474
- Joined: Wed Feb 27, 2008 12:20 pm
- Location: Pennsylvania
- Contact:
Re: A bit of [youtube] tag adjustment
Well, it worked.
So, I didn't REPLACE the old code. [youtube] still works.
This new code which uses the shortened link uses [yt]
So, it's not a GRAND fix, but... <_< I dunno? What do you guys think? The time thing still doesn't work. There's nothing that mentions it and I looked
Bad idea? Good idea?
So, I didn't REPLACE the old code. [youtube] still works.
This new code which uses the shortened link uses [yt]
So, it's not a GRAND fix, but... <_< I dunno? What do you guys think? The time thing still doesn't work. There's nothing that mentions it and I looked
Bad idea? Good idea?
[] - [] - [] - []
- Kimiko
- Manticor
- Posts: 6044
- Joined: Wed Jun 18, 2008 9:31 am
- Location: Leiden, Netherlands, EU [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: A bit of [youtube] tag adjustment
Hmm, I'm not sure having different tags for the same thing is a great idea. I like Archaic's proposal of combining everything into one tag best. That will probably require some php-fu, but I think we have a few people with points in that skill around here
For now, changing the regular [youtube] tag so that it also handles https:// URLs would be a useful start. I've seen people use that a few times recently, and from that phpBB3 page it looks as if the change is trivial to implement.
For now, changing the regular [youtube] tag so that it also handles https:// URLs would be a useful start. I've seen people use that a few times recently, and from that phpBB3 page it looks as if the change is trivial to implement.
Kimiko
Rewatching: Beast Player Erin
Rewatching: Beast Player Erin
- AbyssArray
- Ragelope
- Posts: 31
- Joined: Wed May 23, 2012 2:23 pm
- Location: Canada [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: A bit of [youtube] tag adjustment
Hmm.. a quick search tells me adding custom code would change it..
http://www.vbulletin.com/forum/forum/vb ... be-bb-code
http://www.vbulletin.com/forum/forum/vb ... be-bb-code
Currently playing:
Pokémon Y - FC: 0275-7903-6128
Toxicosis - League of Legends - NA
Pokémon Y - FC: 0275-7903-6128
Toxicosis - League of Legends - NA
- Archaic Sage
- ItL Webmaster
- Posts: 1323
- Joined: Wed Feb 27, 2008 10:40 am
- Location: England
- Contact:
Re: A bit of [youtube] tag adjustment
Except we use phpBB and not vBulletin. Sadly we don't have the ability for dynamic tags or effective wild cards.
[ | | | | ]
Return to “Feedback and Suggestions”
Who is online
Users browsing this forum: No registered users and 5 guests