Onebox Twitter embedding

はい、可能です。iframe を構築しているのはこの行です。

@awesomerobot さんにとって最も役立つ HTML 構造はどのようなものでしょうか?例えば、

<div class='tweet-images'>
  <div class='aspect-image-full-size' style='--aspect-ratio:#{width}/#{height};'/>
    <iframe class='tweet-video' src='https://twitter.com/i/videos/blah' width='123' height='456' frameborder='0' allowfullscreen></iframe>
  </div>
</div>

このようにして、画像で既に使用している aspect-image-full-size のロジックを再利用することはできますか?

「いいね!」 1