When the YouTube link is passed to the composer, it should extract the title.
Shouldn’t it be returning an
<aside class="onebox">, but it’s returning an
<img>? Looks odd to me.
@nlalonde I checked onebox gem and looks like many engines are returning just image:
This pull request has been mentioned on Discourse Meta. There might be relevant details there:
preview_html doesn’t need to be fancy, it just needs to indicate that we’re fetching the right thing.