/
Brief: Video v. 0.1 [Component]

Brief: Video v. 0.1 [Component]

Component type

Component

Document status

IN-PROGRESS

Design source (in Figma)

 

Author

@Nick Harris

Responsible

 

Milestone

4

The video component provides the functionality to play back and interact with digital video data from different media.

It’s worth thinking at this point about whether we need a larger “media embed“ component that allows the embedding of media from third parties. MVP is still video but in the future we could extend to twitter cards, pinterest, and other video providers. Does this future impact what we do now? Can we set the foundations in this component?

Carousel variant of Video is out of scope for MVP

YouTube is the only supported 3rd party provider for MVP

Usage

Do’s

  • X

Dont’s 

  • X

 

Anatomy

Item

Component / type

Notes

Item

Component / type

Notes

1

Image

To be provided or to be pulled in from Youtube API (cover image)

2

Button

 

3

Disclosure

Design doesn’t match.

4

Timestamp

Key Content  

Item

Type

Notes

Item

Type

Notes

3.

Text / Rich-text

  • The label could be pulled form a central dictionary.

  • The contents will be provided in the CMS. Needs to be rendered as rich-text.

4.

Video length

Related/Similar Components 

  • Image

  • Carousel  

Behaviour 

Progressive enhancement:

Editorial 

  • Transcripts will be provided by the content editors in the CMS. Initially this is rich text. See below for future considerations.

Accessibility 

Analytics & Data 

  • Basic click tracking - which I assume can be called by the onClick prop

  • Our solution should be able to utilise the out of the box YouTube video tracking within GTM. This has been an issue in the past where a cover div has blocked the video tracking.

Future Expansion 

  • Cookies

    • In the future we can use the user interacting with the video component as a way to trigger a consent modal if they haven’t already consented to cookies.

  • Transcripts

    • We may extend this to be a more rich experience with timestamps and other possible functionality.

  • Embed in other components

    • Other components could be extended to include video support. For example teaser. We will need to provide a way to control the video playback - these probably won’t be youtube videos.

    • This is the concept of “decorative video” which we need to look at, but would probably be a different component (e.g. sound off, looped, pausable video that acts as a background image). Not for MVP.

Wider Conversations that may impact this 

  • Carousel

  • Transcript component

Inspiration from elsewhere 

  • X

  • X


Examples

Insert here

Useful links

https://axbom.com/embed-youtube-videos-without-cookies/

https://developers.google.com/youtube/player_parameters

https://www.visionaustralia.org/services/digital-access/blog/embedded-youtube-and-google-maps

 

Sergiy Nalyvayko (Unlicensed)
July 4, 2022

Done