Guest
08 May 2013 10:17

In video field video inserted with "link" mode (youtube i-frames and so on)

have no space one after the other (if more than one video is inserted)

I tried to modify

components/com_cobalt/fields/video/tmpl/output/default.php template

by creating a custom template, but I am not sure where to insert a

div to create a space between one video and another one

this is the template code


<div id="video-block<?php echo $key;?>"> <div id="destr<?php echo $key;?>" class="video-block" style="display: none;"><div id="mediaplayer<?php echo $key;?>"></div></div> <div id="htmlplayer<?php echo $key;?>"> <div class="progress progress-success progress-striped"> <div class="bar" style="width: 100%"><?php echo JText::_('V_LOADING');?></div> </div> </div> </div>

Just to see I tried to insert a

here and there, but it doesn't work...

any suggestion?

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
08 May 2013 10:34

In that field template insert

#video-block iframe { margin-bottom:30px; }
Powered by Cobalt