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:
parent
bafd9eeb6f
commit
875ed0e41e
|
@ -10,26 +10,41 @@
|
||||||
//MRP.setUrl("http://sourcefabric.out.airtime.pro:8000/sourcefabric_b");
|
//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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<div id="muses_skin">
|
||||||
MRP.insert({
|
<script type="text/javascript">
|
||||||
'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
|
|
||||||
});
|
|
||||||
|
|
||||||
</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>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -203,8 +203,8 @@
|
||||||
c + ("&skin=" + g.getSkin(a.skin, !0)),
|
c + ("&skin=" + g.getSkin(a.skin, !0)),
|
||||||
c = c + ("&title=" + a.title),
|
c = c + ("&title=" + a.title),
|
||||||
c = c + ("&welcome=" + a.welcome),
|
c = c + ("&welcome=" + a.welcome),
|
||||||
//b = g.getScriptBaseHREF() + "/muses-hosted.swf",
|
b = g.getScriptBaseHREF() + "/muses-hosted.swf",
|
||||||
b = "http://localhost/js/airtime/embeddableplayer/muses.swf",
|
//b = "http://localhost/js/airtime/embeddableplayer/muses.swf",
|
||||||
e = 'width="' + a.width + '" height="' + a.height + '" ';
|
e = 'width="' + a.width + '" height="' + a.height + '" ';
|
||||||
null != a.bgcolor && (e += 'bgcolor="' + a.bgcolor + '" ');
|
null != a.bgcolor && (e += 'bgcolor="' + a.bgcolor + '" ');
|
||||||
var f = '<object id="' + a.id + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + e + ">",
|
var f = '<object id="' + a.id + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + e + ">",
|
||||||
|
|
Loading…
Reference in New Issue