Results 1 to 2 of 2
  1. #1
    Casual Pligger silent1643's Avatar
    Joined
    Jul 2007
    Posts
    58

    embed video size not loading correctly

    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

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    silent1643

    Which file did you change??
    was it domain.com/modules/embed_videos/plugins/function.embedvideos.php ?

    Try making the change in
    domain.com/plugins/function.embedvideos.php

Similar Threads

  1. embed video - adding another video site?
    By amitk in forum Questions & Comments
    Replies: 1
    Last Post: 02-25-2008, 12:57 AM
  2. Embed Video
    By Geoserv in forum Questions & Comments
    Replies: 3
    Last Post: 01-19-2008, 08:47 PM
  3. Problem with adding new video source in embed video
    By stoyanoff in forum Questions & Comments
    Replies: 0
    Last Post: 10-28-2007, 03:20 PM
  4. Video Upload and Video Embed
    By 24pfilms in forum Questions & Comments
    Replies: 0
    Last Post: 01-17-2007, 08:08 AM
  5. embed video
    By IznastY in forum Questions & Comments
    Replies: 1
    Last Post: 09-27-2006, 10:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting