diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-07-25 12:06:34 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-07-25 12:06:34 +0200 |
commit | 3d396c2a11784a755fa96bb5031250c5d3d52e9e (patch) | |
tree | 0a28850259eb76d035c93b8ac4633be1c7779c8a /components | |
parent | da26ec8a8cec5406850a2529b861201148592835 (diff) |
mostly working?
Diffstat (limited to 'components')
-rw-r--r-- | components/videosourcesettings.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/videosourcesettings.tsx b/components/videosourcesettings.tsx index 35e180c..345aea1 100644 --- a/components/videosourcesettings.tsx +++ b/components/videosourcesettings.tsx @@ -33,7 +33,8 @@ export function LocalVideoSettings(props: VideoSourceSettings) { var reader = new FileReader(); reader.addEventListener('load', ev => { var video = ev.target.result as ArrayBuffer; - props.settings.load(video); + props.settings.source = video; + props.settings.getVideoInfo(); props.settings.mimetype = file.type; props.player.loadVideo(arrayBufferToBase64(video, file.type)); props.global.update.refreshLiveTimeline.value(); |