Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Apr 2024, 13:00

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 9. Jul 2012, 01:43 
Offline

Joined: 9. Jul 2012, 01:22
Posts: 4
Please advise how to add the ?rel=0 parameter to a You Tube movie address in the TWG gallery, to suppress the irrelevant previews at the end of the movie. I cannot simply add ?rel=0 to the You Tube address string as ? is not a valid file name character and is rejected.

I like being able to add movies to the gallery, but if I have to have the previews at the end I will go back to embedding the You Tube movie separately.


Top
 Profile  
 
PostPosted: 9. Jul 2012, 11:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You have to add this to the

$video_autostart_parameter

in the config. This parameters are added at the end of the url.

Best, Michael


Top
 Profile  
 
PostPosted: 10. Jul 2012, 04:34 
Offline

Joined: 9. Jul 2012, 01:22
Posts: 4
Thanks Michael. I tried that and my_config.php (on the server) now has the $video_autostart_parameter as follows (I seem to have it twice, is this a problem?)

$additional="\$video_autostart_parameter=\'&autoplay=1&rel=0\'; // (String) This is the extension you have to add after the link to enable autoplay - his is different for youtube and dailymotion - please read the howto 34 for more details";
/* extra parameters set in the additional page in the TWG admin */
$video_autostart_parameter='&autoplay=1&rel=0'; // (String) This is the extension you have to add after the link to enable autoplay - his is different for youtube and dailymotion - please read the howto 34 for more details

However I still get previews at the end on the movie.

HowTo #34 refers to a file called video.php that apparently also includes the autostart parameter. However I have been unable to locate that file to verify its contents. Do I need to look at that? If so where is it?

I am very impressed with the TWG, just having a few difficulties getting it to do exactly what I want. One very impressive feature is how it adapts to differnet screen sizes!

Another minor point is that I keep getting a "Please register for more features" message, when I have in fact registered. How can I suppress that message, I can't find out in the TWG admin or howtos.

ATB
Rob


Top
 Profile  
 
PostPosted: 10. Jul 2012, 09:34 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
in my_config.php it only seems to be twice. One is the real parameter and the other one is the content of the additional field.

Have you looked in the source code of the page if the parameter is added properly?

I just tested with
$video_autostart_parameter="&rel=0&autoplay=1";

and there is works fine.

If you don't know what video.php is please read howto 34 again ;). There is is explained in detail.

Best, Michael


Top
 Profile  
 
PostPosted: 10. Jul 2012, 10:20 
Offline

Joined: 9. Jul 2012, 01:22
Posts: 4
Thanks Michael, putting the rel=0 parameter into the video.php file inside the Videos folder has done the trick.

I would still like to suppress the "Register for more features" message though. Any suggestions on that?


Top
 Profile  
 
PostPosted: 10. Jul 2012, 10:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
If you have register is should be gone.

But actually this text is only an example how to include some text.
It is explained even in the demo text how to remove it. And many times in the forum...
There is a search option in the forum. Simply use it.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy