my dog learned polymorphism*
The moose likes JForum and the fly likes How do I use youtube tag ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "How do I use youtube tag ?" Watch "How do I use youtube tag ?" New topic
Author

How do I use youtube tag ?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Can someone show me how to use the new intorduced youtube BB tag ? I really don't have an idea on how to use it, the embed codes I cut from youtube.com doesn't seem to work

Thanks
David
[originally posted on jforum.net by davidchang168]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I've tried [wmv] with the youtube URL and it seems to work fine but I just can't figure out how to use [youtube] ...
[originally posted on jforum.net by davidchang168]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have the same problem, I believed that format is:

link of youtube with this format (in BBcode of php forums): http://youtube.com/watch?v=58yt8Y9IrFs

this link between youtube bbcodes tags.
[youtube]http://es.youtube.com/watch?v=58yt8Y9IrFs[/youtube]

But... not found.

PD:


[originally posted on jforum.net by MiLLeN]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The "problem" is that the tag expects the url to be in the form "www.youtube.com" - that's a flaw, indeed. If you guys know a bit of regular expressions, just open the file WEB-INF/config/bb_config.xml and change the code there, and reload the file at Admin Panel -> Cache

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Oh, I didn't thought about that when I added BBCode supports for YouTube, the patch is as follows:


See:
http://www.andowson.com/posts/list/110.page
[originally posted on jforum.net by andowson]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I use youtube tag ?