From 4cb50b346d13d25b5aef0fe62c16e6407bb43d54 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Mon, 9 Dec 2019 13:54:44 +0100 Subject: FUNCT Added player --- src/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/js/app.js') diff --git a/src/js/app.js b/src/js/app.js index a0ec650..99597b1 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,7 +1,8 @@ import { load as load_template } from './templates'; +import * as player from './player'; import Mustache from 'mustache'; -import { lowcan } from 'agl-js-api'; +import { mediaplayer } from 'agl-js-api'; var template; var page = { @@ -10,6 +11,7 @@ var page = { export function show() { document.body.innerHTML = Mustache.render(template, page); + player.init(document.getElementById('PlayerContainer')); } export function init() { -- cgit 1.2.3-korg