Page 1 of 1

Mediaplayer plugin crashes on hc.mediaplayerPlayFile()

Posted: Tue Feb 28, 2012 3:51 pm
by tferr
Hey,

Experimenting with the macros for playback of Windows Media Player 11 on my Win 7 x64 with the OLE software installed. I can get the macros for play, pause, and stop working, but playfile() seems to be broken. I've loaded the videos/audio I wanted to use as a playlist and tried putting 'hendrix.mp4' and the actual path 'C:\Users\Tyler\Videos\hendrix.mp4' separately as the arguments for PlayFile() with no avail. A popup box in Windows Media Player will appear saying that the plugin has caused an error and it will require a restart of wmp to get the plugin working again. Any ideas on getting PlayFile() working?

Re: Mediaplayer plugin crashes on hc.mediaplayerPlayFile()

Posted: Thu Mar 01, 2012 9:27 am
by BobbyHarrell
I'm not sure if this is it, but if Media Player does not exit properly, Windows will disable plugins thinking the plugin might have caused the crash. You need to manually enable the Marquee Media Player Time Code plug in again.

Re: Mediaplayer plugin crashes on hc.mediaplayerPlayFile()

Posted: Thu Mar 01, 2012 2:08 pm
by tferr
Yes, I know that. The problem is PlayFile() still crashes the plugin, requiring a restart. Maybe I'm not sending it the correct arguments?