mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-21 09:59:34 +03:00
✨ Add support to display binary video content
This commit is contained in:
parent
2e40a0e64e
commit
b49202687d
@ -14,6 +14,10 @@
|
||||
<div v-if="!binaryData">
|
||||
Data to display did not get found
|
||||
</div>
|
||||
<video v-else-if="binaryData.mimeType && binaryData.mimeType.startsWith('video/')" controls autoplay>
|
||||
<source :src="'data:' + binaryData.mimeType + ';base64,' + binaryData.data" :type="binaryData.mimeType">
|
||||
Your browser does not support the video element. Kindly update it to latest version.
|
||||
</video>
|
||||
<embed v-else :src="'data:' + binaryData.mimeType + ';base64,' + binaryData.data" class="binary-data" :class="embedClass"/>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user