From 7b0bc171d659ff4a0dddc724860fdd09f42b08b3 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Wed, 8 Jun 2016 14:32:57 -0700 Subject: Added video player Added 1 video for video player to play --- files.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'files.lua') diff --git a/files.lua b/files.lua index 1192333..fe6e130 100644 --- a/files.lua +++ b/files.lua @@ -84,6 +84,13 @@ function updateFiles() end openFileWindow(7) elseif files == f.videos then + if i == 1 and vplay.v ~= video.attacktortoise then + if vplay.v ~= 0 then + vplay.v:stop() + end + vplay.v = video.attacktortoise + vplay.p = true + end openFileWindow(8) elseif files == f.music then if i == 1 and mplay.m ~= music.chill then -- cgit