Skip to content

Video

<ns-video>

Overview

Loads YouTube videos.

Examples

Guidance

Implementation

Placement

The ns-video component can be used in the following components:

  • <ns-lockup>
  • <ns-content>

Specification

Attributes

id

Property
id
Description
The ID of the YouTube video.
Type
string
Default

title

Property
title
Description
The title of the video iframe.
Type
string
Default
YouTube video

ratio

Property
ratio
Description
The ratio of the video.
Type
16 / 9 4 / 3 1 / 1
Default
16 / 9

type

Property
type
Type
string
Default
standard

Events

NameDescription
statechangeThe event fired when the state of the video changes.