Issue #2343Opened October 18, 2019by jeff-panart0 reactions

Add html5 video

Question

Hi,

How should one add a html5 video to grapesjs?

I uploaded both a webm and mp4 file, added a video component on my grapesjs page and under Settings I chose HTML5 Source. Then I added the complete path to the video file. Only thing I get back is a black element, without any video. For test purposes I change the complete path to just /video/file.mp4 en .../file.webm, but no luck so far.

If I change to a youtube video, all seems to work fine.

Console doesn't give any errors back either, so I'm in a bit of a tiffy...

Any tips would be appreciated.

Answers (1)

artfOctober 19, 20190 reactions

Those video files should be served from the server (local or remote one), the browser shouldn't be able to read your local files for security reason

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.