handleVastResult = function (pass, adOptionsList) {
            if (pass && Array.isArray(adOptionsList) && !playerInstance.displayOptions.vastOptions.allowVPAID && adOptionsList.some(adOptions => adOptions.vpaid)) {
                adOptionsList = adOptionsList.filter(adOptions => adOptions.vpaid !== true);
                playerInstance.announceLocalError('103', 'VPAID not allowed, so skipping this VAST tag.')
            }

            if (pass && Array.isArray(adOptionsList) && adOptionsList.length) {

                playerInstance.adPool[rollListId] = [];

                adOptionsList.forEach((tmpOptions, index) => {
                    tmpOptions.id = rollListId + '_AD' + index;
                    tmpOptions.rollListId = rollListId;

                    if (tmpOptions.adType === 'linear') {

                        if ((typeof tmpOptions.iconClick !== 'undefined') && (tmpOptions.iconClick !== null) && tmpOptions.iconClick.length) {
                            tmpOptions.landingPage = tmpOptions.iconClick;
                        }

                        const selectedMediaFile = playerInstance.getSupportedMediaFileObject(tmpOptions.mediaFileList);
                        if (selectedMediaFile) {
                            tmpOptions.mediaType = selectedMediaFile.mediaType;
                        }

                    }

                    tmpOptions.adType = tmpOptions.adType ? tmpOptions.adType : 'unknown';
                    playerInstance.adPool[rollListId].push(Object.assign({}, tmpOptions));

                    if (playerInstance.hasTitle()) {
                        const title = playerInstance.domRef.wrapper.querySelector('.fp_title');
                        title.style.display = 'none';
                    }

                    playerInstance.rollsById[rollListId].ads.push(tmpOptions);
                });

                playerInstance.rollsById[rollListId].vastLoaded = true;

                const event = document.createEvent('Event');

                event.initEvent('adId_' + rollListId, false, true);
                playerInstance.domRef.player.dispatchEvent(event);
                playerInstance.displayOptions.vastOptions.vastAdvanced.vastLoadedCallback();
            } else {
                // when vast failed
                playerInstance.announceLocalError('101');

                if (vastObj.hasOwnProperty('fallbackVastTags') && vastObj.fallbackVastTags.length > 0) {
                    vastTag = vastObj.fallbackVastTags.shift();
                    playerInstance.processUrl(vastTag, handleVastResult, rollListId);
                } else {
                    if (vastObj.roll === 'preRoll') {
                        playerInstance.preRollFail(vastObj);
                    }
                    playerInstance.rollsById[rollListId].error = true;
                }
            }
        }
Parse the VAST Tag

@param vastObj