Skip to content

fix: video player responsiveness#584

Merged
arabcoders merged 2 commits into
masterfrom
dev
Apr 8, 2026
Merged

fix: video player responsiveness#584
arabcoders merged 2 commits into
masterfrom
dev

Conversation

@arabcoders

Copy link
Copy Markdown
Owner

This pull request includes improvements to the handling and testing of preset options, as well as updates to the video player component's layout and styling. The most significant changes are the addition of unit tests for the usePresetOptions composable, simplification of how preset options are used in several components, and enhancements to the video player UI.

Testing improvements:

  • Added a new test suite usePresetOptions.test.ts to verify correct grouping and ordering of presets, ensuring both the default and custom-first orderings are tested.
  • Added a dedicated tsconfig.json for tests to ensure proper type checking and compatibility with the test environment.

Preset option usage simplification:

  • Simplified calls to usePresetOptions in NewDownload.vue, Simple.vue, and TaskForm.vue by removing explicit ordering options, relying on the default behavior. [1] [2] [3]

Video player UI improvements:

  • Updated .player and surrounding markup in VideoPlayer.vue for better responsiveness and layout, including a new .player-shell wrapper and improved CSS for the video element. [1] [2]

@arabcoders arabcoders merged commit 1087596 into master Apr 8, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant