It took me a while to figure out how to embed a QuickTime player in a C # application. When I was very pleased with my success, the changes were changed for user controls (and not for Apple QuickTime Control 2.0) for our player.
I searched a lot for examples or documentation, but, as usual, Apple doesn't. Nevertheless, I am very tense, like this:
if (m_QTPlayer.Movie != null)
{
m_QTPlayer.QuickTime.QTEvent += new
QTOLibrary._IQTObjectEvents_QTEventEventHandler(QuickTime_QTEvent);
m_QTPlayer.Movie.QTEvent += new
QTOLibrary._IQTObjectEvents_QTEventEventHandler(Movie_QTEvent);
}
but, surprisingly, I do not receive any event in my Movie_QTEvent method.
Is there something that eludes me? It’s hard to believe that this is impossible, but I don’t see how to do it.
Thanks, MOSU
source
share