Are there ways to play a video loaded into resources on a form? I tried the Microsoft.DirectX.AudioVideoPlayback.dll
library, but when I tried to upload a video to a form, the whole program hung, it only helped to get out of debugging. I also tried WindowsMediaPlayer
, but with it only the sound is played and it is not possible to add from the video resources, you need a path to the video itself on the PC.
- Provide code that hangs. - iluxa1810
- And what's stopping you from getting the video from the resource and putting it into the file system in runtime? - iluxa1810
- @ iluxa1810, paste.ofcode.org/K3iTQJd9fwBM2LsPRvBj8D . It hangs on the moment of assignment to the video variable of the video itself. And how to put the video in the file system? - Irvin
- Extraction of resources in desktop applications - Morozov Damian
- @ iluxa1810, I did it - paste.ofcode.org/LBkAHJ3jtYRb2tZpSc8XQf . The sound is coming, there is no video - Irvin
|