[Documentation](../../README.md) > [Video](README.md) > **getYoutubeId**

# Nelexa\GPlay\Model\Video::getYoutubeId
`Nelexa\GPlay\Model\Video::getYoutubeId` — Returns a YouTube id.

## Description
```php
Nelexa\GPlay\Model\Video::getYoutubeId ( void ) : string | null
```

## Parameters
This function has no parameters.

## Return Values
youTube ID or `null` if the video is not from YouTube

[Documentation](../../README.md) > [Video](README.md) > **getYoutubeId**
