# NEWBIE - Boolian attribute does not work

**URL:** <https://forum.codewithmosh.com/t/newbie-boolian-attribute-does-not-work/5777>\
**Category:** HTML/CSS\
**Created:** [June 29, 2021, 3:22pm UTC](https://forum.codewithmosh.com/t/newbie-boolian-attribute-does-not-work/5777 "2021-06-29T15:22:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Potato86](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@Potato86](https://forum.codewithmosh.com/u/Potato86)\
**Post date:** [June 29, 2021, 3:22pm UTC](https://forum.codewithmosh.com/t/newbie-boolian-attribute-does-not-work/5777/1 "2021-06-29T15:22:19Z")

</div>

Hi All,

can someone help me identify what I have wrong in code below? I’ve added video on webpage with controls, but I’m unable to autoplay or loop using Google Chrome.

video {  
width: 400px;  
}

---

<div class="post-metadata">

**Author:** ![TaserFace20](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@TaserFace20](https://forum.codewithmosh.com/u/TaserFace20)\
**Post date:** [June 29, 2021, 4:26pm UTC](https://forum.codewithmosh.com/t/newbie-boolian-attribute-does-not-work/5777/2 "2021-06-29T16:26:40Z")

</div>

Hey there, Here is an example that worked for me.

```auto
    <video
      autoplay="autoplay"
      loop="loop"
      controls="controls"
      muted=""
      width="640"
      height="360"
    >
      <source
        src="http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4"
        type="video/mp4"
      />
    </video> 

```

---

<div class="post-metadata">

**Author:** ![Potato86](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@Potato86](https://forum.codewithmosh.com/u/Potato86)\
**Post date:** [June 29, 2021, 4:44pm UTC](https://forum.codewithmosh.com/t/newbie-boolian-attribute-does-not-work/5777/3 "2021-06-29T16:44:24Z")

</div>

Hey there, it worked, thank you very much !
