setPoster
set poster between player and control panel
Parameters
url
The image URL, resource reference, or local URI. Can be null.
scaleType
The desired scaling behavior for the poster. Supports:
PosterScaleType.FIT → Scales the image to fit within the view (equivalent to
fitCenter).PosterScaleType.CENTER_CROP → Scales and crops the image to fill the view (equivalent to
centerCrop).PosterScaleType.CENTER_INSIDE → As default, scales the image down (if necessary) and centers it (equivalent to
centerInside).