Media Player Properties
You can use Media Player properties to adjust the appearance and functionality of a Media Player component.
Adjusting Media Player Properties
Select the corresponding component in the Scene Manager and go to the Layout section located under the Properties tab in the Inspector. You can type a value into the corresponding field, select a value from a list, or right-click a numeric field and change its value by moving your mouse while keeping the right mouse button pressed.
Media Player Properties
You can modify the following Media Player properties.
- Playlist: Here you can create a playlist by dragging and dropping assets into the corresponding fields.
- Autoplay: Select this option to start playing content as soon as the Media Player component is opened or interacted with.
- Loop: Selecting this option will loop the playlist indefinitely.
- Volume: Here you can set the volume at which audio in the Media Player component will play.
- Volume Control: Select a volume control mode of the Media Player. Fixed means the volume keeps the level preset by the Volume slider. Scaling means the volume goes up when the component is enlarged, and lower when it is scaled down. Interactive shows a volume control on the component. With the addition of Exclusive the volume of all other components is muted when this one is selected.
- Background Image: Here you can select a background for the media player from the assets that you have imported into Touch Creator. The default value is the Default (Border) image.
- Fill Mode: Select how the assigned media fills the Media Player. Original Size is self-explanatory. Scale into Frame fills the space as far as possible without making cuts to media. However, as the aspect ratio is maintained, horizontal or vertical bars may be visible at the borders. Scale to Fill Frame fills the space keeping the aspect ratio, but may apply cuts to the media. Scale to Fit Horizontally maintains the aspect ratio, but may cut the height of the media or show horizontal bars. Scale to Fit Vertically does the same with possible cuts in width or vertical side bars. Stretch to Fill Frame fills the space and shows the media in full, but may distort the aspect ratio.
- Remote Position: Set the position of the remote when the Media Player enters a drop pane. Last Position shows the remote at the last stationary position of the component. Original Position shows it at the position the component has in its Original style. Fixed Position shows the remote on a fixed position, and On Element attaches the remote to the component where ever it is moved.
- Show Remote: Set this to show the remote control when the media player enters a drop pane.
- Show Player Bar: Select this option to display a player bar in the component to control playback.
- Show Close Button: Select this option to allow users to close the Media Player component.
- Show Remote Line: Shows a separation line between the Media Player component and the remote.
- Shuffle: Here you can set the Media Player component to play its playlist contents in a random order.
- Close when Done: Select this option to close the media player when the playlist has finished.
- Auto Advance: Select this option to automatically move on to the next asset in the playlist.
- Advance Interval: Enter how long each asset in the playlist should play before preceding to the next. This applies to components without duration such as images and HTML pages.
- Remote Bounds: Set the area in which the remote control can be moved about on the interface.
Working with Media Player Properties
The properties for the Media Player component are quite similar to those that you would find in audio and video players such as iTunes and Quicktime. Many of the available properties such as volume and loop will be familiar to you from those applications, so no further explanation of their functionality is given.
Volume Control modes allow the component to react to the user's touch behavior, particularly the scaling of the component. Fixed keeps the volume at its original setting. Scaling sets the volume in proportion to the size of the media player. Solo means that only the media player last selected is heard. Solo Scaling combines the Solo and the Scaling modes.
The Advance Interval setting takes effect only if the Auto Advance checkbox above it is activated. Media that has a defined playback length such as videos aren't affected by the Advance Interval setting, i.e. the playback proceeds right after the playback of the corresponding media is complete.
Note: Media player Fill Modes might interfere with Drop Pane fill modes. Make sure to test this interaction in order to get the desired results.