mirror of
https://github.com/videojs/video.js.git
synced 2024-11-28 08:58:46 +02:00
Fixed a check for current tech in source loading
This commit is contained in:
parent
fa9e97bb56
commit
c6c63df7fd
@ -612,7 +612,7 @@ _V_.Player = _V_.Component.extend({
|
||||
if (tech.canPlaySource.call(this, source)) {
|
||||
|
||||
// If this technology is already loaded, set source
|
||||
if (techName == this.currentTechName) {
|
||||
if (techName == this.techName) {
|
||||
this.src(source); // Passing the source object
|
||||
|
||||
// Otherwise load this technology with chosen source
|
||||
|
Loading…
Reference in New Issue
Block a user