... |
... |
@@ -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 |
|
- |