Spaces:
Paused
Paused
Commit
·
61055a4
1
Parent(s):
92864d8
let's drop the download rewrite, it doesn't work
Browse files
src/components/business/tasks/columns.tsx
CHANGED
@@ -83,8 +83,8 @@ export const columns: ColumnDef<VideoTask>[] = [
|
|
83 |
<a
|
84 |
className="hover:underline cursor-pointer"
|
85 |
target="_blank"
|
86 |
-
href={
|
87 |
-
<video src={
|
88 |
</a>
|
89 |
</div>,
|
90 |
enableSorting: false,
|
@@ -99,7 +99,7 @@ export const columns: ColumnDef<VideoTask>[] = [
|
|
99 |
<a
|
100 |
className="hover:underline cursor-pointer"
|
101 |
target="_blank"
|
102 |
-
href={
|
103 |
</div>,
|
104 |
enableSorting: false,
|
105 |
enableHiding: false,
|
|
|
83 |
<a
|
84 |
className="hover:underline cursor-pointer"
|
85 |
target="_blank"
|
86 |
+
href={`${process.env.NEXT_PUBLIC_DOWNLOAD_URL}/${row.getValue("fileName")}`}>
|
87 |
+
<video src={`${process.env.NEXT_PUBLIC_DOWNLOAD_URL}/${row.getValue("fileName")}?progress=${row.getValue("progressPercent") || 0}`} muted autoPlay loop />
|
88 |
</a>
|
89 |
</div>,
|
90 |
enableSorting: false,
|
|
|
99 |
<a
|
100 |
className="hover:underline cursor-pointer"
|
101 |
target="_blank"
|
102 |
+
href={`/${process.env.NEXT_PUBLIC_DOWNLOAD_URL}/${row.getValue("fileName")}`}>Download</a>
|
103 |
</div>,
|
104 |
enableSorting: false,
|
105 |
enableHiding: false,
|