tldraw/docs/gen/getVideoSizeFromSrc-function-1.mdx
Steve Ruiz 096df3209b
[1/2] Move docs to brivate (#1640)
This PR moves the docs site to the private repo while keeping the docs
content on the public repo.

### Change Type

- [x] `documentation`
2023-06-23 14:23:14 +00:00

53 lines
577 B
Text

---
title: getVideoSizeFromSrc
status: published
category: editor
group: Function
author: api
date: 06/23/2023
order: 58
---<Small>Public Function</Small>
Get the size of a video from its source.
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`src`
</ParametersTableName>
<ParametersTableDescription>
```ts
string
```
The source of the video.
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
Promise<{
w: number
h: number
}>
```
##### References
[Promise](/gen/Promise-interface)