Skip to content

feat(media): play video and audio with Video.js instead of plyr - #128

Merged
susnux merged 1 commit into
mainfrom
feature/videojs
Oct 7, 2026
Merged

susnux merged 1 commit into
mainfrom
feature/videojs

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Plyr is deprecated, so this moves video and audio to Video.js 10, bundled from npm. Stacked on #127.

The skin is Video.js's own source, copied unchanged into lib/components/videojs/vendor. Our colours only live in nextcloud.css, so an update is a copy over.

Before After
Video
Audio

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.72340% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.82%. Comparing base (3bc37fb) to head (55b6e38).

Files with missing lines Patch % Lines
lib/components/videojs/useSkinTemplates.ts 33.33% 6 Missing ⚠️
lib/composables/useVideojsAdapter.ts 93.87% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
+ Coverage   91.39%   92.82%   +1.42%     
==========================================
  Files          42       47       +5     
  Lines        3556     4069     +513     
  Branches      817      813       -4     
==========================================
+ Hits         3250     3777     +527     
+ Misses        287      273      -14     
  Partials       19       19              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from feature/media-player-adapter to main October 7, 2026 09:11
@skjnldsv
skjnldsv marked this pull request as ready for review October 7, 2026 09:11
Plyr is deprecated and only gets security fixes. The Video.js skin
source is vendored unchanged, its tokens set to the Nextcloud theme.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@susnux
susnux merged commit 9d32f5b into main Oct 7, 2026
21 checks passed
@susnux
susnux deleted the feature/videojs branch October 7, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted status: developing Work in progress type: enhancement 🚀 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants