Skip to content

Commit 52a9ab5

Browse files
authored
Fix reference sample (Dash-Industry-Forum#4843)
* Fix disabling control bar once player stopped * Fix video element css (aspect ratio)
1 parent 837cf98 commit 52a9ab5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

samples/dash-if-reference-player/app/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ a:hover {
159159
width: 100%;
160160
height: auto;
161161
margin: auto;
162+
aspect-ratio: 16 / 9;
162163
}
163164

164165
.col-md-9 {

samples/dash-if-reference-player/app/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
12051205
};
12061206

12071207
$scope.doStop = function () {
1208+
$scope.controlbar.disable();
12081209
$scope.player.attachSource(null);
12091210
$scope.controlbar.reset();
12101211
$scope.conformanceViolations = [];

0 commit comments

Comments
 (0)