0 Votes

Changes for page Conditioning

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

From version 26.1
edited by Ryan C
on 2025/04/28 05:59
Change comment: There is no comment for this version
To version 27.1
edited by Ryan C
on 2025/04/28 06:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,9 +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 + #set ($encodedAttachmentURL = "{{url reference=\"\$${attachmentURL}\" display=\"link\"}}")
7 7   <video width="640" height="360" controls>
8 - <source src="$encodedAttachmentURL" type="video/mp4">
8 + <source src="${encodedAttachmentURL}" type="video/mp4">
9 9   Your browser does not support the video tag.
10 10   </video>
11 11  #else
... ... @@ -13,3 +13,4 @@
13 13  #end
14 14  {{/velocity}}
15 15  
16 +