Show last authors
1 {{velocity output="false"}}
2 #set ($docextras = [])
3
4 #set ($videoCards = [
5 {
6 'title': $services.localization.render('WECON VB Inspection of Rectifier Bridge and Inverter'),
7 'topics': [
8 $services.localization.render('language:English'),
9 $services.localization.render('Hardware port introducion:Rectifier Bridge and Inverter')
10 ],
11 'url': 'https://www.youtube.com/embed/bkH8oKP_B1A',
12 'duration': '3 mins'
13 },
14 {
15 'title': $services.localization.render('How to Install and Operate WECON Inverter PC Software'),
16 'topics': [
17 $services.localization.render('Language:English'),
18 $services.localization.render('Software introduction,sInstallation process,interface introduction..')
19 ],
20 'url': 'https://www.youtube.com/embed/74erPFsI6Ns',
21 'duration': '5 mins'
22 }
23 ])
24
25 #macro (helpVideoCard $data)
26 <div class="videoCard">
27 <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role="presentation" ></iframe>
28 <div class="videoCard-body">
29 <div class="videoCard-title">
30 $escapetool.xml($data.title)
31 </div>
32 <ul>
33 #foreach ($topic in $data.topics)
34 <li>$topic</li>
35 #end
36 </ul>
37 </div>
38 <div class="videoCard-footer">
39 $services.icon.renderHTML('play')
40 <a href="$data.url">$services.localization.render('help.videos.watch')</a>
41 <span class="videoCard-duration">
42 $escapetool.xml($data.duration)
43 </span>
44 </div>
45 </div>
46 #end
47 {{/velocity}}
48
49 {{velocity}}
50 {{html clean="false"}}
51 #set ($discard = $xwiki.ssx.use('Help.Videos.WebHome'))
52 <div class="row">
53 #foreach ($card in $videoCards)
54 ## See http://getbootstrap.com/css/#grid-responsive-resets .
55 #if ($foreach.index > 0 && $foreach.index % 2 == 0)
56 <div class="clearfix visible-sm-block "></div>
57 #end
58 #if ($foreach.index > 0 && $foreach.index % 3 == 0)
59 <div class="clearfix visible-md-block visible-lg-block"></div>
60 #end
61 <div class="col-xs-12 col-sm-6 col-md-4">
62 #helpVideoCard($card)
63 </div>
64 #end
65 </div>
66 {{/html}}
67
68 [[$services.localization.render('help.videos.more')>>https://www.youtube.com/playlist?list=PLhe7KI1rstRQeLSHxcTozZ0HJSk-mIYzt]]
69 {{/velocity}}

Table of Contents