video.js - videojs 4.0 meet strange on IE9 -


i embed js through cdn. img source , video source load romote disk,the img can't scale player size. when click play button,but can't play video. website link: http://www.zeguoren.com/thread-6463-1-1.html

according w3c html5 specifications:

the image given poster attribute, poster frame, intended representative frame of video (typically 1 of first non-blank frames) gives user idea of video like.

so should use image poster attribute fit size of video. if want see poster img, have set preload attribute 'none' or 'metadata' (see here).

about video, internet explorer 9 support .mp4 format. should add source:

<video data-setup="{}" poster="http://img142.poco.cn/[...]2043.jpg"   preload="none" class="vjs-tech" id="my_video_1" tabindex="0">   <source type="video/mp4" src="http://storage.live.com/items/f[...]2b!290?a.mp4"></source>   <source type="video/webm" src="http://storage.live.com/items/f[...]2b!290?a.webm"></source> </video> 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -