Jump to content

How to change to the new way of video resolution display after updating to 6.1.2


Tech Support

Recommended Posts

KVS default theme rendered HD flag for videos like this:

theme_old_hd_flag.png.6b771f69c6c9baf46d8ee87fce933670.png

 

Now with 6.1.2 version you can extend this to render more detailed info, such as 720p, 1080p and higher. In order to do this please edit the template in Website UI -> Page components -> include_list_videos_block_common.tpl. It should have the following line (could be slightly different in your case):

{{if $item.is_hd==1}}<span class="is-hd">HD</span>{{/if}}

 

Change it to the following line:

{{if $item.resolution_type==1}}<span class="is-hd">720p</span>{{elseif $item.resolution_type==2}}<span class="is-hd is-2k">1080p</span>{{elseif $item.resolution_type>0}}<span class="is-hd is-{{$item.resolution_type}}k">{{$item.resolution_type}}K</span>{{/if}}

 

Link to comment
Share on other sites

  • 2 months later...
On 10/23/2023 at 9:59 AM, Tech Support said:

KVS doesn't support this kind of resolution flag, after 1080p it supports 4K, 5K, 6K and 8K.

 

So, why not support 1440p (2K)?
It should be included in the next update if there aren't any issues with it :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...