retain/youtube-video-player


This component is used for presenting youtube videos from the Alaska Airlines channel. It accepts video ID's and integer to determine which video frame to use as the thumbnail. It also accepts a custom title input.


NOTE: Due to accessibility concerns the video does not play within the component but rather links out to external page.


Introducing a shiny, new Alaska experience

# 🏠 Properties

Name Type

# 🎰 Slots

Name Default value
            
Show Code
<script src="/components/shared/component-base.js"></script> <script src="/components/youtube-video-player/main.js"></script> <link rel="stylesheet" href="/components/shared/component-base.css" /> <p>This component is used for presenting youtube videos from the Alaska Airlines channel. It accepts video ID's and integer to determine which video frame to use as the thumbnail. It also accepts a custom title input.</p> <br/> <p><strong>NOTE:</strong> Due to accessibility concerns the video <strong><u>does not</u></strong> play within the component but rather links out to external page.</p> <br/> <youtube-video-player videoId="nnq1vkaViks" videoFrame="0"> <span slot="title">Introducing a shiny, new Alaska experience</span> </youtube-video-player> <br/>