tnx-shared 5.8.2 → 5.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/tnx-shared.umd.js +3 -3
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/file-explorer/file-picker-dialog/file-picker-dialog.component.js +4 -4
- package/fesm2015/tnx-shared.js +3 -3
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +1 -1
|
@@ -36742,9 +36742,9 @@
|
|
|
36742
36742
|
else if (element.extension.toUpperCase() == '.MP4' || element.extension.toUpperCase() == '.AVI' || element.extension.toUpperCase() == '.MOV' || element.extension.toUpperCase() == '.WMV' || element.extension.toUpperCase() == '.FLV') {
|
|
36743
36743
|
result = '<div style="width:100%; margin-bottom: 15px"><video style="display: block;margin-left: auto;margin-right: auto;" width="500" height="auto" controls><source src="' + this._fileObjectService.endPoint + '/v5/FileObject/public/' + element.id + '/download" type="video/mp4"></video></div>';
|
|
36744
36744
|
}
|
|
36745
|
-
else if (element.extension.toUpperCase() == '.PDF') {
|
|
36746
|
-
|
|
36747
|
-
}
|
|
36745
|
+
// else if (element.extension.toUpperCase() == '.PDF') {
|
|
36746
|
+
// result = '<div style="width:100%; margin-bottom: 15px"><iframe style="aspect-ratio: 9/16;"" src="' + this._fileObjectService.endPoint + '/v5/FileObject/public/' + element.id + '/download" width="100%"></iframe></div>';
|
|
36747
|
+
// }
|
|
36748
36748
|
else {
|
|
36749
36749
|
result = '<a style="width:100%; margin-bottom: 15px" href="' + this._fileObjectService.endPoint + '/v5/FileObject/public/' + element.id + '/download">' + element.name + '</a>';
|
|
36750
36750
|
}
|