# تنظيم محتويات الفيديو

**URL:** https://meta.discourse.org/t/organize-video-contents/206902
**Category:** Support
**Created:** [24 أكتوبر 2021، 3:30م UTC](https://meta.discourse.org/t/organize-video-contents/206902 "2021-10-24T15:30:13Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [24 أكتوبر 2021، 5:00م UTC](https://meta.discourse.org/t/organize-video-contents/206902/5 "2021-10-24T17:00:54Z")

</div>

> [@Patching Discourse's search](https://meta.discourse.org/t/patching-discourses-search/157156/2?u=moin):
>
> You can extend search from your plugin, for example you could add an advanced filter like this: require\_dependency 'search' if Search.respond\_to? :advanced\_filter Search.advanced\_filter(/with:video/) do |posts| posts.where("posts.cooked LIKE '%\<video %'") end end The above will only display posts containing videos when the search box includes the with:video keyword. See also the [badge advanced filter](https://github.com/discourse/discourse/blob/master/lib/search.rb#L359-L359) for an example of a search query that takes user data into account.

---

_[View the full topic](https://meta.discourse.org/t/organize-video-contents/206902)._
