You Tube Default Settings

Phoca Gallery - image gallery extension
motoarhangel
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Feb 2014, 05:26

You Tube Default Settings

Post by motoarhangel »

In what file implemented AutoComplete form youtube?
https://www.phoca.cz/documents/2-phoca-g ... ube-videos
4 variant

P.S. Google translate.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You Tube Default Settings

Post by Jan »

Hi, sorry, I don't understand?
If you find Phoca extensions useful, please support the project
motoarhangel
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Feb 2014, 05:26

Re: You Tube Default Settings

Post by motoarhangel »

I want to change the default settings.
Image
Default settings, autoplay = false. Where to change?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You Tube Default Settings

Post by Jan »

Hi, then you need to add the video per method 1), see: https://www.phoca.cz/documents/2-phoca-g ... ube-videos

Jan
If you find Phoca extensions useful, please support the project
motoarhangel
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Feb 2014, 05:26

Re: You Tube Default Settings

Post by motoarhangel »

I'm self found. :D

Code: Select all

\administrator\components\com_phocagallery\libraries\phocagallery\youtube\youtube.php

Code: Select all

.'<embed src="http://www.youtube.com/v/'.$code.'?autoplay=1&cc_load_policy=1&iv_load_policy=3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="'.(int)$youtubeheight.'" width="'.(int)$youtubewidth.'"></embed></object>';
Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You Tube Default Settings

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply