import { $ } from '@oplayer/core' import { UIInterface } from '../types' import { progress, userName, time, description, tag } from './Title.style' const render = (it: UIInterface, el: HTMLElement) => { const { config } = it if(!config.title) return const renderTags = (tags: {name: string, url: string}[]) => { let tagsDomStr = "" tags.forEach((item) => { tagsDomStr += `#${item.name}` }) return tagsDomStr } const $dom = $.create( `div.${progress}`, {}, `