Skip to content

Commit

Permalink
fix(player): switching src on cdn throwing
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Dec 20, 2023
1 parent 51e3697 commit 5565724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/vidstack/mangle.json
Original file line number Diff line number Diff line change
Expand Up @@ -626,5 +626,7 @@
"_watchMediaDuration": "Fk",
"_resetPlaybackIfNeeded": "Gk",
"_getEndTime": "Hk",
"_appendMediaFragment": "Ik"
"_appendMediaFragment": "Ik",
"_clipEnded": "Kk",
"_pausedSeeking": "Jk"
}
1 change: 0 additions & 1 deletion packages/vidstack/src/elements/lit/directives/signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class SignalDirective extends AsyncDirective {
}

override disconnected() {
if (!this._isAttr) this.setValue(null);
this._stop?.();
this._stop = null;
}
Expand Down

0 comments on commit 5565724

Please sign in to comment.