Is there a way to change the youtube default player size

Phoca Gallery - image gallery extension
Robbie8
Phoca Member
Phoca Member
Posts: 27
Joined: 28 Jul 2012, 16:25

Is there a way to change the youtube default player size

Post by Robbie8 »

Hi,
I am using a Youtube video in a standard popup box - I have set the size of the box to be the size of my page, but the youtube player seems by default to be a fixed small size, which I believe is 360 pxls. I would like to change the default so that it files the popup box I have created. Is there a way to set this size or set it to fill the box

I know I can click on the full screen option, but I would like to just make the default player slightly bigger if I can.

Any advice would be appreciated.

Rob
:?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is there a way to change the youtube default player size

Post by Jan »

Hi, then you need to add the code with help of object tags:
https://www.phoca.cz/documents/2-phoca-g ... ube-videos
and set own parameters.

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