diff --git a/package.json b/package.json
index a6575662..e8c924a3 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"prepare": "svelte-kit sync"
},
"dependencies": {
+ "@aws-sdk/client-s3": "^3.386.0",
"@sentry/browser": "^7.61.0",
"@sentry/integrations": "^7.61.0",
"@sentry/tracing": "^7.61.0",
@@ -25,10 +26,12 @@
"@types/pluralize": "0.0.30",
"ai": "^2.1.31",
"autoprefixer": "^10.4.14",
+ "axios": "^1.4.0",
"body-parser": "^1.20.2",
"canvas-confetti": "^1.6.0",
"cookie-parser": "^1.4.6",
"copy-to-clipboard": "^3.3.3",
+ "form-data": "^4.0.0",
"hotkeys-js": "^3.11.2",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
@@ -47,8 +50,6 @@
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/runtime": "^7.22.6",
- "@fortawesome/free-brands-svg-icons": "^6.4.0",
- "@fortawesome/free-regular-svg-icons": "^6.4.0",
"@sveltejs/kit": "^1.22.4",
"@tailwindcss/typography": "^0.5.9",
"@types/lodash": "^4.14.196",
diff --git a/src/lib/components/Course/components/Lesson/Materials/Video/Index.svelte b/src/lib/components/Course/components/Lesson/Materials/Video/Index.svelte
index 745b81ed..57cc7798 100644
--- a/src/lib/components/Course/components/Lesson/Materials/Video/Index.svelte
+++ b/src/lib/components/Course/components/Lesson/Materials/Video/Index.svelte
@@ -3,6 +3,9 @@
import LocalVideo from './LocalVideo.svelte';
import * as CONSTANTS from './constants';
+ export let lessonId = '';
+ export let saveLesson = () => {};
+
let tabs = CONSTANTS.videoTabs;
let currentTab = tabs[0].value;
@@ -34,7 +37,7 @@
{#if currentTab === 1}
+
Video.png
+{fileInput?.files?.[0]?.name || uploadedFileUrl}
- Added : {($lesson?.materials?.video_url && $lesson.materials.video_url.trim().split(',').length) || 0} Videos + Videos added: + {$lesson?.materials?.videos.filter((v) => v.type === 'youtube' && isValidYouTubeLink(v.link)) + .length || 0} +
Settings
diff --git a/src/lib/components/Navigation/app.svelte b/src/lib/components/Navigation/app.svelte index a6e2cfa6..00fde2b9 100644 --- a/src/lib/components/Navigation/app.svelte +++ b/src/lib/components/Navigation/app.svelte @@ -46,7 +46,7 @@ }} size="small" > -