Změny dokumentu XCVID
Naposledy upravil David Brazda 08.04.2021 16:25
Popis verze:
Návrat k verzi 42.13
Přehled
-
Na stránce změněno: (1 změněno, 0 přidáno, 0 odstraněno)
-
Objects (2 změněno, 0 přidáno, 2 odstraněno)
Rozpis
- Na stránce změněno:
-
- Obsah
-
... ... @@ -4,16 +4,8 @@ 4 4 5 5 ~{~{xcvid url="https:~/~/www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27"/}} 6 6 7 -{{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40" shadow="0" zoom="1"/}}7 +{{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40"/}} 8 8 9 +**Dodělat:** 9 9 10 -**parametr Zoom (více odzoompat)** 11 - 12 -1 - odzoomováno 13 - 14 -0 - standard pohled 15 - 16 - 17 -**TBD přidat** 18 - 19 -&trackPilot=0 11 +- kameru - alespoň možnost odzoomovat si (standard, wide, superwide)
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -2,16 +2,6 @@ 2 2 #set($url = $xcontext.macro.params.get('url')) 3 3 #set($flight = $xcontext.macro.params.get('flight')) 4 4 #set($time = $xcontext.macro.params.get('time')) 5 -#set($shadow = $xcontext.macro.params.get('shadow')) 6 -#if ($shadow == 0) 7 - #set($shadow = "") 8 -#end 9 -#set($zoom = $xcontext.macro.params.get('zoom')) 10 -#if ($zoom == 0) 11 - #set($zoom = "") 12 -#else 13 - #set($zoom = "0,-2500,400,") 14 -#end 15 15 ##find just the right part from the xcontest 16 16 #set ($regexResult = $regextool.find($url, '^https:\/\/www.xcontest.org\/[\w\/]+:([-\w.]+\/\d\d?\.\d\d?\.\d{4}\/\d\d:\d\d)($|\?|#)')) 17 17 {{html}} ... ... @@ -22,10 +22,10 @@ 22 22 ##$url.substring($regexResult.get(1).start,$regexResult.get(1).end) 23 23 Neplatný odkaz na tracklog. Např. https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27 24 24 #else 25 - #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + " &shadow=" + $shadow + "&viewFrom=" + $zoom + "#" + $time)15 + #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "#" + $time) 26 26 #set ($src = "https://xcvid.com/embed.php" + $suffix) 27 27 <div class="xdocLastModification">Interaktivní 3D pohled.</div> 28 - <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src $suffix">XCVID let</a></iframe>18 + <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src">XCVID let</a></iframe> 29 29 <!-- <div class="xdocLastModification"><a href="$url" title="Let na xcontestu">XContest</a></div> --> 30 30 #end 31 31 {{/html}}
- XWiki.WikiMacroParameterClass[1]
-
- Parameter default value
-
... ... @@ -1,1 +1,1 @@ 1 - 11 +0
- XWiki.WikiMacroParameterClass[2]
-
- Parameter default value
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -Má být zobrazen na zemi stín tracklogu (hodnoty: 1 nebo 0) Použití: 1 - při přeletech, 0 při svahovačkách - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -0 - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -shadow
- XWiki.WikiMacroParameterClass[3]
-
- Parameter default value
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -Více odzoomovat? (1;0) Default 1 - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -0 - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -zoom