Youtube Video Profile editing?

Feb 5, 2018
9
0
1
32
#1
Hi,

Is it possible to edit a template to allow a bigger youtube video size on the profile?

Thanks
 
Feb 5, 2018
9
0
1
32
#3
So this is a profile on my forum and this is the box that appears when someone add's a youtube video....but the box is too small, so could it be enlarged?
 

Attachments

XenConcept

Backend Developer
Staff member
Administrator
Oct 14, 2017
481
148
43
Rennes
www.xen-concept.com
#10
Here's how to proceed.

You must create a modification of template

Go to the following links : admin.php?template-modifications/add&type=public

Template : xc_ytb_video_widget_ytb_video
Modification Key : xc_ytb_video_widget_ytb_video_extension
Description : Enlarging youtube video


Find :
HTML:
{{ widget_data($widget) }}
Replace :

HTML:
$0 style="width: 350px;"
To change the width you have to replace the value "350" by what you want

Execution order : Not change

AddOn : Not Change

Screenshot-2018-2-5 Add template modification XenConcept - Admin control panel.png
 
Likes: Dan619