From 076ed66e690bb9a8899103f75ce47560594d0bf0 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 4 Dec 2015 08:16:00 +0530 Subject: [PATCH] FIX: switch to iframe when embedding YouTube playlist --- plugins/lazyYT/plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lazyYT/plugin.rb b/plugins/lazyYT/plugin.rb index 3ba12065316..4ba7bc42ed8 100644 --- a/plugins/lazyYT/plugin.rb +++ b/plugins/lazyYT/plugin.rb @@ -17,7 +17,7 @@ class Onebox::Engine::YoutubeOnebox alias_method :yt_onebox_to_html, :to_html def to_html - if video_id + if video_id && !params['list'] video_width = (params['width'] && params['width'].to_i <= 695) ? params['width'] : 480 # embed width video_height = (params['height'] && params['height'].to_i <= 500) ? params['height'] : 270 # embed height