amp-springboard-player
Introduction
Use the amp-springboard-player component to embed videos hosted on the Springboard Video Platform in your AMP HTML files.
Setup
Import the amp-springboard-player component in the header.
<script async custom-element="amp-springboard-player" src="https://cdn.ampproject.org/v0/amp-springboard-player-0.1.js"></script>
Basic usage
Embed videos hosted on the Springboard Video Platform via the data-site-id, data-domain, data-player-id, data-content-id attributes.
The data-mode attribute is used to determine if this is a single video or playlist. If it's a playlist, the data-items attribute specifies the number of items in the playlist. We recommend using the responsive layout for videos.
<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>
Bu sayfadaki açıklamalar tüm sorularınıza yanıt vermiyorsa, özgün kullanım durumunuzu tartışmak üzere diğer AMP kullanıcılarına ulaşmaktan çekinmeyin.
Stack Overflow'a git Açıklanmayan bir özellik mi var?AMP projesi, katılımınızı ve katkılarınızı güçlü bir şekilde teşvik ediyor! Açık kaynak topluluğumuzun devamlı bir katılımcısı olacağınızı umuyoruz ancak özel olarak ilgilendiğiniz konularla ilgili tek seferlik katkıları da memnuniyetle karşılıyoruz.
Örneği GitHub'ta düzenle-
Written by @jmadler