GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

Video throwing error #3126

Closed mohd7469 closed 2 years ago

mohd7469 commented 3 years ago

on click to upload button side preview works fine but when clicking on that video preview it throws error and rest of all images stop working, I need to show video in canvas body like images are shown

gif

this is what I am doing

image

image

Here you see live

mohd7469 commented 3 years ago

@artf can you tell me please how can I upload and preview video files rather then images?

ZeroCoolHacker commented 3 years ago

@awais786327 I am also struggling with uploading different assets. Maybe this can help. https://grapesjs.com/docs/modules/Assets.html#uploading-assets

ZeroCoolHacker commented 3 years ago

@awais786327 I have looked at the site and it looks like that you need to add autoplay="true" in your video tag to make it play

mohd7469 commented 3 years ago

@ZeroCoolHacker my point to say is the video needs to be shown in canvas /editor body (at backside) not in asset manager modal window

bgrand-ch commented 3 years ago

Hello,

For future questions or technical issues, which aren't bugs, GitHub's Discussions tab is the place to be.

Don't forget to close this issue if it is resolved or write a new detailed message in Discussions -> Q&A category (and close this issue).

Thank you for your understanding.