fixing code output for customtkinter

This commit is contained in:
paul
2024-09-30 19:13:26 +05:30
parent b2b6eb0b75
commit af0ac90499
22 changed files with 149 additions and 95 deletions

View File

@@ -5,16 +5,16 @@ import { removeKeyFromObject } from "../../../utils/common"
import VideoImage from "./assets/video.jpg"
import { PlayCircleFilled } from "@ant-design/icons"
import { TkinterBase } from "../widgets/base"
import { CustomTkBase } from "../widgets/base"
import { getPythonAssetPath } from "../../utils/pythonFilePath"
class VideoPlayer extends TkinterBase{
class VideoPlayer extends CustomTkBase{
static widgetType = "video_player"
static requiredImports = [
...TkinterBase.requiredImports,
...CustomTkBase.requiredImports,
"import os",
"from tkVideoPlayer import TkinterVideo"
]