Изменения документа JW Player

Редактировал(а) Coluns 2024/06/14 03:46

От версии 3.1
отредактировано Coluns
на 2024/06/14 03:46
Изменить комментарий: Install extension [org.xwiki.contrib:macro-jwplayer-ui/2.2.1]
К версии 2.1
отредактировано Coluns
на 2023/11/19 12:17
Изменить комментарий: Migrated property [type] from class [XWiki.WikiMacroParameterClass]

Сводка

Подробности

XWiki.WikiMacroClass[0]
Код
... ... @@ -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 = [
defaultCategory
... ... @@ -1,1 +1,0 @@
1 -Content