Embedded Video not working

Hey I’m having trouble playing video’s inside jekyll live environment but none outside. What seems to be the issue? I have no problems with looping muted playing and loading etc outside of jekyll env

<div class="container">
  <div class="video">
    <video width=100% preload="auto" muted loop>
      <source src="/assets/videos/my-vid.mp4" type="video/mp4">
      Your browser does not support the video tag.

In my code such things run well within Jekyll too. Here you might try the following:

  1. 100% with quotation marks around them
  2. ="auto" is not necessary

In my own code I usually have /> at the end of source, but that (I think) is not necessary.
Have you looked at the produced html code?
Good luck!