how to disable/cancel keyboard events in windows media player in ie RRS feed

  • Question

  • If I have embedded Windows Media Player into my web page (which only needs to work in Internet Explorer), a key press on ESC causes the media playing to stop. How can I prevent this?

    I have tried attaching key listeners to the document and window, but they are called after windows media player stops first.

    I thought that setting the windowlessVideo param to true might give javascript the events first, but even if this worked, it does not matter since my video doesn't even show up when windowlessVideo is true.

    So far I have been interfacing with Javascript, but would move to Jscript if it can cancel keyboard events to WMP.

    So... how can I keep the ESC key from stopping the video?

    (i asked this 5 months ago in the Jscript forum, but no one answered.)

    Thursday, March 18, 2010 2:37 AM