@stremio/stremio-video 0.0.56 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stremio/stremio-video",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "Abstraction layer on top of different media players",
5
5
  "author": "Smart Code OOD",
6
6
  "main": "src/index.js",
@@ -157,7 +157,8 @@ function TitanVideo(options) {
157
157
  cueNode.innerHTML = text;
158
158
  cueNode.style.display = 'inline-block';
159
159
  cueNode.style.padding = '0.2em';
160
- cueNode.style.fontSize = Math.floor(size / 25) + 'vmin';
160
+ var fontSizeMultiplier = window.screen720p ? 1.538 : 1;
161
+ cueNode.style.fontSize = Math.floor((size / 25) * fontSizeMultiplier) + 'vmin';
161
162
  cueNode.style.color = textColor;
162
163
  cueNode.style.backgroundColor = backgroundColor;
163
164
  cueNode.style.textShadow = '1px 1px 0.1em ' + outlineColor;