Prevent divx web plugin fron replacing html5 video element?

后端 未结 4 601
傲寒
傲寒 2020-12-31 09:02

For some reason I\'m sure the folks at DivX think is important, there is no straightforward way to prevent their plugin from replacing all video elements on your page with t

4条回答
  •  离开以前
    2020-12-31 09:37

    I got around this by putting an empty HTML 5 video tag, then putting in the video source tags in a JavaScript function in the body onload event. The video then comes up in the normal HTML 5 player and not the DivX web player.

    e.g. This would give the DivX player:

    
    

    But this would give the normal html 5 player:

        
        
        
        
    
           
    
        
    

提交回复
热议问题