Keyword

Videos in Joomlaboard postings?

  • Donald Rowley
  • Donald Rowley's Avatar Topic Author
  • Offline
  • New Member
More
17 years 1 day ago #2255 by Donald Rowley
Videos in Joomlaboard postings? was created by Donald Rowley
What do I need to do to make this work in Joomlaboard postings?

Please Log in or Create an account to join the conversation.

More
17 years 10 hours ago #2256 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Videos in Joomlaboard postings?
See the sticky post mentioning Virtuemart. You need to modify Joomlaboard to parse plugins...  ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 7 months ago - 16 years 7 months ago #2257 by gavros
Replied by gavros on topic Re: Videos in Joomlaboard postings?
Hello guys,

Foti just wanted to say your plugins are awesome!!! Has anyone tried this? If so which file needs to be modified?

Thanks in advance... na se kala file!!!

Please Log in or Create an account to join the conversation.

More
16 years 7 months ago #2258 by gavros
Replied by gavros on topic Re: Videos in Joomlaboard postings?
Hello again guys,

I did a bit of research (hope this helps) and I found some code which does allows you to embed YouTube video clips into it.

Insert the following code in the smile.class.php found under components/com_joomlaboard. I added this after // italic
//video
$sb_message_txt = preg_replace("/\[video\](.*?)\[\/video\]/si","<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/fpdownload.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,0,0\" width=\"400\" height=\"325\"  align=\"middle\"><param name=\"movie\" value=\"$1\"><embed src=\"$1\" quality=\"high\" bgcolor=\"#ffffff\" width=\"425\" height=\"350\"  align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/><\/object>",$sb_message_txt);

Note, the above should be one sigle line so remove any spaces  ;)

Syntax in Joomlaboard:
If you wanted to add a YouTube video in a post, first you would need the url
www.youtube.com/watch?v=vIRPHulF-SE
Remove the ? and = and replace with a /
Then you would need to open and close the modified URL with a tag.
The final product should look like this:



This is not however a solution to the question at hand. Ultimately we would love  to have the ability to add video clips in the same fashion this plugin does. :D

Kindest Regards

- mp

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum