diff --git a/google-youtube.html b/google-youtube.html index 753f781..4625c9a 100755 --- a/google-youtube.html +++ b/google-youtube.html @@ -414,7 +414,7 @@ ratio *= 100; this.width = '100%'; this.height = 'auto'; - this.style['padding-top'] = ratio + '%'; + this.$.container.style['padding-top'] = ratio + '%'; } },