<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Objective-C</anon>
  </categories>
  <description>iOSには動画再生用にMPMovierPlayerViewControllerっていうクラスがあって、URLを渡して表示するだけでめちゃくちゃ簡単に動画再生機能を実装できる。すごく便利。 その分自由度が低くてちょっとした挙動を変えるのが大変だったりする。 まず、普通に動画を再生するならこういう風に実装する。 - (void)playVideo:(NSURL*)url MPMoviePlayerViewController *vc = [[MPMoviePlayerViewController alloc] initWithContentURL:url]; [self presentViewCo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F06%2F09%2F203000&quot; title=&quot;MPMoviePlayerViewControllerが再生完了時に勝手に閉じて困る - ぴよログ&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://www.evernote.com/shard/s15/sh/4544f3ad-325b-4214-ac6b-f2b075ee2133/b49fb60373e925de5dce3bb7bd2aead4/deep/0/url.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-09 20:30:00</published>
  <title>MPMoviePlayerViewControllerが再生完了時に勝手に閉じて困る</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/06/09/203000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
