VAST错误:在VASTClient.buildVastTree

时间:2015-08-12 02:15:34

标签: javascript xml video.js vast

我使用VideoJS + VAST/VPAID plugin。尝试播放广告时,在任何 VAST / VPAID XML上出现此错误:

  

VIDEOJS:错误:(代码:4 MEDIA_ERR_SRC_NOT_SUPPORTED)视频可以   无法加载,因为服务器或网络失败或因为   格式不受支持

我使用thisthis作为示例XML,以及我自己的一些。

控制台输出:

AD ERROR: VAST Error: on VASTClient.buildVastTree, error parsing xml z {message: "VAST Error: on VASTClient.buildVastTree, error parsing xml", code: 100}code: 100message: "VAST Error: on VASTClient.buildVastTree, error parsing xml"stack: (...)__proto__: Error
    at http://example.com/videojs/vpaid/videojs-vast-vpaid.min.js:2:29160
    at http://example.com/videojs/vpaid/videojs-vast-vpaid.min.js:3:6281name: "VAST Error"stack: (...)get stack: ()arguments: nullcaller: nulllength: 0name: ""prototype: aK__proto__: ()<function scope>No Scopesset stack: ()arguments: nullcaller: nulllength: 1name: ""prototype: aN__proto__: ()<function scope>__proto__: DefineError.aTconstructor: Error()message: ""name: "Error"toString: toString()__proto__: Object__defineGetter__: __defineGetter__()__defineSetter__: __defineSetter__()__lookupGetter__: __lookupGetter__()__lookupSetter__: __lookupSetter__()constructor: Object()hasOwnProperty: hasOwnProperty()isPrototypeOf: isPrototypeOf()propertyIsEnumerable: propertyIsEnumerable()toLocaleString: toLocaleString()toString: toString()valueOf: valueOf()get __proto__: get __proto__()set __proto__: set __proto__() undefined

任何想法如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

好的,没关系,我只是修复了所有JS库文件,可能是某种解析错误。