do not show related videos at end

Permalink Browser Info Environment
Any ideas how I stop the 'related videos' screen appearing at the end?
Example attached. I would prefer a black screen, or maybe a 'close' button in the middle, much like the play button.

Apart from this, the addon is perfect for my needs :-)

Many thanks,

1 Attachment

Type: Discussion
Status: New
c5bruceandwalker
View Replies:
hutman replied on at Permalink Reply
hutman
You need to edit the file /packages/popup_video/blocks/youtube/templates/popup.php

Find the lines for src and edit them to add ?rel=0 at the end:

src="http://www.youtube.com/embed/<?php  echo $url['path']?>?rel=0"
and
src="http://www.youtube.com/embed/<?php  echo $query['v']?>?rel=0"


You need to do this on line 13 and line 15 of the file.
c5bruceandwalker replied on at Permalink Reply
c5bruceandwalker
That works nicely - Thanks.

Do you intend to add this as a selectable option, or should I do something to stop this edit being overwritten on the next package update?

Many thanks
hutman replied on at Permalink Reply
hutman
We don't really have any plans to add this in as an option, it's already complicated enough keeping track of all the different options for youtube, vimeo and flowplayer. If it was there on the built in youtube block we might want to put it in but it really doesn't seem worth it to spend the extra time developing.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.