This topic describes what Video Splash Screen is and how you can use it.
Introduction
The Video Splash Screen functionality displays a short video while the application is loading, and a static splash screen after the video is finished and the application is not yet loaded or no video file for the splash screen was provided.
Separate video splash screens can be used for landscape and portrait oriented screens.
The video splash screen works in the following sequence:
The video playback is started and the application begins to load in the background.
The video terminates if a condition, specified by a ready-when event, is fulfilled.
The static splash screen is hidden on an application load.
The application is shown on the screen.
The video terminates only after one of the below event conditions is fulfilled. You have to choose one of them for your application:
video-finished - the application is shown if and only if the video has completed playing
first paint - the application is shown right after first paint becomes available
complete- the application is shown when it has finished loading
custom - the application is shown when the window.screen.show() method is called
If the video is terminated due to one of these events, but the application is not yet fully loaded, a static splash screen will appear for the remaining loading time.
The feature works with web applications.
Video Splash Screen For Web Applications
This topic describes how to add a video splash screen to a web application.
Table 1: Description of the video_splash_screen element
Video Splash Screen child elements
Element
<tizen:vss_default>
Description
This element is used to indicate the default of the splash screen
Occurance
1
Attributes
⬇️
video (mandatory, string) [A path to the video, relative to application's main directory, video requirements can be found here]
background_image (mandatory, string) [A path to static splash screen's background image, relative to application's main directory, image requirements can be found in section Video Splash Screen Specifications]
background_color (mandatory, string) [A static splash screen background's color written as hexadecimal code]
image (mandatory, string) [A path to static splash screen's image, displayed over background_image, relative to application's main directory, image requirements can be found in section Static Splash Screen Specifications]
image_border (mandatory, string) [A static splash screen image's border; one, two or four sizes in px (top, right, bottom, left) followed by border option: repeat, stretch or round]
Table 2: Description of the vss_default element
Element
<tizen:vss_landscape>
Description
This element is used to indicate the landscape of the splash screen
Occurance
0 or 1
Attributes
⬇️
video (optional, string) [A path to the video, relative to application's main directory, video requirements can be found in section Video Splash Screen Specifications]
background_image (mandatory, string) [A path to static splash screen's background image; relative to application's main directory; image requirements can be found in section Static Splash Screen Specifications]
background_color (mandatory, string) [A static splash screen background's color written as hexadecimal code]
image (mandatory, string) [A path to static splash screen's image, displayed over background_image; relative to application's main directory; image requirements can be found here]
image_border (mandatory, string) [A static splash screen image's border; one, two or four sizes in px (top, right, bottom, left) followed by border option: repeat, stretch or round]
Table 3: Description of the vss_landscape element
Element
<tizen:vss_portrait>
Description
This element is used to indicate the portrait of the splash screen
Occurance
0 or 1
Attributes
⬇️
video (optional, string) [A path to the video, relative to application's main directory, video requirements can be found in section Video Splash Screen Specifications]
background_image (mandatory, string) [A path to static splash screen's background image, relative to application's main directory, image requirements can be found in section Static Splash Screen Specifications]
background_color (mandatory, string) [A static splash screen background's color written as hexadecimal code]
image (mandatory, string) [A path to static splash screen's image, displayed over background_image, relative to application's main directory, image requirements can be found here]
image_border (mandatory, string) [A static splash screen image's border; one, two or four sizes in px (top, right, bottom, left) followed by border option: repeat, stretch or round]
Table 4: Description of the vss_portrait element
Example Video Splash Screens Tags
Below is an example video splash screen declaration in the "config.xml" file of a web application.
The following table defines the video splash screen limitations.
Category
Requirement
Video size
Maximum 2MB
Allowed video resolutions
SD, HD, FullHD, 4k
Number of videos
Only one video per orientation
Number of ready-whens
Only one ready-when for all video splash screens for web applications
Table 5: Video splash screen limitations
Static Splash Screen Specifications
The following table defines the static splash screen limitations.
Category
Requirement
Image size
Maximum 200kB
Allowed formats
Any correct image format supported on TV
Allowed aspect ratios
Any aspect ratio
Number of attributes
Only one background_image, image, background_color and image_border per orientation
Table 6: Static splash screen limitations
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.