diff --git a/controllers/serveController.js b/controllers/serveController.js index be7de126..9bbd654a 100644 --- a/controllers/serveController.js +++ b/controllers/serveController.js @@ -7,7 +7,7 @@ const { postToStats, sendGoogleAnalytics } = require('../controllers/statsContro const SERVE = 'SERVE'; const SHOW = 'SHOW'; const SHOWLITE = 'SHOWLITE'; -const DEFAULT_THUMBNAIL = 'https://spee.ch/assets/img/content-freedom-large.png'; +const DEFAULT_THUMBNAIL = 'https://spee.ch/assets/img/video_thumb_default.png'; function checkForLocalAssetByClaimId (claimId, name) { return new Promise((resolve, reject) => { diff --git a/controllers/statsController.js b/controllers/statsController.js index 3ee05e77..8ece2323 100644 --- a/controllers/statsController.js +++ b/controllers/statsController.js @@ -155,7 +155,7 @@ module.exports = { element['directUrlLong'] = `/${element.claimId}/${element.name}.${fileExtenstion}`; element['directUrlShort'] = `/${element.claimId}/${element.name}.${fileExtenstion}`; element['contentType'] = element.fileType; - element['thumbnail'] = 'https://spee.ch/assets/img/content-freedom-large.png'; + element['thumbnail'] = 'https://spee.ch/assets/img/video_thumb_default.png'; }); } resolve(results); diff --git a/public/assets/img/video_thumb_default.png b/public/assets/img/video_thumb_default.png new file mode 100644 index 00000000..318746da Binary files /dev/null and b/public/assets/img/video_thumb_default.png differ diff --git a/routes/sockets-routes.js b/routes/sockets-routes.js index 1cf5dae9..b983be46 100644 --- a/routes/sockets-routes.js +++ b/routes/sockets-routes.js @@ -40,7 +40,7 @@ module.exports = (app, siofu, hostedContentPath) => { NOTE: need to validate that client has the credentials to the channel they chose otherwise they could circumvent security client side. */ - let channelName = file.meta.cannel; + let channelName = file.meta.channel; if (channelName === 'none') channelName = null; // prepare the publish parameters const publishParams = createPublishParams(file.pathName, file.meta.name, file.meta.title, file.meta.description, file.meta.license, file.meta.nsfw, channelName); diff --git a/views/new.handlebars b/views/new.handlebars index 8b6cbbfb..cf34c851 100644 --- a/views/new.handlebars +++ b/views/new.handlebars @@ -7,7 +7,7 @@
{{#ifConditional this.fileType '===' 'video/mp4'}} - + {{else}} {{/ifConditional}}