mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-05 23:18:53 -05:00
Audio poster image is now imported as a module and referenced via AUDIO_POSTER_URL in both chapters-editor and video-editor players. Removed custom file copy plugin from Vite config, updated asset handling to use Vite's asset import and output options, and added type declarations for image modules.
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
// Import the audio poster image as a module
|
|
// Vite will handle this and provide the correct URL
|
|
import audioPosterJpg from '../../public/audio-poster.jpg';
|
|
|
|
export const AUDIO_POSTER_URL = audioPosterJpg;
|
|
|