---
url: https://docs.moqtail.dev/ts/api/player/component/functions/defineMOQtailVideo.md
---
# Function: defineMOQtailVideo()

> **defineMOQtailVideo**(`name?`): `void`

Registers `MOQtailVideoElement` as `name`. A no-op when it's taken or there's no `customElements`.

## Parameters

### name?

`string` = `'moqtail-video'`

## Returns

`void`
