> On Mon, 7 May 2007 15:46:01 -0700, Cu_Teo_Sj
> <Cu_Teo_Sj[ at ]discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >
> >
> >I am trying to embed video (playlist) in my local machine html/javascript.
> >In my script when I want to add media to playlist by using:
> >
> >
> >
> >Player.currentPlayList.appendItems(media);
> >
> >
> >
> >I will get the the permission denied error. This problem did not exist in
> >media player 9. After doing some reseach I found out that media player 10
> >and 11 has additional security which required me to do:
> >
> >
> >
> >Player.settings.requestMediaAccessRights('full');
> >
> >
> >
> >Wthis code the video will play fine but there will be a pop up asking for
> >confirmation from user. Right now I am develop a small project which run on
> >local machine so there is no security issue I need to worry. Each time when
> >i want to play something the confirmation will pop up and it turn out to be
> >very annoying. Is there anyway I could either by pass the permission or the
> >confirmation diaglog box?
> >
>
>
> Use an .hta (HTML Application) in IE instead of HTML + Javascript.
>
> You may possibly be able to subvert this using "mark of the web" (ref
>
http://msdn2.microsoft.com/en-us/library/ms537628.aspx) but I doubt
> it, since you're trying to end-run around a deliberately built in
> security feature of the player.
>
> Cheers - Neil
> ------------------------------------------------
> Digital Media MVP : 2004-2007
>
http://mvp.support.microsoft.com/mvpfaqs>