0
<video controls="controls" poster="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.jpg" width="854" height="480" onclick="if(/Android/.test(navigator.userAgent))this.play();" autoplay>
<source src="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.mp4" type="video/mp4" />
<source src="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.webm" type="video/webm" />
<source src="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.ogv" type="video/ogg" />
<object type="application/x-shockwave-flash" data="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.swf" width="854" height="480" style="position:relative;">
<param name="movie" value="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.swf" />
<param name="allowFullScreen" value="true" />
<param name="flashVars" value="autoplay=true&controls=true&loop=true&src=General_Ledger_Demo.mp4" />
<embed src="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.swf" width="854" height="480" style="position:relative;" flashVars="autoplay=true&controls=true&loop=true&poster=<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.jpg&src=General_Ledger_Demo.mp4" allowFullScreen="true" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_en" />
<img alt="insight-commercial" src="<?php echo get_template_directory_uri(); ?>/library/video/General_Ledger_Demo.jpg" style="position:absolute;left:0;" width="854" height="480" title="Video playback is not supported by your browser" />
</object>
</video>
適用於IE9,Firefox,Safari甚至Android平板電腦。但是,IE8產生一個空白屏幕(回落到閃光燈)。文件路徑是正確的,它不是一個權限問題(全部是755)。過了好幾天,終於訴諸專家。Flash在IE8中無法工作,在HTML5視頻內部Tag
謝謝。
實際網址:oracle.insightsoftware.com/product/general-ledger-demo – Nate 2012-03-26 14:54:08