UNPKG

ovenplayer

Version:

OvenPlayer is Open-Source HTML5 Player. OvenPlayer supports WebRTC Signaling from OvenMediaEngine for Sub-Second Latency Streaming.

25 lines (20 loc) 584 B
/** * Created by hoho on 2018. 7. 24.. */ import OvenTemplate from 'view/engine/OvenTemplate'; import { STATE_IDLE, STATE_PLAYING, STATE_COMPLETE, STATE_PAUSED } from "api/constants"; const Thumbnail = function ($container, api, playerState) { const onRendered = function ($current, template) { }; const onDestroyed = function () { //Do nothing! }; const events = {}; return OvenTemplate($container, "Thumbnail", api.getConfig(), playerState, events, onRendered, onDestroyed); }; export default Thumbnail;