mirror of
https://github.com/videojs/video.js.git
synced 2025-02-10 12:08:14 +02:00
parent
d773cd4feb
commit
fd4c6e12d6
@ -2763,6 +2763,9 @@ class Player extends Component {
|
|||||||
* and calls `reset` on the tech`.
|
* and calls `reset` on the tech`.
|
||||||
*/
|
*/
|
||||||
reset() {
|
reset() {
|
||||||
|
if (this.tech_) {
|
||||||
|
this.tech_.clearTracks('text');
|
||||||
|
}
|
||||||
this.loadTech_(this.options_.techOrder[0], null);
|
this.loadTech_(this.options_.techOrder[0], null);
|
||||||
this.techCall_('reset');
|
this.techCall_('reset');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user