grommet-designer icon indicating copy to clipboard operation
grommet-designer copied to clipboard

Unsure how to use the Video component

Open rodenp opened this issue 5 years ago • 0 comments

Hi, Firstly I have just stumbled across grommet and it's incredible. Thank you for all those who are involved.

I am trying to use the designer to mock up some test pages. I tried to add the Video component and am unsure what to put i the Source property. I have tried all sorts of things and nothing seems to work.

   a) 'http://v2.grommet.io/assets/small.mp4'
   b) key="video" src="//v2.grommet.io/assets/small.mp4'" type="video/mp4"

I am looking at the https://v2.grommet.io/video documentation which mentions:

  <source key="video" src="/assets/small.mp4" type="video/mp4" />

rodenp avatar Nov 17 '19 14:11 rodenp