# Quality popup before "Play"

**URL:** <https://forums.plex.tv/t/quality-popup-before-play/54467>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [January 17, 2014, 3:52pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467 "2014-01-17T15:52:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![realriot](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@realriot](https://forums.plex.tv/u/realriot)\
**Post date:** [January 17, 2014, 3:52pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/1 "2014-01-17T15:52:23Z")

</div>

I've seen that's there's a popup before the playback starts within the "Apple Trailers" plugin. I think that this is automatically created by Plex.

But is there any chance to realize it by myself? So I can choose which quality will be streamed from a live-source...

&nbsp;

I've attached a screenshot to show which popup I mean...

&nbsp;

Greets

Sascha

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [January 17, 2014, 5:13pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/2 "2014-01-17T17:13:49Z")

</div>

That popup is generated when you include more than one MediaObject in the MediaObjectsForURL() function of the URL Service. &nbsp;Most Plex client apps (generally the mobile ones) skip the popup and make an "intelligent" selection based on user settings, wifi vs 3/4G, local vs remote, etc. PHT (and I believe Plex/Web) have settings to auto-select from the list and skip the popup as well.

If you're not using an URL Service, it will be a little more complicated but should still be do-able. The main idea is to return a list of MediaObjects each with a different resolution from the method that is constructing the VideoClipObject. I can't think of any examples where this is done without an URL Service but if you look in the Services.bundle, there are lots of examples that use it there.

---

<div class="post-metadata">

**Author:** ![realriot](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@realriot](https://forums.plex.tv/u/realriot)\
**Post date:** [January 17, 2014, 7:20pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/3 "2014-01-17T19:20:29Z")

</div>

Damn :-)

Do I always have so strange requirements or why I'm continously faced with undocumented individual solutions :-)&nbsp;

---

<div class="post-metadata">

**Author:** ![realriot](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@realriot](https://forums.plex.tv/u/realriot)\
**Post date:** [January 17, 2014, 7:42pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/4 "2014-01-17T19:42:42Z")

</div>

You were right. Just adding MediaObjects with different resolutions will show this popup...

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [January 17, 2014, 11:07pm UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/5 "2014-01-17T23:07:20Z")

</div>

> [@](#):
>
> Damn 🙂  
>   
> Do I always have so strange requirements or why I’m continously faced with undocumented individual solutions 🙂

It’s not just you 🙂 Just that (unfortunately) the documentation is lacking.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 1:03am UTC](https://forums.plex.tv/t/quality-popup-before-play/54467/6 "2019-12-21T01:03:59Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
