# Embedded Video not working

**URL:** <https://talk.jekyllrb.com/t/embedded-video-not-working/4770>\
**Category:** Help\
**Created:** [July 26, 2020, 3:07pm UTC](https://talk.jekyllrb.com/t/embedded-video-not-working/4770 "2020-07-26T15:07:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dancingmonkey](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/dancingmonkey/32/4275_2.png) [@dancingmonkey](https://talk.jekyllrb.com/u/dancingmonkey)\
**Post date:** [July 26, 2020, 3:07pm UTC](https://talk.jekyllrb.com/t/embedded-video-not-working/4770/1 "2020-07-26T15:07:20Z")

</div>

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.
    </video>
  </div>
</div>
```

---

<div class="post-metadata">

**Author:** ![michaelbach](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelbach/32/2151_2.png) [@michaelbach](https://talk.jekyllrb.com/u/michaelbach)\
**Post date:** [July 27, 2020, 5:26am UTC](https://talk.jekyllrb.com/t/embedded-video-not-working/4770/2 "2020-07-27T05:26:40Z")

</div>

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!
