@justinribeiro/lite-youtube
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -47,2 +47,4 @@ /** | ||
display: block; | ||
position: relative; | ||
width: 100%; | ||
padding-bottom: calc(100% / (16 / 9)); | ||
@@ -52,3 +54,3 @@ } | ||
#frame, #fallbackPlaceholder, iframe { | ||
position: fixed; | ||
position: absolute; | ||
width: 100%; | ||
@@ -55,0 +57,0 @@ height: 100%; |
@@ -10,3 +10,3 @@ { | ||
"license": "MIT", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"main": "lite-youtube.js", | ||
@@ -13,0 +13,0 @@ "module": "lite-youtube.js", |
@@ -42,3 +42,3 @@ [![npm version](https://badge.fury.io/js/%40justinribeiro%2Flite-youtube.svg)](https://badge.fury.io/js/%40justinribeiro%2Flite-youtube) | ||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/lite-youtube@0.5.1/lite-youtube.js"> | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@justinribeiro/lite-youtube@0.5.2/lite-youtube.js"> | ||
``` | ||
@@ -45,0 +45,0 @@ |
17145
327