diff --git a/src/Player.html b/src/Player.html
index 777f8c41..894a8f5d 100644
--- a/src/Player.html
+++ b/src/Player.html
@@ -51,7 +51,7 @@
playerStyle({ width, height, showController }) {
return inlineCss({
width: `${width}px`,
- height: `${height + showController ? controllerHeight : 0}px`,
+ height: `${height + (showController ? controllerHeight : 0)}px`,
});
},
},