building .mp4 upstream

This commit is contained in:
bill bittner 2017-08-08 13:16:14 -07:00
parent 066cc5d27b
commit 22077a3ea6
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ module.exports = (app) => {
// route to display all free public claims at a given name
app.get('/embed/:claimId/:name', ({ params }, res) => {
const claimId = params.claimId;
const name = params.name;
const name = params.name + '.mp4';
const dummyParam = 'b';
console.log('claimId ==', claimId);
console.log('name ==', name);

View file

@ -1 +1 @@
<video id="video" width="100%" controls><source src="https://spee.ch/{{claimId}}/{{name}}" type="video/mp4"/>{{dummyParam}}</video>
<video id="video" width="100%" controls><source src="https://spee.ch/{{claimId}}/{{name}}" type="video/mp4" {{dummyParam}}></video>