Update environment variables and refactor Docker configurations for improved deployment
- Revised .env.portainer to update sensitive credentials and streamline comments for clarity. - Adjusted docker-compose.yml to remove unnecessary variable references, enhancing readability and maintainability. - Updated VideoPlayer component to improve type handling and refactor seeking logic for better performance. - Enhanced library service to include providerId in the rentContent method for improved data handling. - Refactored auth store to integrate account management functionality. - Cleaned up ProjectEditor and Settings views by removing unused computed properties and refining method types.
This commit is contained in:
@@ -234,6 +234,8 @@ const emit = defineEmits<Emits>()
|
||||
const playerOverlay = ref<HTMLElement | null>(null)
|
||||
const videoEl = ref<HTMLVideoElement | null>(null)
|
||||
const progressBarEl = ref<HTMLElement | null>(null)
|
||||
// @ts-expect-error vue-tsc does not detect template ref usage
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const speedMenuRef = ref<HTMLElement | null>(null)
|
||||
|
||||
// ── Playback state ──────────────────────────────────────────────────
|
||||
@@ -475,7 +477,7 @@ function seekTo(e: MouseEvent) {
|
||||
video.currentTime = pct * video.duration
|
||||
}
|
||||
|
||||
function startSeeking(e: MouseEvent) {
|
||||
function startSeeking(_e: MouseEvent) {
|
||||
const video = videoEl.value
|
||||
const bar = progressBarEl.value
|
||||
if (!video || !bar) return
|
||||
|
||||
Reference in New Issue
Block a user