---
title: VideoPicker
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import { VideoPicker } from '@telus-uds/components-web'
import { VideoPicker as WebDocs } from 'docs/@telus-uds/components-web'
import AvailableOnWebOnly from '../../partials/_platform-considerations-web-only.mdx'
import NoStylisticVariants from '../../partials/_variants-none.mdx'

# VideoPicker

<LibraryInfo
  packageType="Web Component"
  figmaLink="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2F4zJn2Qn6uXOqPP1GVDipy6%2F%25F0%259F%258D%2580-Allium-Components%3Fnode-id%3D7043%253A76989"
/>

```jsx live
<VideoPicker
  videoList={[
    {
      aspectRatio: '16:9',
      defaultVolume: 70,
      copy: 'en',
      title: 'Immerse yourself in 4K HDR.',
      description:
        'Introducing 4K HDR, only on Optik TV®. With a billion colours, it’s like you’re really there.',
      videoId: 'ppF-fn37SDs',
      videoLength: 30
    },
    {
      aspectRatio: '16:9',
      defaultVolume: 70,
      copy: 'en',
      title: 'TELUS SmartHome Security protects your deliveries from porch pirates: Simona’s story',
      description:
        'Simona can now feel confident her deliveries will stay safe on her porch – no matter where she is – thanks to TELUS SmartHome Security – check out how.',
      videoId: 'p5xQLQdwjrA',
      videoLength: 25
    }
  ]}
/>
```

## Introduction

```jsx
import { VideoPicker } from '@telus-uds/components-web'
```

### Features

- Responsive component per breakpoint
- Video is 16:9 aspect ratio
- Thumbnails are 16:9 aspect ratio
- Available in a frame variant in breakpoints LG and larger

[Follow the appropriate instructions](importing-components) to add this component in to your app.

## Guidance

Use `VideoPicker` to display a group of videos and play the selected video in the main area.

:::caution

Note that YouTube videos without thumbnails will appear as white ellipsis on grey background. To avoid this, choose videos that have valid thumbnails on YouTube, and upload any missing thumbnails where possible.
:::

### Accessibility

The video thumbnails are announced as radio group items. They can be focused and interacted with using the keyboard.

### Platform considerations

<AvailableOnWebOnly />

## Props

<PropsTable web={WebDocs} />

## Tokens

<TokensTable web={WebDocs} component="VideoPicker" />

## Variants

<NoStylisticVariants />

## Feedback

<Feedback component="VideoPicker" />
