update VideoPlayerGame test
parent
15028bb1f1
commit
c2c9a66181
Binary file not shown.
|
@ -60,11 +60,12 @@ namespace MoonWorks.Test
|
||||||
GraphicsDevice.Wait();
|
GraphicsDevice.Wait();
|
||||||
|
|
||||||
// Load the video
|
// Load the video
|
||||||
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"));
|
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"), 25);
|
||||||
|
|
||||||
// Play the video
|
// Play the video
|
||||||
videoPlayer = new VideoPlayer(GraphicsDevice, AudioDevice);
|
videoPlayer = new VideoPlayer(GraphicsDevice);
|
||||||
videoPlayer.Load(video);
|
videoPlayer.Load(video);
|
||||||
|
videoPlayer.Loop = true;
|
||||||
videoPlayer.Play();
|
videoPlayer.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue