LoginSignup
2
2

More than 5 years have passed since last update.

P-03Eでのvideoにposter属性指定すると再生時に上下がぺしゃんこになるバグ

Last updated at Posted at 2013-08-28

確認環境

  • P-03E
    • 標準ブラウザ
    • Android4.2
    • ビルド番号:10.0992

解決策:

  • videoのposter属性を使わずにほかのelementで画像を表示、再生ボタンを押したら非表示にしてvideoタグ挿入がよさそう(youtubeモバイル版がそんな感じ)

追記 2013/8/29

  • P-03Eだとvideoタグにdisplay:noneが効かない
  • 親要素をoverflow:hiddenにしてimgを表示/非表示で対応しようとするとvidoeアイコンが画面端に表示される
  • video要素をdivで囲むと上記のバグを回避できる
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2