Introduction
The default behaviour for the Applicaster video player is that it will launch full screen landscape when selecting any content to play.
The Inline Player plugin allows the player to instead appear in a screen of content. The player can still be made full screen or closed back to inline mode by the user rotating their device.
The inline player also supports Hooks in the same way as the normal play. This enables payment gateways to be inserted before an item can be played, or advertisements etc.
Screen layout
The inline player appears at the top of the screen.
Any component or group component can be used as the content source for the inline the player.
The player auto-plays when the screen is launched with the first item in the feed assigned to the screen.
Configuration
Add the following plugin to your app before (re)building.
Define the player plugin ID to launch in the plugin configuration. For instance the Applicaster player or any 3rd party player plugin that has been configured for your app. In the example below this is the standard Applicaster player = QuickBrickPlayerPlugin
Add a screen of type = inline player to your layout.
Add a component(s) in the usual way to this screen.
Configure the in-line player screen
Persist Player when enabled the player is always fixed to the top of the screen and only the content components below the player can be scrolled. When disabled the player can also be scrolled off the top of visible area.
Data Add a feed to your component in the usual way. When the inline player screen is opened the player will auto play the first item of the feed and present all items in the feed in the components attached to the screen.
Styles this section styles the inline player content info section that appears just below the player displaying the playing item title and description.
- Background color of the description box
- Title font iOS and Android
- Title font size and color
- Description font iOS and Android
- Description font size and color
Comments
0 comments
Please sign in to leave a comment.