Video element is not displaying in IE8?

后端 未结 2 1014
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 12:01

I want to embed video element in all browsers,but its working fine in all browsers except IE8.Here, i am using mediaelement.js library to implement.

2条回答
  •  时光说笑
    2021-01-13 12:49

    First, a couple of things to try:

    • Make sure Flash is installed on IE8. It's the fallback for Mediaelement.js in older browsers.
    • Make sure you place all scripts and css inside the tag. It will not work from in IE6-8.
    • Try going to Mediaelement's website or the link below. They should work fine in IE8 with flash installed, and if they're not, then it's probably a local problem with your browser.

    I put together a working example in IE8 below.

    Example on JSBin.

    • IE version 8.0.6001.18702
    • jQuery version 1.10.2
    • Mediaelement.js version 2.13.2

    Relevant code

    
        
        
        JS Bin
        
        
    
    
        
    
    

    Working in IE8

    enter image description here

提交回复
热议问题