Jump to content

Changing video resolution indicator?

Recommended Posts

Yes, you can do that. The indicator is rendered in Website UI -> Page components -> include_list_videos_block_common.tpl using this line:

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

You can change it to:

{{if $item.resolution_type==1}}<span class="is-hd">HD</span>{{elseif $item.resolution_type==2}}<span class="is-hd is-2k">FHD</span>{{elseif $item.resolution_type>0}}<span class="is-hd is-{{$item.resolution_type}}k">{{$item.resolution_type}}K</span>{{/if}}
  • Like 1
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.

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...