diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js
index f4d6a130..19441c33 100644
--- a/frontend/src/utils/index.js
+++ b/frontend/src/utils/index.js
@@ -167,6 +167,7 @@ export function getEditorTools() {
youtube: true,
vimeo: true,
codepen: true,
+ aparat: true,
slides: {
regex: /https:\/\/docs\.google\.com\/presentation\/d\/e\/([A-Za-z0-9_-]+)\/pub/,
embedUrl:
@@ -179,20 +180,6 @@ export function getEditorTools() {
}
}
-function getVideoBlockHtml(medium) {
- let regex
- if (medium === 'youtube') {
- regex =
- /(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/
- regex.exec(url)?.slice(1)
- }
- const wrapper = document.createElement('div')
- const app = createApp(VideoBlock, {
- file: file.file_url,
- })
- app.mount(wrapper)
-}
-
export function getTimezones() {
return [
'Pacific/Midway',
diff --git a/lms/public/frontend/index.html b/lms/public/frontend/index.html
index 67e382c8..c7b3af45 100644
--- a/lms/public/frontend/index.html
+++ b/lms/public/frontend/index.html
@@ -15,7 +15,7 @@
-
+