0 Votes

Changes for page Video Upload

Last modified by Ryan C on 2025/10/08 19:24

From version 6.3
Change comment: $escapetool.xml($targetDoc.comment)
To version 7.1
edited by Ryan C
on 2025/10/08 19:24
Change comment: Migrated property [contentOrder] from class [XWiki.WikiMacroClass]

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Video Upload
Parent
... ... @@ -1,0 +1,1 @@
1 +Macros.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +XWiki.AdminAngriff
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Content
XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No
Macro code
... ... @@ -1,0 +1,10 @@
1 +{{velocity}}
2 +#set($attachment = $wikimacro.parameters.video)
3 +
4 +#if ("$attachment" != '')
5 + {{video attachment="$attachment"/}}
6 +#else
7 + (% style="color:red; font-weight:bold;" %)Please select a video file to upload.
8 +#end
9 +{{/velocity}}
10 +
Macro content type
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.model.reference.AttachmentReference
Macro content availability
... ... @@ -1,0 +1,1 @@
1 +Optional
Macro description
... ... @@ -1,0 +1,1 @@
1 +Upload and embed a video with visual picker
Execution is isolated
... ... @@ -1,0 +1,1 @@
1 +No
Macro id
... ... @@ -1,0 +1,1 @@
1 +videoupload
Macro name
... ... @@ -1,0 +1,1 @@
1 +Video Upload
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +Global
XWiki.WikiMacroParameterClass[0]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +Select a video file to upload
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +video
Parameter type
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.model.reference.AttachmentReference Cont