3
0
mirror of https://github.com/Qortal/q-tube.git synced 2025-02-11 17:55:51 +00:00
q-tube/vite.config.ts
IrohDW 53eaad448b Updates to VideoPlayer controls
All controls and hotkeys work when the VideoPlayer is fullscreen

Controls are below video instead of inside of it

Controls have tooltips showing what they do and their hotkeys

Each control is a separate component that is used in both mobile and normal controls

Video Progress slider is above controls to save horizontal space

Controls will disappear when fullscreen if mouse leaves video player, or after 5 seconds of inactivity

Default port in vite.config.ts set to 3000 for simplicity.
2024-12-20 10:21:58 -07:00

10 lines
204 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: { port: 3000 },
base: "",
});