I tried both:
and also an AVI file, getting anyway that error message, "Invalid mime".
There is also a log I think written by the SimpleMediaManager library:
*** Add a reference to the video library and add SMM_VIDEO to the build configuration ***
B4X:
smm.SetMediaFromFile(Pane1, "C:\Users\sg\Desktop\", "myfile.mp4", "video/*", CreateMap(smm.REQUEST_RESIZE_MODE : "FILL_NO_DISTORTIONS"))
smm.SetMediaFromFile(Pane1, "C:\Users\sg\Desktop\", "myfile.mp4", "video/mp4", CreateMap(smm.REQUEST_RESIZE_MODE : "FILL_NO_DISTORTIONS"))
There is also a log I think written by the SimpleMediaManager library:
*** Add a reference to the video library and add SMM_VIDEO to the build configuration ***