# YouTube player api - Quality not working

**URL:** <https://forum.kirupa.com/t/youtube-player-api-quality-not-working/316313>\
**Category:** flash\
**Created:** [November 18, 2010, 9:20am UTC](https://forum.kirupa.com/t/youtube-player-api-quality-not-working/316313 "2010-11-18T09:20:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fikontrollet](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Post date:** [November 18, 2010, 9:20am UTC](https://forum.kirupa.com/t/youtube-player-api-quality-not-working/316313/1 "2010-11-18T09:20:08Z")

</div>

Hey  
As title suggests, the player doesn’t seem to respond to any quality changes.  
Every time I trace out the playbackQuality it always gives me “small”.  
Any thoughts on this matter?

```auto

private function onPlayerReady(e : Event) : void {
            this.player.removeEventListener(YouTubeEvent.ON_READY, onPlayerReady);
            this.player.setSize($w, $h);
            this.dispatchEvent(new Event(Event.INIT));
            
            // Play or Queue the Player Object
            this.$play ? this.player.loadVideoById(this.$id, 0, this.$quality.name) : this.player.cueVideoById(this.$id, 0, this.$quality.name);
            this.player.setPlaybackQuality("hd1080"); // this doesn't seem do s***
        }

```
