1
0
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:
Steve Heffernan 2012-01-17 15:31:11 -08:00
parent fa9e97bb56
commit c6c63df7fd

View File

@ -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