lib/onebox/mixins/twitch_onebox.rb in onebox-1.8.92 vs lib/onebox/mixins/twitch_onebox.rb in onebox-1.8.93
- old
+ new
@@ -17,9 +17,13 @@
def base_url
"player.twitch.tv/?"
end
+ def placeholder_html
+ "<span class='onebox-video-placeholder'></span>"
+ 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
end
end