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:
Kane York 2020-05-25 14:24:40 -07:00 committed by GitHub
parent b48299f81c
commit 979093787f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}"