Skip to content

Round Player Corners

Last updatedView as Markdown

You can round the corners of the player without having to modify the PoWaSettings.container.style. To round the corners, use the data-border-radius attribute.

When data-border-radius is set to true, the corner radius defaults to 8 pixels; however, you can also enter any integer to define the border radius in pixels. 

Example

Round corners with default value

<div class="powa" org="test" uuid="abcd-1234-uuid" data-border-radius="true"></div>

Round corners with specific value

<div class="powa" org="test" uuid="abcd-1234-uuid" data-border-radius="10"></div>