feat: stream video upload progress (#210)

* working on the streaming progress

* connected video upload progress from frontend to server to bucket

* cleanup

* cleanup

* added the progress bar

* finished the supabase upload-progress using supabse realtime

* use only progress bar

* updating the helpertext

* Merge branch 'upload-progress' of https://github.com/rotimi-best/classroomio into upload-progress

* updated the supabase import

* Update LocalVideo.svelte

* update lock file

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Em_Dev
2024-03-28 10:42:49 +01:00
committed by GitHub
co-authored by Rotimi Best
parent d8af3a304c
commit 23b3b5f555
7 changed files with 3476 additions and 9058 deletions
+7 -10
View File
@@ -9,22 +9,19 @@ const getSupabase = (config) => {
config = {
supabaseConfig: {
bucketPath:
'https://koxqonvbkeakwvmdegcf.supabase.in/storage/v1/object/sign/',
bucketPath: 'https://koxqonvbkeakwvmdegcf.supabase.in/storage/v1/object/sign/',
url: PUBLIC_SUPABASE_URL || '',
anonKey: PUBLIC_SUPABASE_ANON_KEY || '',
},
anonKey: PUBLIC_SUPABASE_ANON_KEY || ''
}
};
supabase = createClient(
config.supabaseConfig.url,
config.supabaseConfig.anonKey,
{ auth: { persistSession: false } }
);
supabase = createClient(config.supabaseConfig.url, config.supabaseConfig.anonKey, {
auth: { persistSession: false }
});
return supabase;
};
module.exports = {
getSupabase,
getSupabase
};