From cf5756227dc7f22cbb5d7b3574540c9cf8a012e3 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 16 Jun 2015 12:50:17 -0400 Subject: [PATCH] Add livestream.com player --- player/livestream.com.coffee | 19 +++++++++++++++++++ player/update.coffee | 1 + www/js/player-new.js | 28 ++++++++++++++++++++++++++-- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 player/livestream.com.coffee diff --git a/player/livestream.com.coffee b/player/livestream.com.coffee new file mode 100644 index 00000000..41ce14b5 --- /dev/null +++ b/player/livestream.com.coffee @@ -0,0 +1,19 @@ +window.LivestreamPlayer = class LivestreamPlayer extends Player + constructor: (data) -> + if not (this instanceof LivestreamPlayer) + return new LivestreamPlayer(data) + + @load(data) + + load: (data) -> + @setMediaProperties(data) + + @player = $('