- tagsString += '<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">'
- tagsString += '<h2>Video: <span itemprop="name">' + schemaTags.name + '</span></h2>'
-
- Object.keys(schemaTags).forEach(tagName => {
- const tagValue = schemaTags[tagName]
- tagsString += `<meta itemprop="${tagName}" content="${tagValue}" />`
- })
-
- tagsString += '</div>'