feat: read serial port and play video according to tag id
This commit is contained in:
commit
3b577387df
9 changed files with 243 additions and 0 deletions
9
tags.example.js
Normal file
9
tags.example.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* A map from tag id (HEX string) to url of the corresponding video
|
||||
* @type {{[tagId: string]: string}}
|
||||
*/
|
||||
var tags = {
|
||||
'3E033E03': 'video/CAT1.mp4',
|
||||
'ABCD1234': 'video/CAT2.mp4',
|
||||
'BEEFCAFE': 'video/CAT3.mp4',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue