Changes for page JW Player
Last modified by Scott Gagan on 2025/08/19 20:51
From version 8.1
edited by Scott Gagan
on 2025/08/19 20:51
on 2025/08/19 20:51
Change comment:
Install extension [org.xwiki.contrib:macro-jwplayer-ui/2.2.1]
To version 4.1
edited by superadmin
on 2025/05/16 18:09
on 2025/05/16 18:09
Change comment:
Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s cottg1 +XWiki.superadmin
- 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 = $ numbertool.toNumber($xcontext.macro.params.width).intValue())14 -#set ($height = $ numbertool.toNumber($xcontext.macro.params.height).intValue())13 +#set ($width = $mathtool.toInteger($xcontext.macro.params.width)) 14 +#set ($height = $mathtool.toInteger($xcontext.macro.params.height)) 15 15 #set ($autostart = $xcontext.macro.params.autostart == 'true') 16 16 #set ($repeat = $xcontext.macro.params.repeat == 'true') 17 17 #set ($attributes = [