0 Votes

Changes for page Conditioning

Last modified by Ryan C on 2025/09/10 21:14

From version 19.1
edited by Ryan C
on 2025/04/28 05:41
Change comment: There is no comment for this version
To version 28.1
edited by Ryan C
on 2025/04/28 06:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,16 +9,12 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}
2 -{{toc/}}
3 -{{/box}}
4 -
5 -= Paragraph 1 =
6 -
7 -The conditioning of Western society has been imposed on it for decades but which have reached a level of absurdity that's unmatched in all of recorded history only recently.
8 -
9 9  {{velocity}}
10 -#set ($attachmentURL = "$doc.getAttachmentURL('Propaganda.mp4', 'download')")
11 -<video width="640" height="360" controls>
12 - <source src="$attachmentURL" type="video/mp4">
13 - Your browser does not support the video tag.
14 -</video>
2 +#set ($attachmentName = "Propaganda.mp4")
3 +#set ($attachmentURL = "$doc.getAttachmentURL($attachmentName, 'download')")
4 +
5 +#if ($attachmentURL)
6 + #set ($videoTag = "<video width='640' height='360' controls><source src='" + $attachmentURL + "' type='video/mp4'>Your browser does not support the video tag.</video>")
7 + $esc.html($videoTag)
8 +#else
9 + <p>Error: Could not find attachment '$attachmentName'. Please ensure it exists and the filename is correct.</p>
10 +#end
15 15  {{/velocity}}
16 16  
Propaganda.mp4
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AdminAngriff
Size
... ... @@ -1,0 +1,1 @@
1 +1524.6 MB
Content