# Media player stops playing when you scroll through a topic/thread. Didn't used to do this

**URL:** <https://meta.discourse.org/t/media-player-stops-playing-when-you-scroll-through-a-topic-thread-didnt-used-to-do-this/54806>\
**Category:** Product Support\
**Created:** [Décembre 26, 2016, 11:58 UTC](https://meta.discourse.org/t/media-player-stops-playing-when-you-scroll-through-a-topic-thread-didnt-used-to-do-this/54806 "2016-12-26T23:58:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [Décembre 27, 2016, 2:39 UTC](https://meta.discourse.org/t/media-player-stops-playing-when-you-scroll-through-a-topic-thread-didnt-used-to-do-this/54806/4 "2016-12-27T02:39:31Z")

</div>

Looks like `cloak` is only prevented on [YouTube](https://github.com/discourse/discourse/blob/782b062baa4bf070c42aea354e9f375512e5105c/plugins/lazyYT/assets/javascripts/initializers/lazyYT.js.es6) videos and on [polls](https://github.com/discourse/discourse/blob/f07443b488c048665546fb233615c67b2ea5bbe9/plugins/poll/assets/javascripts/initializers/extend-for-poll.js.es6#L56).

I believe we would need to listed to play/pause events to handle this properly.

---

_[View the full topic](https://meta.discourse.org/t/media-player-stops-playing-when-you-scroll-through-a-topic-thread-didnt-used-to-do-this/54806)._
