back to example
This commit is contained in:
parent
22077a3ea6
commit
5bef9a0f31
2 changed files with 3 additions and 3 deletions
|
@ -38,8 +38,8 @@ 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 + '.mp4';
|
||||
const dummyParam = 'b';
|
||||
const name = params.name;
|
||||
const dummyParam = '.b';
|
||||
console.log('claimId ==', claimId);
|
||||
console.log('name ==', name);
|
||||
// get and render the content
|
||||
|
|
|
@ -1 +1 @@
|
|||
<video id="video" width="100%" controls><source src="https://spee.ch/{{claimId}}/{{name}}" type="video/mp4" {{dummyParam}}></video>
|
||||
<video width="100%" controls src="https://spee.ch/{{claimId}}/{{name}}.mp4" type="video/mp4"></video>
|
Loading…
Add table
Reference in a new issue