> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/compatible-vast-wrapper-players.md).

# 流内广告：兼容的 VAST Wrapper 播放器

流媒体广告位可以提供两种类型的 VAST 元素： **内联** 和 **包装器**。而 Inline 元素是你常规的视频广告，提供标准视频文件， **包装器** 元素则包含一个指向外部 VAST 标签的重定向，而后者同样可以提供其他 Inline 或 Wrapper 元素。

最具特色的组件是 `VASTAdTagURI`，它指定了此广告重定向到的外部 VAST：

```xml
<VAST version="3.0">
	<Ad id="6294520">
		<Wrapper>
			<AdSystem>ExoClick</AdSystem>
			<VASTAdTagURI>
				<![CDATA[ https://myotheradserver.com/xml?cid=1111111 ]]>
			</VASTAdTagURI>
			<Impression id="exotr">
				<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vimp&tracking_event=impression&idzone=22222&data=abcd ]]>
			</Impression>
			<Error>
				<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vview&errorcode=[ERRORCODE]&idzone=22222 ]]>
			</Error>
			<Creatives>
				<Creative sequence="1" id="90160834">
					<Linear>
						<TrackingEvents>
							<Tracking id="prog_1" event="progress" offset="00:00:10.000">
								<![CDATA[ https://mytrackingsolution.com/vregister.php?a=vview&tracking_event=progress&progress=00:00:10.000&idzone=22222&data=abcd ]]>
							</Tracking>
						</TrackingEvents>
						<VideoClicks>
							<ClickTracking>
								<![CDATA[ https://mytrackingsolution.com/click.php?d=H4sIAAAAAAAAA21T227bMAz9mrwGInV_HLAV6ZItGdY6Q18KS5ayYL7Fl6Ix9PGjk3ZtgYGGeEiaRzRJK7RCIkss_R6Gtl_wTwu8oefQLLtq6g9lfVj6piJPX.Xd0DYtQVAyD7l1vih0nrvcCxk1FgyjNLFA4YwA5bzUPnopmAMnBLO5N8ilEnlc8JuxD91tseCfIWJeKG6cA8UDiwgObKG8I3ZpmHRSBacdBIoAaKdA6pBTEoAF6e0CVRUq98LWnIrs.2qXZavdbkP6Xvumvt9nU7aH7VhWXTk0bbGWcD90p4f6bqy6Yq0y1p3c5utp03W_fo4leR5Y117gtznY1hnuc32eWObA3.HzlOF52u_Z3Rmm_QQZwBbbCgfAcRBlyeqy5eNQluM4cBBDW_ecLp3qK3n2Sr5W.fk4hiN9wvN_ghmbZrhZPdbn..Ot_fE41sR3oqKbsan6CZphoKZgBRWe6mkY0K.QBqj6Zux8uHSEa.qYkeRsgUx1nfdsIpnPT8ciNP11xKrlHxLqxs8DIpQ_E5iT.j_HdhtjH4bZwWhdrodMtEGguUJurNDpHW.SsEQpl4hs1skyUMxwkV4uSpKZlAQkTKDSvIkJSJLS2gdGGxNkRLMEZRhow5EpMCiVkkloDdxakwoBhfGFNZExh0wEaxijQPDRCNSB6Fi6UJO6GG9yKVyldx7z7w0Q18yEVDIdSVKRs_3l5.4DyauAeYMvul9W.aHvni6teAKdtusEzgkfeaTfRTJlI0TrmAbDo7cOhf8Lga0kNZUDAAA-&noredirect=1 ]]>
							</ClickTracking>
						</VideoClicks>
					</Linear>
				</Creative>
			</Creatives>
			<Extensions>
				<Extension type="waterfall" fallback_index="0">
					<Extension/></Extension>
				<Extension>
					<DSA>
						<Behalf>Company Ltd</Behalf>
						<Paid>Company Ltd</Paid>
						<WhyThisAd>一天中的时间。你的大致位置（例如国家或地区）。你可能访问过的网站或应用。</WhyThisAd>
						<ClickThrough>
							<![CDATA[ https://a.mytrackingsolution.com/about-this-ad.html?data=eyJhZHZlcnRpc2VyX25hbWUiOiJUZWNobml1cyBMdGQifQ%3D%3D ]]>
						</ClickThrough>
					</DSA>
				</Extension>
			</Extensions>
		</Wrapper>
	</Ad>
</VAST>
```

为了能够通过这些广告系列对你的流量进行变现，你必须确保你用于展示广告的播放器是 **兼容 Wrapper 的**，这意味着它能够获取并读取 wrapper 标签中的内容。

以下列出的播放器 [In-Stream：如何实现 In-Stream 第 2 部分 - 实现示例](/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/how-implement-in-stream-part2.md) 与我们的广告 100% 兼容 VAST，这意味着它们同样可用于 Wrapper VAST 标签：

* [**FluidPlayer**](https://www.fluidplayer.com/)
* [**JwPlayer**](https://jwplayer.com/)
* [**VideoJs**](https://videojs.com/)
* [**FlowPlayer**](https://flowplayer.com/)
* [**Kernel Video Sharing**](https://www.kernel-video-sharing.com/en/)

如果你没有使用上面列出的任何播放器，请将以下 **测试 VAST 标签** 添加到你的播放器中，以测试该播放器的 Wrapper 兼容性：

```xml
https://s.magsrv.com/v1/vast.php?idzone=3165233
```

此 VAST 标签的设计始终会提供一个 Wrapper 元素。如果你的播放器无法显示此元素，那么请考虑更新或更换你的播放器。如果你无法更换播放器，那么请确保 **禁用 VAST Wrapper 支持** 在你所有的 In-Stream 广告位中。

<figure><img src="/files/632eda84a9477e8a95a9d132390b7b9115fc9949" alt=""><figcaption></figcaption></figure>

这样一来，你的 In-Stream 广告位将不会显示任何 Wrapper 元素，从而避免 In-Stream 广告投放中的任何问题，并确保你的流量可以实现变现。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.exoclick.com/tutorials/zh/jiao-cheng/fa-bu-shang-jiao-cheng/compatible-vast-wrapper-players.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
