Změny dokumentu XCVID
                  Naposledy upravil David Brazda 08.04.2021 16:25
              
      
      Popis verze:
              Update document after refactoring.
          
   Přehled
- 
          Na stránce změněno: (1 změněno, 0 přidáno, 0 odstraněno)
 - 
          Objects (1 změněno, 0 přidáno, 0 odstraněno)
 
Rozpis
- Na stránce změněno:
 - 
      
- Obsah
 -   
... ... @@ -1,7 +1,10 @@ 1 1 **Macro pro xcvid** 2 2 3 - ~{~{xcvid url="https:~/~/xcvid.com/embed.php?flight=2368351#1313"/}}3 +příklad: 4 4 5 +~{~{xcvid url="https:~/~/www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27"/}} 6 + 5 5 {{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40"/}} 6 6 7 7 10 +  
 
- XWiki.WikiMacroClass[0]
 -   
- Macro code
 -   
... ... @@ -12,9 +12,10 @@ 12 12 ##$regexResult.get(1).end 13 13 ##$regexResult.get(1).start 14 14 ##$url.substring($regexResult.get(1).start,$regexResult.get(1).end) 15 - Neplatný odkaz na tracklog. Tracklogmusí být ve formátuhttps://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:2715 + Neplatný odkaz na tracklog. Např. https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27 16 16 #else 17 17 #set ($src = "https://xcvid.com/embed.php?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "#" + $time) 18 + <div class="xdocLastModification">Interaktivní 3D pohled. <a href="$url" title="Let na xcontestu">XContest</a></div> 18 18 <iframe src="$src" id="xcvid" width="$!{escapetool.html($width)}" height="$!{escapetool.xml($height)}"><a href="$src">XCVID let</a></iframe> 19 19 #end 20 20 {{/html}}