# Increase the post cloaking threashold, or check first if media is playing before cloaking a post on scroll

**URL:** <https://meta.discourse.org/t/increase-the-post-cloaking-threashold-or-check-first-if-media-is-playing-before-cloaking-a-post-on-scroll/43026>\
**Category:** Feature\
**Created:** [2016 年4 月 23 日 01:35 UTC](https://meta.discourse.org/t/increase-the-post-cloaking-threashold-or-check-first-if-media-is-playing-before-cloaking-a-post-on-scroll/43026 "2016-04-23T01:35:00Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2016 年4 月 26 日 05:12 UTC](https://meta.discourse.org/t/increase-the-post-cloaking-threashold-or-check-first-if-media-is-playing-before-cloaking-a-post-on-scroll/43026/10 "2016-04-26T05:12:34Z")

</div>

We are fine with core Discourse to have the smarts not to cloak posts with oneboxes that have currently playing sound.

Technically, there is no simple way to ask the DOM: “hi DOM is anything playing in element #t” so this means we need to be a specific change to various oneboxes to add this info so we could decide if to unload or not.

If you can get someone to build it cleanly we would be more than happy to consider the PRs required.

---

_[View the full topic](https://meta.discourse.org/t/increase-the-post-cloaking-threashold-or-check-first-if-media-is-playing-before-cloaking-a-post-on-scroll/43026)._
