i have modified the code so that the embed video isn't over powering the index page but the output of the video is still the original size
here is my code
Code:// code to replace <youtube> tags with $YouTubeCode = '<object width="150" height="116"><param name="movie" value="http://www.youtube.com/v/$1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="213" height="175"></embed></object>' . $post_video_html; // replace <youtube> tags with the youtube code $displayed_story = preg_replace("/\<youtube\>(.+?)\<\/youtube\>/is", $YouTubeCode, $displayed_story);
why want this work? eH![]()



Reply With Quote



