flowerpower
modified: public/home/bcast/jsFlowpl.js modified: templates/home/bcast.html.ep
This commit is contained in:
@@ -1,6 +1,25 @@
|
|||||||
flowplayer(function (api) {
|
window.onload = function () {
|
||||||
api.on("load", function (e, api, video) {
|
|
||||||
console.log("streaming");
|
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);
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
script/hypnotoad.pid
Normal file
1
script/hypnotoad.pid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
16080
|
||||||
@@ -1,13 +1,11 @@
|
|||||||
<link rel="stylesheet" href="//releases.flowplayer.org/7.2.1/skin/skin.css">
|
<link rel="stylesheet" href="//releases.flowplayer.org/7.2.1/skin/skin.css">
|
||||||
<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
|
<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
|
||||||
<script src="//releases.flowplayer.org/7.2.1/flowplayer.min.js"></script>
|
<script src="//releases.flowplayer.org/7.2.1/flowplayer.min.js"></script>
|
||||||
|
<script src="//releases.flowplayer.org/dashjs/flowplayer.dashjs.min.js"></script>
|
||||||
|
|
||||||
<section class="vid">
|
<section class="vid">
|
||||||
<div class="flowplayer fp-outlined" data-rtmp=<%= $config->{rtmp_server} %> data-ratio="0.4167">
|
<div class="flowplayer fp-outlined" >
|
||||||
|
</div>
|
||||||
<video controls="controls" autoplay="autoplay" poster="/home/bcast/noise.jpg" data-title="Transmisión en vivo">
|
|
||||||
<source src=<%= $config->{radio_server} %>"/live.ogg" type="video/ogg">
|
|
||||||
<source src=<%= $config->{rtmp_channel} %> type="video/flash">
|
|
||||||
</video> </div>
|
|
||||||
</section>
|
</section>
|
||||||
|
<script src="jsFlowpl.js"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user