0 Votes

Changes for page Conditioning

Last modified by Ryan C on 2025/06/24 13:29

From version 25.1
edited by Ryan C
on 2025/04/28 05:59
Change comment: There is no comment for this version
To version 29.1
edited by Ryan C
on 2025/04/28 06:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,13 +3,15 @@
3 3  #set ($attachmentURL = "$doc.getAttachmentURL($attachmentName, 'download')")
4 4  
5 5  #if ($attachmentURL)
6 - <video width="640" height="360" controls>
7 - <source src="$attachmentURL" type="video/mp4">
8 - Your browser does not support the video tag.
9 - </video>
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 +
10 10  #else
11 11   <p>Error: Could not find attachment '$attachmentName'. Please ensure it exists and the filename is correct.</p>
12 12  #end
13 13  {{/velocity}}
14 14  
15 -

XWiki AI Chat