Example #1
0
 internal void PlayVideo(string filePath)
 {
     if (_mpv == null)
     {
         _mpv = new MpvControl();
         ShowControl(_mpv);
     }
     _mpv.Play(filePath);
 }
Example #2
0
        internal void PlayVideo(string filePath, bool hardwareDecoding, int volume, bool panscan)
        {
            if (_mpv == null)
            {
                _mpv = new MpvControl();
                ShowControl(_mpv);
            }

            _mpv.SetVolume(volume);

            _mpv.Play(filePath, hardwareDecoding, panscan);
        }