mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Allow lazy-yt thumbnails to fetched by pull_hotlinked_images
The thumbnails were being correctly downloaded, but the URLs were not being substituted correctly in post_process_cooked because the lazy-yt output did not include the `onebox` class.
This commit is contained in:
parent
c979f1877b
commit
0c6f30d92a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Onebox::Engine::YoutubeOnebox
|
|||
escaped_title = ERB::Util.html_escape(video_title)
|
||||
|
||||
<<~EOF
|
||||
<div class="lazyYT"
|
||||
<div class="onebox lazyYT"
|
||||
data-youtube-id="#{video_id}"
|
||||
data-youtube-title="#{escaped_title}"
|
||||
data-width="#{video_width}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue