Domanda

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...

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top