building .mp4 upstream
This commit is contained in:
parent
066cc5d27b
commit
22077a3ea6
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ module.exports = (app) => {
|
||||||
// route to display all free public claims at a given name
|
// route to display all free public claims at a given name
|
||||||
app.get('/embed/:claimId/:name', ({ params }, res) => {
|
app.get('/embed/:claimId/:name', ({ params }, res) => {
|
||||||
const claimId = params.claimId;
|
const claimId = params.claimId;
|
||||||
const name = params.name;
|
const name = params.name + '.mp4';
|
||||||
const dummyParam = 'b';
|
const dummyParam = 'b';
|
||||||
console.log('claimId ==', claimId);
|
console.log('claimId ==', claimId);
|
||||||
console.log('name ==', name);
|
console.log('name ==', name);
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue