# 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:** 12

<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 日 06:51 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/12 "2016-04-26T06:51:08Z")

</div>

YouTube communicates the fact it is playing via APIs, in fact we don’t cloak YouTube already due to these kind of hacks.

Soundcloud has them as well [Widget API - SoundCloud Developers](https://developers.soundcloud.com/docs/api/html5-widget#methods)

If wiring all the APIs is too hard I would be fine with a site setting of “don’t cloak posts with potentially playing media”, since the count is so low it probably makes no diff. Then all onebox needs to do is surface the fact that a onebox is “playable” by adding something like a `playable` class to the element.

---

_[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)._
