FIX: Include lazyYT-container in cooked post HTML (#9870)
This applies the new styles without waiting for the JS to run.
This commit is contained in:
parent
b48299f81c
commit
979093787f
|
@ -32,7 +32,7 @@ class Onebox::Engine::YoutubeOnebox
|
|||
escaped_title = ERB::Util.html_escape(video_title)
|
||||
|
||||
<<~EOF
|
||||
<div class="onebox lazyYT"
|
||||
<div class="onebox lazyYT lazyYT-container"
|
||||
data-youtube-id="#{video_id}"
|
||||
data-youtube-title="#{escaped_title}"
|
||||
data-width="#{video_width}"
|
||||
|
|
Loading…
Reference in New Issue