Electron app to show a full screen video with markers and callback
Budget: €250 – €750 EUR
I need an electron app which will need to run on a linux pc. At the startup it will need to check the presence of a USB stick, mount it (in read only) and read the content showing in case some full screen message to inform the user:
- USB drive not plugged in
- Missing content in the USB drive
If a proper content is present (a JSON file + a video file) it must run a full-screen video play with videojs-markers (http://sampingchuang.com/videojs-markers).
The JSON file will contain an array of markers and related endpoints to call every time a marker is reached during the video play, for example:
[
{ts: '00:10', cb: 'xxx'},
{ts: '00:20', cb: 'yyy'},
{ts: '00:15', cb: 'zzz'},
{ts: '00:23', cb: 'aaa'},
]
The video should run in loop. Every time a marker is reached during the video play, it must call a callback passing the "cb" parameter of the marker.
- USB drive not plugged in
- Missing content in the USB drive
If a proper content is present (a JSON file + a video file) it must run a full-screen video play with videojs-markers (http://sampingchuang.com/videojs-markers).
The JSON file will contain an array of markers and related endpoints to call every time a marker is reached during the video play, for example:
[
{ts: '00:10', cb: 'xxx'},
{ts: '00:20', cb: 'yyy'},
{ts: '00:15', cb: 'zzz'},
{ts: '00:23', cb: 'aaa'},
]
The video should run in loop. Every time a marker is reached during the video play, it must call a callback passing the "cb" parameter of the marker.