diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index e5f01e4..cd620c6 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -10,12 +10,10 @@ import { useVkMetricsGoals } from "@/utils/hooks/metrics/useVkMetricsGoals"; import { useYandexMetricsGoals } from "@/utils/hooks/metrics/useYandexMetricsGoals"; import { DESIGN_LIST } from "@/utils/designList"; import { quizThemes } from "@utils/themes/Publication/themePublication"; - -import YoutubeEmbedIframe from "./tools/YoutubeEmbedIframe"; - import { NameplateLogo } from "@icons/NameplateLogo"; import type { QuizQuestionResult } from "@/model/questionTypes/result"; +import QuizVideo from "@/ui_kit/VideoIframe/VideoIframe"; type ResultFormProps = { resultQuestion: QuizQuestionResult; @@ -117,7 +115,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { }} > {!resultQuestion?.content.useImage && resultQuestion.content.video && ( - { const theme = useTheme(); @@ -54,7 +53,7 @@ export const StartPageViewPublication = () => { /> ) : settings.cfg.startpage.background.type === "video" ? ( settings.cfg.startpage.background.video ? ( - { /> ) : ( - - - {/*