Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Embedding Media Player in html page

5 views
Skip to first unread message

Maria Tirabelli

unread,
Sep 26, 2009, 6:30:14 AM9/26/09
to

Why is that when I embedd the wmplayer activex object in a html page it
triggers a security alert when the page is loaded by the client?
Just like we embedd flash player in a web page, why can we not do the same
with windows media player?

Can anyone confirm that, WMPlayer object will always trigger a client
browser security alert by default?


Thanks


Sample Html Page:

<html>
<head>
<title>Video Page</title>
</head>
<body>
<object id="MediaPlayer1" style="left: 158px; width: 400px; top: 69px;
height: 388px;"
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
height="400" width="300">
<param name="AutoSize" value="-1">
<param name="AutoStart" value="-1">
<param name="Filename" value="video.wmv">
</object>
</body>
</html>

Neil Smith [MVP Digital Media]

unread,
Sep 26, 2009, 9:18:12 AM9/26/09
to
For a start, you're using the ClassID for media player 6.4, where it
should be WMP7 and later (WMP7-12 have the same clsid GUID)

See http://www.mioplanet.com/rsc/embed_mediaplayer.htm for a typical
example of simple embedding code

HTH
Cheers - Neil

------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs

0 new messages