Closed
Description
It seems like trying to load an inexisting file closes the program without any errors.
movie = new Movie(this, "fgstdrsfstr");
In this case the bogus file name may be easy to detect. But when I converted
foto = loadImage("../images/foto1.jpg");
into
movie = new Video(this, "../videos/video1.mp4");
the program would just close. I had to comment out all lines of code to find out which line was the problem. This shows a possible second problem: relative paths work for loadImage
but don't for new Video
. If I replace the path with an absolute path it works fine.
Maybe someone can try these two issue to confirm? (wrong path and relative path)