mirror of
https://github.com/videojs/video.js.git
synced 2025-02-18 12:24:02 +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(){
|
vjs.Html5.prototype.exitFullScreen = function(){
|
||||||
this.el_.webkitExitFullScreen();
|
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.load = function(){ this.el_.load(); };
|
||||||
vjs.Html5.prototype.currentSrc = function(){ return this.el_.currentSrc; };
|
vjs.Html5.prototype.currentSrc = function(){ return this.el_.currentSrc; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user