back to example

This commit is contained in:
bill bittner 2017-08-08 13:22:03 -07:00
parent 22077a3ea6
commit 5bef9a0f31
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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>