diff --git a/src/platforms/web/server.js b/src/platforms/web/server.js index c191f761b..6c8b09870 100644 --- a/src/platforms/web/server.js +++ b/src/platforms/web/server.js @@ -1,5 +1,5 @@ const { parseURI } = require('lbry-redux'); -// const { generateStreamUrl } = require('../../src/ui/util/lbrytv'); +const { generateStreamUrl } = require('../../src/ui/util/lbrytv'); const { WEB_SERVER_PORT, DOMAIN } = require('../../config'); const { readFileSync } = require('fs'); const express = require('express'); @@ -111,14 +111,14 @@ app.get('*', async (req, res) => { head += ``; if (claim.source_media_type && claim.source_media_type.startsWith('video/')) { - // const videoUrl = generateStreamUrl(claim.name, claim.claim_id); - // head += ``; - // head += ``; - // head += ``; - // if (claim.frame_width && claim.frame_height) { - // head += ``; + head += ``; + head += ``; + if (claim.frame_width && claim.frame_height) { + head += ``; + head += ``; + } } html = insertToHead(html, head);