Hi I've placed the video into the slider but when it ends it suggestions to other videos. I've tried placing &rel=1 the end of the video url in the Image/Video URL box but it doesn't seems to work.
How can I end my Youtube video without suggesting other video?
(7 posts)
(4 voices)
-
Posted 10 months ago #
-
rel=1 is the default and is used to display related videos. Try rel=0
Posted 10 months ago # -
Thanks for the help Chris.
@echoz, I believe Chris is right, try adding rel = 0 to the end, http://mysitemyway.com/docs/index.php?title=Video_Shortcodes. If it still does not work then you can also try using the [video] shortcode in the slide description.
Posted 10 months ago # -
Thanks Chris and Elliot but I've actually tried rel=0 but it doesn't seems to work and I've tried generating the shortcode and placed it the description box. it works but the video plays in the description frame but not the image/video frame. Any suggestions?
Posted 10 months ago # -
I'm not at home so I can't be 100% sure, but the file I'm thinking of is customprefs.js or something like that in the scripts folder. I edited mine to include the &rel=0 command as well as having the YouTube videos default to 720p on initial playback instead of the default 360p. I can try to post a sample of the code I used later if I get near my laptop. Editing this file seemed to be the best way to accomplish both goals. It might be of help to you too.
Posted 10 months ago # -
You can also try opening up
/wp-content/themes/[your_theme]/lib/shortcodes/21-video.phpand switching line 138,'rel' => '1',To this,
'rel' => '0',I think that should switch the default behaviour so you can still overwrite it by using the shortcode manually. (it will work on slider also)
Posted 10 months ago # -
yeah got it work.....thanks elliot & mike!!
Posted 10 months ago #
Reply
You must log in to post.













