<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AdwaysEngineerBlog</author_name>
  <author_url>https://blog.hatena.ne.jp/AdwaysEngineerBlog/</author_url>
  <blog_title>Adwaysエンジニアブログ</blog_title>
  <blog_url>https://blog.engineer.adways.net/</blog_url>
  <categories>
    <anon>html5</anon>
  </categories>
  <description>はじめまして。エンジニアブログ初投稿の南です。 広告代理店であるアドウェイズではさまざまな動画広告を媒体に配信しています。 ある日、「動画からサムネイルを手軽に作る機能がほしい」と要望がありました。 用件としては、 動画広告はサムネイルによって効果が変わる場合があるので、一つの動画から複数のサムネイルを作成する場合がある 毎回スクリーンショットを撮るのは面倒 再生しながらボタン一つで作成したい 以上のようなものでした。 今回はhtml5で新たに追加されたcanvasタグとjavascriptを用いて実装してみようと思います。 html用意 動画を描画するhtmlを用意します。 &lt;html&gt; &lt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.engineer.adways.net%2Fentry%2F2017%2F02%2F24%2F160000&quot; title=&quot;canvasタグを使って動画のスクリーンショットを撮る方法 - Adwaysエンジニアブログ&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/A/AdwaysEngineerBlog/20170224/20170224125913.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-24 16:00:00</published>
  <title>canvasタグを使って動画のスクリーンショットを撮る方法</title>
  <type>rich</type>
  <url>https://blog.engineer.adways.net/entry/2017/02/24/160000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
