AMP

amp-springboard-player

Description

Displays a Springboard Platform video player.

 

Required Scripts

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

Supported Layouts

Example

The width and height attributes determine the aspect ratio of the player embedded in responsive layouts.

<amp-springboard-player
  data-site-id="261"
  data-mode="video"
  data-content-id="1578473"
  data-player-id="test401"
  data-domain="test.com"
  data-items="10"
  layout="responsive"
  width="480"
  height="270"
>
</amp-springboard-player>

Attributes

data-site-id (required) The SpringBoard site ID. Specific to every partner.
data-mode (required) The SpringBoard player mode: video or playlist.
data-content-id (required) The SpringBoard player content ID (video or playlist ID).
data-player-id (required) The Springboard player ID.
data-domain (required) The Springboard partner domain.
data-items (required) The number of videos in the playlist.
common attributes This element includes common attributes extended to AMP components.

Validation

See amp-springboard-player rules in the AMP validator specification.

도움이 더 필요하신가요?

이 문서를 수십 번 읽었음에도 여전히 궁금한 점이 남아 있나요? 다른 개발자들도 같은 심정일지 모릅니다. Stack Overflow에서 소통해 보세요.

Stack Overflow로 이동
버그나 누락된 기능을 발견하셨나요?

AMP 프로젝트는 여러분의 참여와 기여를 적극 환영합니다! 오픈 소스 커뮤니티를 통해 지속적으로 활동해 주셔도 좋지만 관심 있는 주제에 한 번만 기여하셔도 큰 도움이 됩니다.

GitHub로 이동하기