0 Votes

Changes for page Conditioning

Last modified by Ryan C on 2025/05/03 15:17

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 26.1
edited by Ryan C
on 2025/04/28 05:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,8 +3,9 @@
3 3  #set ($attachmentURL = "$doc.getAttachmentURL($attachmentName, 'download')")
4 4  
5 5  #if ($attachmentURL)
6 + #set ($encodedAttachmentURL = "{{url reference=\"${attachmentURL}\" display=\"link\"}}")
6 6   <video width="640" height="360" controls>
7 - <source src="$attachmentURL" type="video/mp4">
8 + <source src="$encodedAttachmentURL" type="video/mp4">
8 8   Your browser does not support the video tag.
9 9   </video>
10 10  #else
... ... @@ -12,4 +12,3 @@
12 12  #end
13 13  {{/velocity}}
14 14  
15 -