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 (3 změněno, 0 přidáno, 0 odstraněno)
Rozpis
- Na stránce změněno:
-
- Obsah
-
... ... @@ -6,14 +6,6 @@ 6 6 7 7 {{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40" shadow="0" zoom="1"/}} 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
-
... ... @@ -6,12 +6,6 @@ 6 6 #if ($shadow == 0) 7 7 #set($shadow = "") 8 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,7 +22,7 @@ 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)19 + #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "&shadow=" + $shadow + "#" + $time) 26 26 #set ($src = "https://xcvid.com/embed.php" + $suffix) 27 27 <div class="xdocLastModification">Interaktivní 3D pohled.</div> 28 28 <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src$suffix">XCVID let</a></iframe>
- XWiki.WikiMacroParameterClass[1]
-
- Parameter default value
-
... ... @@ -1,1 +1,1 @@ 1 - 11 +0
- XWiki.WikiMacroParameterClass[3]
-
- Parameter default value
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Parameter description
-
... ... @@ -1,1 +1,1 @@ 1 - Víceodzoomovat?(1;0)Default11 +Širší zoom kamery (hodnoty: 1 ) - jinak nechat prázdné