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