0 Votes

Wiki source code of Conditioning

Version 30.1 by Ryan C on 2025/04/28 06:09

Hide last authors
Ryan C 25.1 1 {{velocity}}
2 #set ($attachmentName = "Propaganda.mp4")
3 #set ($attachmentURL = "$doc.getAttachmentURL($attachmentName, 'download')")
XWikiGuest 1.1 4
Ryan C 25.1 5 #if ($attachmentURL)
Ryan C 29.1 6 <verbatim>
7 <video width="640" height="360" controls>
8 <source src="$attachmentURL" type="video/mp4">
9 Your browser does not support the video tag.
10 </video>
11 </verbatim>
12
Ryan C 25.1 13 #else
14 <p>Error: Could not find attachment '$attachmentName'. Please ensure it exists and the filename is correct.</p>
15 #end
16 {{/velocity}}
XWikiGuest 1.1 17

XWiki AI Chat