Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
andylau
Hangin' Around



Joined: Jul 05, 2006
Posts: 27

PostPosted: Wed Apr 14, 2010 8:56 pm Reply with quote

don't know if i got the right forum ?

i got youtube url = http://www.youtube-nocookie.com/v/WAWsVE0OcWI&autoplay=0&rel=0&amp
need help to add this to add this code ?

how to add this extra = &autoplay=0&rel=0&amp in the code ?


Code:
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {

   die ("You can't access this file directly...");
}
// Modify URL For use in this plugin
$url = $row['url'];
$url = stristr($url, 'watch?v=');
$url = explode('=', $url);
$url = explode('&', $url[1]);
$url = $url[0];
// YouTube Plugin
$embedcode = "<object width=\"".$row['width']."\" height=\"".$row['height']."\">\n";
$embedcode .= "<param name=\"movie\" value=\"http://www.youtube.com/v/".$url."\"></param>\n";
$embedcode .= "<param name=\"wmode\" value=\"transparent\"></param>\n";
$embedcode .= "<embed src=\"http://www.youtube.com/v/".$url."\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"".$row['width']."\" height=\"".$row['height']."\"></embed>\n";
$embedcode .= "</object>\n";
$url = "http://www.youtube.com/v/".$url;
?>
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Wed Apr 14, 2010 11:31 pm Reply with quote

There is another forum post discussing this at the moment which you may want to read through.
 
View user's profile Send private message
andylau







PostPosted: Thu Apr 15, 2010 12:40 am Reply with quote

would you mind move to the right one ? i got no idea how to do it thanks.?
 
jakec







PostPosted: Thu Apr 15, 2010 1:20 am Reply with quote

No need to move it just join the discussion here: http://www.ravenphpscripts.com/posts18909-highlight-youtube.html
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©