AMP

amp-redbull-player

Displays an Red Bull video.

Required Scripts

<script async custom-element="amp-redbull-player" src="https://cdn.ampproject.org/v0/amp-redbull-player-0.1.js"></script>

Displays a Red Bull Video Player.

Example

<amp-redbull-player
  id="rbvideo"
  data-param-videoid="rrn:content:videos:3965a26c-052e-575f-a28b-ded6bee23ee1:en-INT"
  data-param-skinid="com"
  data-param-locale="en"
  height="360"
  width="640"
></amp-redbull-player>

Attributes

data-param-videoid (required) The video ID.
data-param-skinid (optional) The ID of the skin to display. Value can be stv or com. Defaults to com
data-param-locale (optional) String value for the tracking configuration..
id (optional) Selector for the amp-analytics triggers configuration.

Validation

See [amp-redbull-player rules](https://github.com/ampproject/amphtml/blob/master/extensions/amp-redbull-player/validator-amp-player-player.protoascii) in the AMP validator specification.

需要更多帮助?

You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.

前往 Stack Overflow
找到一个 bug 或者缺失某项功能?

AMP 项目强烈鼓励您参与其中并作出贡献!我们希望您能成为我们开源社区的持续参与者,但我们也欢迎您对热衷问题做出单次贡献。

前往 GitHub