Merge pull request #5140 from edx/zub/bugfix/plat-101-playercontrolsnotvisible
show video controls for all youtube videos
This commit is contained in:
@@ -756,7 +756,7 @@ function (VideoPlayer, VideoStorage, i18n) {
|
||||
try {
|
||||
return this.metadata[this.youtubeId()].duration;
|
||||
} catch (err) {
|
||||
return this.metadata[this.youtubeId('1.0')].duration;
|
||||
return _.result(this.metadata[this.youtubeId('1.0')], 'duration') || 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user