Question

Simple question: How do you play a standard DVD in an AxWindowsMediaPlayer control?

I've tried using the functions in AxWindowdsMediaPlayer.dvd, but none of them seemed to do anything...

Était-ce utile?

La solution

Assign the AxWindowdsMediaPlayer.URL property to the path to the VIDEO_TS.IFO file on the DVD.
Then AxWindowdsMediaPlayer.Ctlcontrols.play() will play that file.

You will need an instance of AxWindowdsMediaPlayer to make these calls on. I don't think they are static.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top