mirror of
https://github.com/videojs/video.js.git
synced 2025-02-18 12:24:02 +02:00
make the early return value of handleSrc
consistent
with player.currentSrc(), in the event that currentSource middleware is in effect
This commit is contained in:
parent
8565ef32e2
commit
538d663436
@ -3305,7 +3305,7 @@ class Player extends Component {
|
||||
handleSrc_(source, isRetry) {
|
||||
// getter usage
|
||||
if (typeof source === 'undefined') {
|
||||
return this.cache_.src || '';
|
||||
return this.currentSrc();
|
||||
}
|
||||
|
||||
// Reset retry behavior for new source
|
||||
|
Loading…
x
Reference in New Issue
Block a user