# Twitter (and Dailymotion) video onebox autoplays without user interaction

**URL:** https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926
**Category:** Bug
**Created:** [February 5, 2017, 12:03am UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926 "2017-02-05T00:03:23Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![SimeonGriggs](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@SimeonGriggs](https://meta.discourse.org/u/SimeonGriggs)
#### Post date: [April 3, 2017, 9:27am UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926/21 "2017-04-03T09:27:20Z")

</div>

Ah, maybe not autoplay but I’ve definitely seen HTML5 videos autoloading.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [April 3, 2017, 9:49am UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926/22 "2017-04-03T09:49:36Z")

</div>

Discourse doesn’t set the `preload` attribute of oneboxed HTML5 videos, so it’s entirely up to the browser whether to load the video. At a guess, I’d say that desktop browsers will tend to load it, and mobile browsers will tend not to. We could add `preload="metadata"` so that only the video metadata is loaded until the video is clicked. That discussion should probably be in a new thread, as it’s not really part of this 🐛.

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [April 11, 2017, 3:14am UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926/23 "2017-04-11T03:14:03Z")

</div>

> [@SimeonGriggs](#):
>
> It’s also an issue when a direct URL to a video is turned into an HTML video, it autoplays.

Yep, I have a Vimeo video that is only sharable via private link, whiteboxed to my domain, that autoplays whenever you open the topic. For now, I’ll just have to link to the video instead of one boxing it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 9, 2017, 5:42pm UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926/24 "2017-05-09T17:42:22Z")

</div>

The OP is fixed now, so I am closing this!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 9, 2017, 5:42pm UTC](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926/25 "2017-05-09T17:42:25Z")

</div>



[Previous page](https://meta.discourse.org/t/twitter-and-dailymotion-video-onebox-autoplays-without-user-interaction/56926.md?page=1)
