$services.localization.render('help.videos.title')

Last modified by XWikiGuest on 2026/06/21 23:36

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Help.Videos.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

#set ($videoCards = [{
  'title': $services.localization.render('help.videos.videoCard1.title'),
  'topics': [
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/',
      'label': $services.localization.render('help.videos.videoCard1.topic1')
    },
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Navigate/',
      'label': $services.localization.render('help.videos.videoCard1.topic2')
    }
  ],
  'url': 'https://www.youtube.com/embed/p5g6aDGOqWY',
  'duration': '4 min'
}, {
  'title': $services.localization.render('help.videos.videoCard2.title'),
  'topics': [
    {
      'url': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo%20Theme%20Application#HHowtoselectatheme',
      'label': $services.localization.render('help.videos.videoCard2.topic1')
    },
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/ChangingTheLogoAndThePanels#HChangingyourwiki27spanels',
      'label': $services.localization.render('help.videos.videoCard2.topic2')
    },
    {
      'url': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Dashboard%20Macro#HAddinggadgets',
      'label': $services.localization.render('help.videos.videoCard2.topic3')
    }
  ],
  'url': 'https://www.youtube.com/embed/zX1Itoh3E68',
  'duration': '5 min'
}, {
  'title': $services.localization.render('help.videos.videoCard3.title'),
  'topics': [
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/CreatingAPage',
      'label': $services.localization.render('help.videos.videoCard3.topic1')
    },
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/EditingAPage',
      'label': $services.localization.render('help.videos.videoCard3.topic2')
    },
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/KeyboardShortcuts#HViewMode',
      'label': $services.localization.render('help.videos.videoCard3.topic3')
    }
  ],
  'url': 'https://www.youtube.com/embed/onenEu21FIk',
  'duration': '6 min'
}, {
  'title': $services.localization.render('help.videos.videoCard4.title'),
  'topics': [
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Imports#HImportingOfficedocuments',
      'label': $services.localization.render('help.videos.videoCard4.topic1')
    },
    {
      'url': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample1:Simple',
      'label': $services.localization.render('help.videos.videoCard4.topic2')
    }
  ],
  'url': 'https://www.youtube.com/embed/csQVSRMVclM',
  'duration': '4 min'
}, {
  'title': $services.localization.render('help.videos.videoCard5.title'),
  'topics': [
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/CreatingABasicApp',
      'label': $services.localization.render('help.videos.videoCard5.t

opic1')
    },
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/FAQTutorial/FAQTutorialAWM#HCreatingnewFAQentries',
      'label': $services.localization.render('help.videos.videoCard5.topic2')
    }
  ],
  'url': 'https://www.youtube.com/embed/Pv4jPCaU99g',
  'duration': '7 min'
}, {
  'title': $services.localization.render('help.videos.videoCard6.title'),
  'topics': [
    {
      'url': 'https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/CreatingExtensions/#HInstallinganExtension',
      'label': $services.localization.render('help.videos.videoCard6.topic1')
    },
    {
      'url': 'https://extensions.xwiki.org/xwiki/bin/view/Extension/Administration%20Application#HDescription',
      'label': $services.localization.render('help.videos.videoCard6.topic2')
    }
  ],
  'url': 'https://www.youtube.com/embed/Q4NHu6J5pX4',
  'duration': '3 min'
}])

#macro (helpVideoCard $data)
  <div class="videoCard">
    <iframe src="$data.url" allowfullscreen title="$escapetool.xml($data.title)" role='application'
        aria-describedby="video_hint_$foreach.index" >
    </iframe>
    <span id="video_hint_$foreach.index" class="sr-only">
      $escapetool.xml($services.localization.render('help.videos.hint'))
    </span>
    <div class="videoCard-body">
      <div class="videoCard-title">
        $escapetool.xml($data.title)
      </div>
      <ul>
        #foreach ($topic in $data.topics)
          <li>#if ($topic.url)
            <a href="$escapetool.xml($topic.url)">$escapetool.xml($topic.label)</a>
          #else
            $escapetool.xml($topic)
          #end
          </li>
        #end
      </ul>
    </div>
    <div class="videoCard-footer">
      $services.icon.renderHTML('play')
      <a href="$data.url">$services.localization.render('help.videos.watch')</a>
      <span class="videoCard-duration">
        $escapetool.xml($data.duration)
      </span>
    </div>
  </div>
#end
{{/velocity}}

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Help.Videos.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.