Hi, use CN or Displays getResourceAsStream to get the stream to the video from the root of the src directory using the '/filename.mp4' path. MediaPlayer accepts a video as a stream too. Normally it isn't recommended but a small file should be fine.
On Thursday, December 10, 2020 at 4:41:52 PM UTC+2 [email protected] wrote: > Hi, > > How can i add small video as a ressource? and us it in the splash screen? > > Kind regards, > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f86f867c-2186-4c16-9966-01fd715d4babn%40googlegroups.com.
