Evt_media_loaded not working on vista/windows 7

For some reason the evt_media_loaded is not being triggered on windows 7
and windows vista. However, the same code on windows xp works just fine.
Anybody have any ideas?

For some reason the evt_media_loaded is not being triggered on windows 7
and windows vista. However, the same code on windows xp works just fine.
Anybody have any ideas?

For some reason the evt_media_loaded is not being triggered on windows 7
and windows vista. However, the same code on windows xp works just fine.
Anybody have any ideas? What I’m trying to do is auto play audio once it
has loaded. My solution right now has been to just user a static timer
and hope that the audio loads within that time. Once the timer counts
down it will try to play the audio. However, if the audio is not done
loading it will not work correctly

HI Chase

On 12/10/2010 01:41, Chase W. wrote:

For some reason the evt_media_loaded is not being triggered on windows 7
and windows vista. However, the same code on windows xp works just fine.
Anybody have any ideas?

It appears to be a bug in wxWidgets:
http://trac.wxwidgets.org/ticket/10958

We will have to wait for a fix in the underlying library - I don’t have
Windows 7 so unfortunately I can’t look into it myself.

What I’m trying to do is auto play audio once it
has loaded. My solution right now has been to just user a static timer
and hope that the audio loads within that time. Once the timer counts
down it will try to play the audio. However, if the audio is not done
loading it will not work correctly

There is some discussion on this page - but it sounds like the final
workaround is similar, ie call sleep(1) after load.

http://forums.wxwidgets.org/viewtopic.php?t=18761

alex