Flash in mediaelement.js only shows “download file”

后端 未结 3 1253
日久生厌
日久生厌 2021-01-02 11:37

I would like to get the Flash fallback for mediaelement.js to work, but it only shows a black area saying \"download file\" in the upper left. The video markup I generate l

3条回答
  •  攒了一身酷
    2021-01-02 12:06

    1) You didn't specify inside video - that's why it doesn't work. You need to specify multiple 's for it to work in different browsers - see "Option B" at http://mediaelementjs.com/ .

    "Download file" link is indeed generated by MediaElement logic (see mediaelement-and-player.js:1027).

    2) Flash fallback will only be invoked if the browser doesn't support tag. To test it in a browser that does, replace "

    Here's the fixed code (replaced some paths to be able to test it):

    
        
            
            
            
        
        
            
        
    
    

提交回复
热议问题