mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 15:22:58 -05:00
Prevent automatic focus on the video element when in embed mode to avoid unexpected behavior. Update scroll logic to only scroll the video into view if not in an iframe, or if explicitly requested via a URL parameter, improving user experience for embedded players.
MediaCMS Web Client (demo)
Requirements
- nodejs: version >= 14.17.0
Installation
npm install
Development
npm run start
Open in browser: http://localhost:8088
Build
npm run dist
Generates the folder "frontend/dist".
Copy folders and files from "frontend/dist/static" into "static".
Test Scripts
test
Run all unit tests once.
npm run test
test-watch
Run tests in watch mode for development.
npm run test-watch
test-coverage
Run tests with coverage reporting in ./coverage folder.
npm run test-coverage
test-coverage-watch
Run tests with coverage in watch mode.
npm run test-coverage-watch