diff --git a/public/home/bcast/jsFlowpl.js b/public/home/bcast/jsFlowpl.js index 58d10fd..7220442 100644 --- a/public/home/bcast/jsFlowpl.js +++ b/public/home/bcast/jsFlowpl.js @@ -1,6 +1,25 @@ - flowplayer(function (api) { - api.on("load", function (e, api, video) { - console.log("streaming"); -}); -}); +window.onload = function () { + + flowplayer(".flowplayer", { + autoplay:true, + ratio: 9/16, + share: false, + + clip: { + live:true , + title: "Transmisión en directo", + sources: [ + { type: "video/webm", src: "//radio.chaos.foundation/live.webm" }, + { type: "application/dash+xml", src: "//radio.chaos.foundation/dash/cell.mpd" }, + ] + } + + }).on("ready", function (e, api, video) { + console.log("engine: "+api.engine.engineName); + console.log("vtype: "+video.type); + console.log("src: "+video.src); + + }); +} + diff --git a/script/hypnotoad.pid b/script/hypnotoad.pid new file mode 100644 index 0000000..83dece4 --- /dev/null +++ b/script/hypnotoad.pid @@ -0,0 +1 @@ +16080 diff --git a/templates/home/bcast.html.ep b/templates/home/bcast.html.ep index 950b7e1..761df1b 100755 --- a/templates/home/bcast.html.ep +++ b/templates/home/bcast.html.ep @@ -1,13 +1,11 @@ +
-
{rtmp_server} %> data-ratio="0.4167"> - -
+
+
+