Ligne 92 : Ligne 92 :
 
{{{field|Introduction|input type=textarea|translatable|rows=5|maxlength=10000|class=form-textarea}}}
 
{{{field|Introduction|input type=textarea|translatable|rows=5|maxlength=10000|class=form-textarea}}}
 
{{{end template}}}
 
{{{end template}}}
<div class="multipleTemplateHideButton">
+
<div class="hide-mobile-view">
 
{{{for template|TutoVideo|multiple|minimum=0|maximum instances=1|add button text={{int:wf-tuto-video-btnlink}} }}}
 
{{{for template|TutoVideo|multiple|minimum=0|maximum instances=1|add button text={{int:wf-tuto-video-btnlink}} }}}
{{#formLinkVideo:{{{field|TutoVideoService|dropdown|mandatory|class=embedVideoDropdown}}} | {{{field|TutoVideoURL|mandatory|class=embedVideoUrlInput WfFormText}}}}}  
+
<div class="dokit-video-radio">{{{field|VideoType|input type=dropdown|default=Youtube|mandatory|class=WfFormDropdown WfFormDropdownAutoWidth WfFormTextCombine|show on select=Youtube=>dokit-video-youtube;Vimeo=>dokit-video-vimeo;Dailymotion=>dokit-video-dailymotion;Mp4=>dokit-video-mp4}}}</div>
 +
<div class="dokit-video-url" id="dokit-video-youtube">
 +
{{{field|VideoURLYoutube|mandatory|placeholder={{int:dokit-video-youtube-placeholder}}|class=dokit-video-url-field}}}</div>
 +
</div>
 +
<div class="dokit-video-url" id="dokit-video-vimeo">
 +
{{{field|VideoURLVimeo|mandatory|placeholder={{int:dokit-video-vimeo-placeholder}}|class=dokit-video-url-field}}}</div>
 +
</div>
 +
<div class="dokit-video-url" id="dokit-video-dailymotion">
 +
{{{field|VideoURLDailymotion|placeholder={{int:dokit-video-dailymotion-placeholder}}|mandatory|class=dokit-video-url-field}}}</div>
 +
</div>
 +
<div class="dokit-video-url" id="dokit-video-mp4">
 +
{{{field|mp4video|uploadable|size=25|class=form-picture}}}
 +
</div>
 
{{{end template}}}
 
{{{end template}}}
 
</div>
 
</div>

Version du 3 décembre 2018 à 11:50