Skip to content

Commit

Permalink
fix(FEC-7436): preload auto: first live frame appears with entry thum…
Browse files Browse the repository at this point in the history
…bnail (#160)

add black background to the poster styles
  • Loading branch information
Dan Ziv authored and OrenMe committed Nov 9, 2017
1 parent 3e09b17 commit 8e623d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/poster-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class PosterManager {
setSrc(posterUrl: ?string): void {
if (posterUrl) {
this._posterUrl = posterUrl;
Utils.Dom.setStyle(this._el, "background-color", "black");
Utils.Dom.setStyle(this._el, "background-image", `url("${this._posterUrl}")`);
}
}
Expand Down

0 comments on commit 8e623d9

Please sign in to comment.