ActiveX Content in a local web page, and "the mark of the web"
Posted
by Daniel Magliola
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Magliola
Published on 2010-04-26T23:12:23Z
Indexed on
2010/04/26
23:23 UTC
Read the original article
Hit count: 694
Hi,
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 Player
When I run this, IE shows me the "ActiveX Warning" bar at the top, which is what i'm trying to work around. If I load this from a web server, it loads fine, but from the local disk, it won't.
Now, apparently, MS has added the Mark of the Web thingy precisely to work around this problem, however, I've been trying for a while to make it work, and it just didn't. I still get the warning bar.
Is the Mark of the Web supposed to still work? Or this is some kind of deprecated thing?
Am I doing anything wrong? I'm supposedly following all instructions, it looks like:
and I've tried placing it before DOCTYPE, between DOCTYPE and <HTML>, right after <HTML>, in the <HEAD> of the document, etc. Nothing seems to work.
I've tried this in IE7 and IE8
Any ideas will be GREATLY appreciated.
Thanks!!
© Stack Overflow or respective owner