Recent Topics

1 Jan 21, 2008 06:57    

My b2evolution Version: Not Entered

Hey Guys,

Ok, hmm... finally got YouTube videos to post in my linkblog BUT ... they show up normal size in the right sidebar as a preview to my linkblog when in my main blog. What can I do to thumbnail/resize them?

Check it out at:
http://serendipitywaits.com/blogs/index.php?blog=2

2 Jan 21, 2008 07:01

Open /blogs/plugins/videoplugin/_video.plugin.php and change the size in:

$content = preg_replace( '¤\[video:youtube:(.+?)]¤', '<div class="videoblock">
<object data="http://www.youtube.com/v/\\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/\\1"></param><param name="wmode" value="transparent">
</param></object></div>', $content );

Good luck

3 Jan 21, 2008 07:17

And that will only change the size in the side bar preview and not in my actual blog, right?

4 Jan 21, 2008 07:20

Changing here will change in all places where you use the video plugin. You may want a duplicate entry for YouTube with different sizes.

Good luck

5 Jan 21, 2008 07:22

Thanks appreciate it. =]


Form is loading...