Got muses working without a skin

Had to leave the skin visible but "hide" it by setting the width and
height to 1px
This commit is contained in:
drigato 2015-03-19 13:42:19 -04:00
parent bafd9eeb6f
commit 875ed0e41e
2 changed files with 33 additions and 18 deletions

View File

@ -10,26 +10,41 @@
//MRP.setUrl("http://sourcefabric.out.airtime.pro:8000/sourcefabric_b");
}
}
</script>
</script>
<style type="text/css">
#muses_skin{width:1px; height:1px; overflow-x: hidden; overflow-y: hidden;}
</style>
</head>
<body>
<script type="text/javascript">
MRP.insert({
'url':"<?php echo $this->streamURL ?>",
'codec':"<?php echo $this->codec ?>",
'volume':100,
'jsevents':true,
'autoplay':false,
'buffering':5,
'title':'test',
'bgcolor':'#FFFFFF',
'skin':"<?php echo $this->skin ?>",
'width':180,
'height':60
});
<div id="muses_skin">
<script type="text/javascript">
</script>
MRP.insert({
'url':"<?php echo $this->streamURL ?>",
'codec':"<?php echo $this->codec ?>",
'volume':100,
'jsevents':true,
'autoplay':false,
'buffering':5,
'title':'test',
'bgcolor':'#FFFFFF',
'skin':'mcclean',
'width':180,
'height':60
});
</script>
</div>
<div id="custom_muses_play" onclick="MRP.play()">
<a href="#">play</a>
</div>
<div id="custom_muses_stop" onclick="MRP.stop()">
<a href="#">stop</a>
</div>
</body>
</html>

View File

@ -203,8 +203,8 @@
c + ("&skin=" + g.getSkin(a.skin, !0)),
c = c + ("&title=" + a.title),
c = c + ("&welcome=" + a.welcome),
//b = g.getScriptBaseHREF() + "/muses-hosted.swf",
b = "http://localhost/js/airtime/embeddableplayer/muses.swf",
b = g.getScriptBaseHREF() + "/muses-hosted.swf",
//b = "http://localhost/js/airtime/embeddableplayer/muses.swf",
e = 'width="' + a.width + '" height="' + a.height + '" ';
null != a.bgcolor && (e += 'bgcolor="' + a.bgcolor + '" ');
var f = '<object id="' + a.id + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + e + ">",