ActiveX Content in a local web page, and “the mark of the web”

前端 未结 2 1695
萌比男神i
萌比男神i 2021-01-12 00:32

I\'m trying to make a webpage that people will run from their hard drives, locally, and this page will show a .wmv video (which is also stored locally), using Windows Media

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-12 01:11

    I wasted hours on this problem. Even tried .HTA extension instead of HTML, that worked, but I did not like the .hta application staying open and hanging around like a sore thumb.

    Saving the HTML file in UTF-8 instead of ANSI made the Mark of the Web work. This is insane. Thumbs down MS! Why couldn’t this be documented?

    The code below is saved as HTML in UTF-8 format and it works for me.

        
        
    
        
        
        
    

提交回复
热议问题