# Paused videos resume when scrolling through pages

**URL:** https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572
**Category:** Bug
**Created:** [2017 年 1 月 30 日午前 8:46 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572 "2017-01-30T08:46:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![companyhen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/companyhen/32/121250_2.png) [@companyhen](https://meta.discourse.org/u/companyhen)
#### Post date: [2017 年 1 月 30 日午前 8:46 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/1 "2017-01-30T08:46:35Z")

</div>

This is mostly a problem in the [what are you listening to thread](http://forum.hiphopheads.com/t/what-are-you-listening-to/), if I’m checking out videos and then pause one and move on to the next, when I scroll up or down on that bar thing to get to new “pages” (even though its just continuous but you get what I’m saying) it will resume every single paused video.

---

<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: [2017 年 1 月 30 日午後 3:32 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/2 "2017-01-30T15:32:27Z")

</div>

I think we would need some special magical handling in the uncloaker here @eviltrout if we were to fix this

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2017 年 3 月 21 日午後 8:19 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/3 "2017-03-21T20:19:19Z")

</div>

I can’t seem to reproduce this one. If I visit that topic, pause a video, then scroll either via the scroll bar (or the topic timeline on the right) it stays paused.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017 年 8 月 15 日午後 10:47 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/4 "2017-08-15T22:47:01Z")

</div>

I can repro. Start a video, pause, then scroll up to load more of the topic. It is definitely annoying.

---

<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: [2017 年 8 月 16 日午後 12:42 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/5 "2017-08-16T12:42:06Z")

</div>

I thought @eviltrout determined that the fix to this was extra complicated in another topic?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [2017 年 8 月 16 日午後 3:56 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/6 "2017-08-16T15:56:03Z")

</div>

Do you mean this?

> [@Paused/finished YouTube videos automatically start playing when scrolling up far enough to load new posts](https://meta.discourse.org/t/embedded-youtube-videos-autoplay-randomly-when-scrolling-up/57692/5):
>
> I have spent a lot of time this afternoon on this issue and I feel like this issue might not be fixable unless someone else has a brilliant idea. The problem is in the virtual DOM with prepending (scrolling up). In this case, you are adding a bunch of elements (posts) to the beginning of an array. When the virtual DOM does its diff, it notices the element with the youtube \<iframe\> is not in the same place, so it removes and re-adds it later. This causes the youtube player to refresh the iframe,…

---

<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: [2020 年 1 月 10 日午前 6:01 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/7 "2020-01-10T06:01:37Z")

</div>

はい、この件は↑の理由によりクローズします。

この厄介なバグの解決に、エンジニアリングリソースを1週間以上費やしましたが、まだ解決できていません。

---

<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: [2020 年 1 月 10 日午前 6:01 UTC](https://meta.discourse.org/t/paused-videos-resume-when-scrolling-through-pages/56572/8 "2020-01-10T06:01:40Z")

</div>


