lib/onebox/mixins/twitch_onebox.rb in onebox-1.9.1 vs lib/onebox/mixins/twitch_onebox.rb in onebox-1.9.2
- old
+ new
@@ -18,10 +18,10 @@
def base_url
"player.twitch.tv/?"
end
def placeholder_html
- "<div class='onebox-placeholder-container'><span class='placeholder-icon video'></span></div>"
+ ::Onebox::Helpers.video_placeholder_html
end
def to_html
"<iframe src=\"//#{base_url}#{query_params}&autoplay=false\" width=\"620\" height=\"378\" frameborder=\"0\" style=\"overflow: hidden;\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"></iframe>"
end