mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
fixing techGet for HTML5 src method
This commit is contained in:
parent
7baa40220f
commit
21f2d3c150
@ -225,7 +225,13 @@ vjs.Html5.prototype.enterFullScreen = function(){
|
||||
vjs.Html5.prototype.exitFullScreen = function(){
|
||||
this.el_.webkitExitFullScreen();
|
||||
};
|
||||
vjs.Html5.prototype.src = function(src){ this.el_.src = src; };
|
||||
vjs.Html5.prototype.src = function(src) {
|
||||
if (src === undefined) {
|
||||
return this.el_.src;
|
||||
} else {
|
||||
this.el_.src = src;
|
||||
}
|
||||
};
|
||||
vjs.Html5.prototype.load = function(){ this.el_.load(); };
|
||||
vjs.Html5.prototype.currentSrc = function(){ return this.el_.currentSrc; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user