UNPKG

panjareh

Version:

Panjareh using aparat and phoenix-video-player to play videos on desktops and tvs.

16 lines (14 loc) 323 B
const playerConsts = { THRESHOLD: { WATCHING: 3, SHORT_MOVIE: 20, WATCHED: (duration) => { let _duration = duration; if (typeof _duration === "string") { _duration = parseInt(_duration); } return Math.round((97 * _duration) / 100); }, }, }; export default playerConsts;