getCalculateSize

fun BaseVideoView.getCalculateSize(width: String?, height: String?): <Error class: unknown class><Int, Int>

getCalculateSize is an extension function that return the correct Sizes from an element taking the BaseVideoView width and height as 100%

Parameters

width

the width of the element in percentage that comes from the api

height

the height of the element in percentage that comes from the api