Functions & Hooks
loadVideo
function loadVideo(source: string | number): Promise<TgfxVideo>;Open a video outside React. The caller owns the player and must release()
it; useVideo does that for you.
Parameters
source
string | number
Returns
Promise<TgfxVideo>