タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

videoとHTML5に関するi0001c48のブックマーク (3)

  • iOSのsafariではvideoタグのautoplayができないということ - tetsuya_odakaの日記

    html5を触ってみようと思い、videoタグをいじっていたのだけど、iPadで自動再生(autoplay)ができない。 PCの方は、IE9, chrome17, firefox11, opera11, safari5で問題なくautoplayが効く。 safari developerに行ってみると、iOSの注意事項(こちら)として以下と書いてあり納得。 ...上記リンク先から転記 In Safari on iOS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, preload and autoplay are disabled. No data is loaded until the user initiates it.

    iOSのsafariではvideoタグのautoplayができないということ - tetsuya_odakaの日記
    i0001c48
    i0001c48 2012/09/13
    mobile版safariではautoplay属性が使えない。GoogleChromeの同様の挙動も、恐らく同じ理由からだろう。
  • HTML5 videoのcodecsの書き方

    <source src='videofile.mp4' type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> いわゆるHTML5 videoのsource要素のtype属性には、上記のように動画のコーデックを書くらしい。 avc1.42E01E, mp4a.40.2 とか "avc1.58A01E, mp4a.40.2" とか色々あるらしいのだが、全く意味が分からない!動画によって変わるらしいけど、自分の動画に適した文字列はどれなんだよ! というわけで調べました。 なぜかなかなか情報が見つからなくて大変だった。 結論から言うと、H.264形式の場合、動画のプロファイルとレベルによって何を書くべきかが変わります。 まず、前半のavc1.42E01Eの部分が動画のコーデックを表しています。「avc1」がAVC、つまりH.264という意味になるそう

    HTML5 videoのcodecsの書き方
  • Learn web development  |  web.dev

    Stay organized with collections Save and categorize content based on your preferences. Explore our growing collection of courses on key web design and development subjects. An industry expert has written each course, helped by members of the Chrome team. Follow the modules sequentially, or dip into the topics you most want to learn about.

    Learn web development  |  web.dev
  • 1