Sign in to follow this  

Problems using embedded Windows Media Player

This topic is 3294 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all! Maybe not the best forum for this, but I am trying to use an embedded Windows Media Player in my game for displaying introductory videos and cut-scenes. What I am using something based on an ATL sample I found (which works perfectly as is). The problem I am having is that put_URL() does not seem to work (the method that actually loads a video file and begins playback). It returns S_FALSE (success, but not ok) and just sits there. Since ATL is very sensitive to threads, I have one dedicated thread that controls the entire Media Player interface (creation, destruction, playback control etc.) that receives signals from the rest of the system, with events that are identifiable by strings (e.g. "open:<url>" will open a file from <url>). The file I am trying to open does exist, the path is correct (absolute path) and it runs well when opened in "normal" WMP. I've found lots of people that have had the same problem, but no solution to it... hence why I am asking here. Has anybody got any ideas?

Share this post


Link to post
Share on other sites

This topic is 3294 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this