DEV Community

Clint
Clint

Posted on • Edited on

1 1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay