- Posts: 1
 
COMMUNITY FORUM
Disable youtube related clips
- doubler
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		
			
	
						17 years 11 months ago				#8892
		by doubler
	
	
		
			
	
			
			 		
													
	
				Disable youtube related clips was created by doubler			
			
				Is it possible to change so that the youtube clips i include with AllVideo plugin dont show related videos.
embeded youtube link with related videos:
<object width="425" height="355"><param name="movie" value="www.youtube.com/v/UocF4ycBnYE&rel=1&color1=0xd6d6d6&color2=0xf0f0f0&border=0"></param><param name="wmode" value="transparent"></param><embed src="www.youtube.com/v/UocF4ycBnYE&rel=1&color1=0xd6d6d6&color2=0xf0f0f0&border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">
embeded youtube link without related videos:
<object width="425" height="355"><param name="movie" value="www.youtube.com/v/UocF4ycBnYE&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0"></param><param name="wmode" value="transparent"></param><embed src="www.youtube.com/v/UocF4ycBnYE&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">
Regards
					embeded youtube link with related videos:
<object width="425" height="355"><param name="movie" value="www.youtube.com/v/UocF4ycBnYE&rel=1&color1=0xd6d6d6&color2=0xf0f0f0&border=0"></param><param name="wmode" value="transparent"></param><embed src="www.youtube.com/v/UocF4ycBnYE&rel=1&color1=0xd6d6d6&color2=0xf0f0f0&border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">
embeded youtube link without related videos:
<object width="425" height="355"><param name="movie" value="www.youtube.com/v/UocF4ycBnYE&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0"></param><param name="wmode" value="transparent"></param><embed src="www.youtube.com/v/UocF4ycBnYE&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">
Regards
Please Log in or Create an account to join the conversation.
- jason3
 - 
				
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 1
 
			
	
						17 years 9 months ago				#8893
		by jason3
	
	
		
			
	
			
			 		
													
	
				Replied by jason3 on topic Re: Disable youtube related clips			
			
				Got it!
If you haven't already,
go to
mambots/content/plugin_jw_allvideos.php
line 120
add &rel=0 twice after *****code**** before the \
The code.
"youtube" => array("<object style=\"".$width." ".$height."\"><param name=\"movie\" value=\"www.youtube.com/v/***code***&rel=0\" />", "#{youtube}(.*?){/youtube}#s") ,
Cheers
Jason
					If you haven't already,
go to
mambots/content/plugin_jw_allvideos.php
line 120
add &rel=0 twice after *****code**** before the \
The code.
"youtube" => array("<object style=\"".$width." ".$height."\"><param name=\"movie\" value=\"www.youtube.com/v/***code***&rel=0\" />", "#{youtube}(.*?){/youtube}#s") ,
Cheers
Jason
Please Log in or Create an account to join the conversation.
- Alexander Radin
 - 
				
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 14
 
			
	
						16 years 1 month ago				#8894
		by Alexander Radin
	
	
		
			
	
			
			 		
													
	
				Replied by Alexander Radin on topic Re: Disable youtube related clips			
			
				Has anyone figured out how to do this for J1.5? I don't want to have the related videos on youtube for any of my videos coming up.			
					Please Log in or Create an account to join the conversation.
- mtaras
 - 
				
 - Offline
 - Junior Member
 
		Less
		More
		
			
	
		- Posts: 25
 
			
	
						16 years 1 week ago				#8895
		by mtaras
	
	
		
			
	
			
			 		
													
	
				Replied by mtaras on topic Re: Disable youtube related clips			
			
				Try the link below in HTML.
{youtube}youryoutubeid&rel=0{/youtube}
					{youtube}youryoutubeid&rel=0{/youtube}
Please Log in or Create an account to join the conversation.