
This PR moves the docs site to the private repo while keeping the docs content on the public repo. ### Change Type - [x] `documentation`
53 lines
577 B
Text
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)
|
|
|