how do you check if the video is finished?
COMMUNITY QUESTION
how to check if videoframe finished video?
2 answers
wait(length of video)
print("Video is finished!")
local videoFrame = pathtovideoframe
videoFrame:GetPropertyChangedSignal("TimePosition"):Connect(function()
if videoFrame.TimePosition >= videoFrame.TimeLength then
print('Video Finished')
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
