Changes for page JW Player
Last modified by Frank Fock on 2025/01/26 23:08
From version 1.1
edited by Frank Fock
on 2024/02/07 18:16
on 2024/02/07 18:16
Change comment:
Install extension [org.xwiki.contrib:macro-jwplayer-ui/2.1.10]
To version 2.1
edited by Frank Fock
on 2025/01/26 23:08
on 2025/01/26 23:08
Change comment:
Install extension [org.xwiki.contrib:macro-jwplayer-ui/2.2.1]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -10,8 +10,8 @@ 10 10 #set ($attachmentReference = $services.model.resolveAttachment($reference, 'explicit', $doc.documentReference)) 11 11 #set ($reference = $xwiki.getAttachmentURL($services.model.serialize($attachmentReference.parent), $attachmentReference.name)) 12 12 #end 13 -#set ($width = $m athtool.toInteger($xcontext.macro.params.width))14 -#set ($height = $m athtool.toInteger($xcontext.macro.params.height))13 +#set ($width = $numbertool.toNumber($xcontext.macro.params.width).intValue()) 14 +#set ($height = $numbertool.toNumber($xcontext.macro.params.height).intValue()) 15 15 #set ($autostart = $xcontext.macro.params.autostart == 'true') 16 16 #set ($repeat = $xcontext.macro.params.repeat == 'true') 17 17 #set ($attributes = [ - defaultCategory
-
... ... @@ -1,0 +1,1 @@ 1 +Content