ilableQualityLevels() {
        return prepareDataForPlatform(player.getAvailableQualityLevels());
      }

      function setPlaybackQuality(quality) {
        return player.setPlaybackQuality(quality);
      }

      function prepareDataForPlatform(data) {
        if(platform == 'android') return data;

        return JSON.stringify(data);
      }

      function handleFullScreenForMobilePlatform() {
        if(platform != 'web') {
          var ytFrame = document.getElementsByTagName('iframe')[0].content