Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/kimiyuki/www/wp/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/kimiyuki/www/wp/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/kimiyuki/www/wp/wp-includes/script-loader.php on line 758

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/kimiyuki/www/wp/wp-includes/script-loader.php on line 758

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/load.php on line 926

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kimiyuki/www/wp/wp-includes/formatting.php on line 4798
ふーちゃんじぇいぴっ(^_^;) » html5

html5

HTML5の<video>タグの注意点

HTML5では<video>タグを利用することにより、プラグインなしで、動画の再生が可能になっているが、<video>タグにcontrols属性を設定しないと、動画画面で、再生ボタンが表示されないので、結果再生不可。
具体的には以下。

<video id="goods1" controls poster="goods1.png" width="300" height="200">
    <source src="goods1.webm" type='video/webm'>
    <source src="goods1.ogv" type='video/ogg'>
    <source src='goods1.mp4' type='video/mp4'>
    <p>HTML5対応ブラウザでご覧ください。</p>
</video>