Windows Media Player Catalog Items and Sysgen Variables (Compact 7)
3/12/2014
In Windows Embedded Compact, you can add the Windows music player, Windows video player, or Windows photo viewer to your OS to enable your users to view and play their digital media and photos on the Windows Embedded Compact powered device. Each added application is based on Microsoft Silverlight for Windows Embedded.
For more information, see Windows Media Player.
For more information about how to add or remove catalog items, see Design Your First OS.
Hardware and Software Requirements
- Requires a Silverlight for Windows Embedded shell or application launcher such as Sample Home Screen.
- Requires support for media formats. For more information, see Encoded Media Catalog Items and Sysgen Variables.
Catalog Items and Sysgen Variables
The following table describes the catalog items and associated SYSGEN variables for the Windows music player, Windows video player, and Windows photo viewer.
Catalog item | SYSGEN variable | Description | Dependencies |
---|---|---|---|
Windows Music Player |
SYSGEN_MUSIC_PLAYER |
Provides a sample music player. |
Requires a device with a display screen. |
Windows Video Player |
SYSGEN_VIDEO_PLAYER |
Provides a sample video player. |
Requires a device with a display screen. |
Windows Photo Viewer |
SYSGEN_PHOTO_VIEWER |
Provides a sample photo viewer. |
Requires a device with a display screen. |
Sample Media Content |
SYSGEN_MEDIAAPPS_MEDIACONTENT |
Adds example media content (.mpg, .mp3, .wma, and .jpeg) to the run-time image to test playing media. |
Requires Windows music player (SYSGEN_MUSIC_PLAYER), Windows photo viewer (SYSGEN_PHOTO_VIEWER), or Windows video player (SYSGEN_VIDEO_PLAYER). Also requires a Media Library Configuration File (MLConfig.XML). |
The following table describes the catalog items and associated SYSGEN variables you can use to select a display screen configuration for the layout of the UI elements in the music player, video player, and photo viewer.
Note
In Catalog Items View in Platform Builder, the display screen configuration catalog items are located in <OS Design Name>\Core OS\Windows Embedded Compact\Shell and User Interface\Shell\Screen configuration.
Catalog item | SYSGEN variable | Description | Dependencies |
---|---|---|---|
640 x 480 Portrait |
IMG_SCREEN_SMALL |
Provides a layout of UI elements in the music player, video player, and photo viewer for display screens of 640 x 480 pixels. |
Requires a Windows music player based on Silverlight for Windows Embedded (SYSGEN_MUSIC_PLAYER), a Windows video player based on Silverlight for Windows Embedded (SYSGEN_VIDEO_PLAYER), and a Windows photo viewer based on Silverlight for Windows Embedded (SYSGEN_PHOTO_VIEWER). |
800 x 480 Landscape |
IMG_SCREEN_MEDIUM |
Provides a layout of UI elements in the music player, video player, and photo viewer for display screens of 800 x 480 pixels. |
Requires a Windows music player based on Silverlight for Windows Embedded (SYSGEN_MUSIC_PLAYER), a Windows video player based on Silverlight for Windows Embedded (SYSGEN_VIDEO_PLAYER), and a Windows photo viewer based on Silverlight for Windows Embedded (SYSGEN_PHOTO_VIEWER). |
1920 x 1080p Landscape |
IMG_SCREEN_LARGE |
Provides a layout of UI elements in the music player, video player, and photo viewer for display screens of 1920 x 1080 pixels. |
Requires a Windows music player based on Silverlight for Windows Embedded (SYSGEN_MUSIC_PLAYER), a Windows video player based on Silverlight for Windows Embedded (SYSGEN_VIDEO_PLAYER), and a Windows photo viewer based on Silverlight for Windows Embedded (SYSGEN_PHOTO_VIEWER). |
See Also
Reference
Windows Media Player Registry Settings