We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f464edf commit 4217dfeCopy full SHA for 4217dfe
1 file changed
packages/vidstack/src/core/api/player-state.ts
@@ -118,7 +118,7 @@ export const mediaState = new State<MediaState>({
118
get seekableEnd() {
119
const end = this.canPlay ? getTimeRangesEnd(this.seekable) ?? Infinity : 0;
120
return this.clipEndTime > 0
121
- ? Math.min(this.clipEndTime, Math.max(0, end - this.clipStartTime))
+ ? Math.max(this.clipEndTime, Math.max(0, end - this.clipStartTime))
122
: end;
123
},
124
get seekableWindow() {
0 commit comments