mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 11:42:04 +00:00
13 lines
342 B
CoffeeScript
13 lines
342 B
CoffeeScript
|
|
window.StreamablePlayer = class StreamablePlayer extends PlayerJSPlayer
|
||
|
|
constructor: (data) ->
|
||
|
|
if not (this instanceof StreamablePlayer)
|
||
|
|
return new StreamablePlayer(data)
|
||
|
|
|
||
|
|
super(data)
|
||
|
|
|
||
|
|
load: (data) ->
|
||
|
|
data.meta.playerjs =
|
||
|
|
src: "https://streamable.com/e/#{data.id}"
|
||
|
|
|
||
|
|
super(data)
|