1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-30 09:06:49 +02:00

Updated error with updating tech support

This commit is contained in:
Steve Heffernan 2011-11-29 12:12:13 -08:00
parent 7538241008
commit 82d55c45e7

View File

@ -17,8 +17,8 @@ _V_.extend({
return false;
},
updateTechSupport: function(tech, type, name, value){
if (!tech.supports[type]) { tech.supports[type] = {}; }
tech.supports[type][name] = value;
if (_V_[tech].supports[type] === undefined) { _V_[tech].supports[type] = {}; }
_V_[tech].supports[type][name] = value;
},
// Device Checks