Pushkar Anand пре 4 година
родитељ
комит
8f27d7636f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/pages/gallery/index.tsx

+ 2 - 2
src/pages/gallery/index.tsx

@@ -104,7 +104,7 @@ export default function Gallery() {
         if (data[index].metadata.fileType === 1) {
         if (data[index].metadata.fileType === 1) {
             data[index].html = `
             data[index].html = `
                 <video controls>
                 <video controls>
-                    <source src="${url}" type="video/mp4">
+                    <source src="${url}" />
                     Your browser does not support the video tag.
                     Your browser does not support the video tag.
                 </video>
                 </video>
             `;
             `;
@@ -159,7 +159,7 @@ export default function Gallery() {
             if (item.metadata.fileType === 1) {
             if (item.metadata.fileType === 1) {
                 item.html = `
                 item.html = `
                     <video width="320" height="240" controls>
                     <video width="320" height="240" controls>
-                        <source src="${url}" type="video/mp4">
+                        <source src="${url}" />
                         Your browser does not support the video tag.
                         Your browser does not support the video tag.
                     </video>
                     </video>
                 `;
                 `;