DEV Community

Clint
Clint

Posted on • Updated on

DVD Player

Can someone please tell my how to play dvd files with c# code I can detect the dvd and the title of the disc playing avi and mp4 files works just not if there on a dvd drive.

    //Button to play dvd
    private void TStripBtnPlay_Click(object sender, EventArgs e)
    {
        //axWinMP.URL = "f:\\\\VTS_01_1.VOB";  //VIDEO_TS.IFO";
        //axWinMP.URL = "D:/videos/video.480p.mkv";

        axWinMP.URL = "f:/VIDEO_TS/VIDEO_TS.IFO";
        //axWinMP.m
        axWinMP.Ctlcontrols.play();
        //axWinMP.dvd.domain;
    }

Top comments (0)