From 875ed0e41ec01a70bdab3d3508233919e09691bc Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 19 Mar 2015 13:42:19 -0400 Subject: [PATCH] Got muses working without a skin Had to leave the skin visible but "hide" it by setting the width and height to 1px --- .../scripts/embeddableplayer/embed-code.phtml | 47 ++++++++++++------- .../public/js/airtime/embeddableplayer/mrp.js | 4 +- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/airtime_mvc/application/views/scripts/embeddableplayer/embed-code.phtml b/airtime_mvc/application/views/scripts/embeddableplayer/embed-code.phtml index cc5e96804..26070fabf 100644 --- a/airtime_mvc/application/views/scripts/embeddableplayer/embed-code.phtml +++ b/airtime_mvc/application/views/scripts/embeddableplayer/embed-code.phtml @@ -10,26 +10,41 @@ //MRP.setUrl("http://sourcefabric.out.airtime.pro:8000/sourcefabric_b"); } } - + + + + - + + MRP.insert({ + 'url':"streamURL ?>", + 'codec':"codec ?>", + 'volume':100, + 'jsevents':true, + 'autoplay':false, + 'buffering':5, + 'title':'test', + 'bgcolor':'#FFFFFF', + 'skin':'mcclean', + 'width':180, + 'height':60 + }); + + + +
+ play +
+
+ stop +
\ No newline at end of file diff --git a/airtime_mvc/public/js/airtime/embeddableplayer/mrp.js b/airtime_mvc/public/js/airtime/embeddableplayer/mrp.js index 3308a8f55..4377dddd5 100644 --- a/airtime_mvc/public/js/airtime/embeddableplayer/mrp.js +++ b/airtime_mvc/public/js/airtime/embeddableplayer/mrp.js @@ -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 = '",