(c9b5d70ff) Removed: Hardcoded video path

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:47:58 +02:00
parent 12f963d2a5
commit 7140151882
8 changed files with 233 additions and 35 deletions
@@ -718,8 +718,7 @@ namespace Barotrauma.Tutorials
{
if (ContentRunning) return;
ContentRunning = true;
string fileName = "1_CommandReactor/command_reactor_video.mp4";
videoPlayer.LoadContent(playableContentPath + fileName, new VideoPlayer.VideoSettings(segment.VideoContent), new VideoPlayer.TextSettings(segment.VideoContent), segment.Id, true, () => ContentRunning = false);
videoPlayer.LoadContent(playableContentPath, new VideoPlayer.VideoSettings(segment.VideoContent), new VideoPlayer.TextSettings(segment.VideoContent), segment.Id, true, () => ContentRunning = false);
}
private IEnumerable<object> WaitToStop()