I have a Windows Media Object in a C# WebBrowser control. We've got what are basically .AVI files, and the files have been given a custom header. In order to play these we have a custom DirectShow filter.
The videos can be played back inside Windows Media Player, and inside a Windows Media Player Object in IE9 on Windows 7, and in IE8 on Windows XP.
The video playback also succeeds inside the C# embedded WebBrowser control in XP, but not on Windows 7. When trying to use the Windows Media Player Object in the C# WebBrowser control in Windows 7 we receive a message stating: "Windows Media Player cannot play the file. The player might not support the file type or might not support the codec that was used to compress the file."
It's exactly the same code each time, so does anyone have any idea why the specific combination of Windows 7, the WebBrowser Control, and Custom DirectShow filters fails to playback the video, when everywhere else it functions correctly?