Width & Height


KWIKplayer allows you to assign your player width and height values when constructing it using the "width" and "height" directive when constructing your player.

The numbers assigned to these directives should be in pixels.

Below is an example of assigninhg the player a width of 720 pixels and a height of 406 pixels.


 <script>
    ...
    width: 720,  //the width on the player
    height: 406, // the height of the player
    sources: [   //the video sources
        {file:"https://clvod.itworkscdn.net/itwvod/smil:itwfcdn/admin/515002-R204MDrB22W6kG8.smil/playlist.m3u8"},
        {file: "https://clvod.itworkscdn.net/itwvod/smil:itwfcdn/admin/515002-R204MDrB22W6kG8.smil/manifest.mpd"},
        {file: "https://clvod.itworkscdn.net/itwvod/smil:itwfcdn/admin/515002-R204MDrB22W6kG8.smil/Manifest"}],
    ...
 </script>