mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
test(vast): [PKG-VAST-05] checkpoint native tag requests and skip controls
This commit is contained in:
1 parent
75da50a454
commit
09459955c6
13 files changed
+1789
-9
No files matched your search
@@ -0,0 +1,10 @@
|
||||
export function skippableVast(origin) {
|
||||
return `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VAST version="3.0"><Ad id="artplayer-skippable"><InLine>
|
||||
<AdSystem version="1">ArtPlayer test fixture</AdSystem><AdTitle>Local skippable ad</AdTitle>
|
||||
<Impression><![CDATA[${origin}/assets/vast/nonlinear-320x50.png?tracking=impression]]></Impression>
|
||||
<Creatives><Creative><Linear skipoffset="00:00:05"><Duration>00:00:08</Duration>
|
||||
<TrackingEvents><Tracking event="skip"><![CDATA[${origin}/assets/vast/nonlinear-320x50.png?tracking=skip]]></Tracking></TrackingEvents>
|
||||
<MediaFiles><MediaFile delivery="progressive" type="video/mp4" width="320" height="180"><![CDATA[${origin}/test/pattern.mp4?skippable=1]]></MediaFile></MediaFiles>
|
||||
</Linear></Creative></Creatives></InLine></Ad></VAST>`
|
||||
}
|
||||
Reference in new issue
Block a user