Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Embed Videos In Posts (Read 14274 times)
buddybuddha
Junior Member
**
Offline


Visit my site?

Posts: 70
Location: Nowhere in PA
Joined: Aug 9th, 2004
Gender: Male
Re: Embed Videos In Posts
Reply #15 - Nov 21st, 2004 at 9:17pm
Print Post  
Oh yea and referring to DMF's question.  Im not too familiar with SP 1.1, since I just got YaBB at the 1.3 level.  But my bet is, it shouldnt be too hard to mod the mod for 1.1.  If you do, feel free to post it.
  

Wash Ufitze Drive Me To Firenze
Check out my site here.
Back to top
WWWAIM  
IP Logged
 
buddybuddha
Junior Member
**
Offline


Visit my site?

Posts: 70
Location: Nowhere in PA
Joined: Aug 9th, 2004
Gender: Male
Re: Embed Videos In Posts
Reply #16 - Nov 22nd, 2004 at 12:02am
Print Post  
Hey, it would seem as though this mod doesnt even need to be modded.

Check out this page right here:

http://www.buddybuddha.net/yabb2/YaBB.pl?board=news;action=display;num=110107560...

It was a test of all the functions of YaBB.  Near the bottom, above the video appears an EmbedVideo tag with an mp3.  Seems to work fine for me.

Here's the code I used.

Code
Select All
[tt]http://www.buddybuddha.net/solnyshko.mp3[/tt] 



Plus, you should just listen to the song cause it is so insanely good.
  

Wash Ufitze Drive Me To Firenze
Check out my site here.
Back to top
WWWAIM  
IP Logged
 
Conservationist
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Jun 9th, 2008
Re: Embed Videos In Posts
Reply #17 - Jun 9th, 2008 at 10:33pm
Print Post  
Hey,

Cool mod. I did something similar in a forum:

after

Code
Select All
	  $message =~ s~\[tt\](.*?)\[/tt\]~<tt>$1</tt>~isg;
 



paste in

Code
Select All
# goat mods

	  if ( $message =~ /\[embed\](.*?)\[\/embed\]/ ) {
		$ass = $1;
		$ass =~ s~http:\/\/www.youtube.com\/watch\?v=~~isg;
		$message =~ s~\[embed\](.*?)\[/embed\]~
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$ass&hl=en"></param><embed src="http://www.youtube.com/v/$ass&hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object>		   ~isg;
  }

# goat mods
 



for a current working youtube embed in yabbc/yabb 1.3

Thanks for the mod!
  
Back to top
WWW  
IP Logged
 
Yabber
New Member
*
Offline


I Love YaBB 2!

Posts: 3
Joined: Jul 2nd, 2010
Re: Embed Videos In Posts
Reply #18 - Jul 2nd, 2010 at 3:25am
Print Post  
I know this is an old thread but can someone tell me EXACTLY what needs to be done in YaBB 1 Gold - SP 1.3.1 in order to embed video content within a given post? I did click on the zip file in the beginning of this thread but only two files were in the folder with no instructions as to what to do in order to make it work.

tia....
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint