You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Activity
codeanticode commentedon Jul 17, 2019
@hamoid Does this still happen with the latest beta?
hamoid commentedon Jul 17, 2019
Works great.
launch2.mp4directly inside theMovie/folder, then change the examples to target../../launch2.mp4and they worked fine.Nice!
codeanticode commentedon Jul 17, 2019
Awesome, thanks for checking!