Groups
Groups
Sign in
Groups
Groups
CodenameOne Discussions
Conversations
Labels
About
Send feedback
Help
Play small video in the Splash Screen?
12 views
Skip to first unread message
Amine
unread,
Dec 10, 2020, 9:41:52 AM
12/10/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
Hi,
How can i add small video as a ressource? and us it in the splash screen?
Kind regards,
Shai Almog
unread,
Dec 11, 2020, 12:00:38 AM
12/11/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
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.
Reply all
Reply to author
Forward
0 new messages