<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>worris2</author_name>
  <author_url>https://blog.hatena.ne.jp/worris2/</author_url>
  <blog_title>徒なる研究あるいはイアトロ化学者</blog_title>
  <blog_url>https://worris2.hatenadiary.org/</blog_url>
  <categories>
    <anon>日曜ハッキング</anon>
    <anon>ChordWiki</anon>
  </categories>
  <description>ChordWiki に加えた機能をメモっとく。 YouTube とニコニコ動画のサムネイル画像を JSONP で表示 動画埋め込みを止めて外部リンクが文字だけだと寂しいので賑やかしにサムネイル画像だけ表示したい。API を使うのだが、自サーバの負担は増やしたくないので JSONP を使う。 YouTube は簡単に画像 URL を作る方法もあるみたいだけど、実際に使われている URL は違うので、律儀に API を呼ぶ。 &lt;img id=&quot;ytthumbnail&quot; class=&quot;thumbnail&quot;/&gt; という空の img タグを置いといて &lt;script type=&quot;text/javascr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fworris2.hatenadiary.org%2Fentry%2F20091018%2F1255871670&quot; title=&quot;動画サムネイルの表示とか iTunes アフィリエイト貼り付けとか JavaScript でやったメモ - 徒なる研究あるいはイアトロ化学者&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-10-18 22:14:30</published>
  <title>動画サムネイルの表示とか iTunes アフィリエイト貼り付けとか JavaScript でやったメモ</title>
  <type>rich</type>
  <url>https://worris2.hatenadiary.org/entry/20091018/1255871670</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
