Customize the appearance of the player


An engaging app experience is not driven solely by media and player functionality. In many use cases, you have added a video player to enhance the user's experience of your app -- not to showcase the video player.

Through the iOS SDK's customization options, you can add a video player that seamlessly blends with the aesthetic of your app and strengthens your brand.



Player Skin

To customize the player's skin you must set a JWPlayerSkin instance to your instance of JWPlayerViewController.

let skinStylingBuilder = JWPlayerSkinBuilder()
// Call methods on the builder to create your desired style.
let skinStyling = try? skinStylingBuilder.build()
controller.skin = skinStyling
JWPlayerSkinBuilder *skinStylingBuilder = [JWPlayerSkinBuilder new];
// Call methods on the builder to create your desired style.
JWPlayerSkin *skinStyling = [skinStylingBuilder build];
controller.styling = skinStyling;


Color Customization

Using JWPlayerSkin you can edit the color of the elements contained in the controlbar, timeslider, and menus.

let controlBarStyleBuilder = JWControlBarStyleBuilder()
// Call methods on the builder to create your desired style.
let controlbarStyling = controlBarStyleBuilder.build()
skinStyling.controlBarStyle(controlbarStyling)
JWControlBarStyleBuilder *controlBarStyleBuilder = [JWControlBarStyleBuilder new];
// Call methods on the builder to create your desired style.
JWControlBarStyle *controlbarStyling = controlBarStyleBuilder.build();
[skinStylingBuilder controlBarStyle: controlbarStyling];


Did this page help you?