<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shobonengine</author_name>
  <author_url>https://blog.hatena.ne.jp/shobonengine/</author_url>
  <blog_title>ShobonEngineの日記</blog_title>
  <blog_url>https://shobonengine.hatenadiary.org/</blog_url>
  <categories>
    <anon>YouTube</anon>
    <anon>jQuery</anon>
  </categories>
  <description>YouTube を見てみると、120×90px のサムネイル画像が 16:9 のハイビジョンと同じ比率で表示されています。before: 120px * 90pxafter: 128px * 72px (16:9)今回は HTML と CSS で画像を横長に切り取って表示させる方法と、jQuery UI で角丸の枠を追加する方法について記述します。 画像だけを横長にする 以下のコードは、画像サイズを変更し、はみ出した部分をカットして表示させます（画像は上揃いで配置し、下部をカット）。 &lt;!-- HTML --&gt; &lt;div class=&quot;thin-thumbnail-frame&quot;&gt; &lt;img s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshobonengine.hatenadiary.org%2Fentry%2F20110217%2F1297871878&quot; title=&quot; YouTube みたいにサムネイルを横長に表示させたい - ShobonEngineの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shobonengine/20110216/20110216235938.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-17 00:57:58</published>
  <title> YouTube みたいにサムネイルを横長に表示させたい</title>
  <type>rich</type>
  <url>https://shobonengine.hatenadiary.org/entry/20110217/1297871878</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
