Committing lots of trial and error embed player code changes
This commit is contained in:
parent
1f2f8a27a5
commit
ed891fb145
8 changed files with 107 additions and 17 deletions
|
@ -3,16 +3,33 @@
|
|||
|
||||
<head>
|
||||
<script src="<?php echo $this->mrp_js?>" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
function musesCallback(event,value){
|
||||
if (event == "source") {
|
||||
//MRP.setUrl("http://sourcefabric.out.airtime.pro:8000/sourcefabric_b");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<object classid="" width="180" height="60" bgcolor="#FFFFFF">
|
||||
<param name="movie" value="muses.swf" />
|
||||
<param name="flashvars" value="url=<?php echo $this->streamURL?>&lang=auto&codec=<?php echo $this->codec?>&volume=100&introurl=&tracking=true&jsevents=true&buffering=5&skin=<?php echo $this->skin?>&title=''" />
|
||||
<param name="wmode" value="window" />
|
||||
<param name="allowscriptaccess" value="always" />
|
||||
<param name="bgcolor" value="#FFFFFF" />
|
||||
<param name="scale" value="noscale" />
|
||||
<embed src="<?php echo $this->muses_swf?>" flashvars="url=<?php echo $this->streamURL?>&lang=auto&codec=<?php echo $this->codec?>&volume=100&introurl=&tracking=true&jsevents=true&buffering=5&skin=<?php echo $this->skin?>&title=''" width="180" scale="noscale" height="60" wmode="window" bgcolor="#FFFFFF" allowscriptaccess="always" type="application/x-shockwave-flash" />
|
||||
</object>
|
||||
<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
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,9 +1,9 @@
|
|||
<div class="ui-widget ui-widget-content block-shadow simple-formblock embed-player-form clearfix padded-strong preferences">
|
||||
<div class="ui-widget ui-widget-content block-shadow simple-formblock embed-player-form clearfix padded-strong ">
|
||||
<h2 style="float:left"><?php echo _("Embeddable Player") ?></h2>
|
||||
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>
|
||||
|
||||
<form method="post" id="player_form" enctype="multipart/form-data">
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<?php echo $this->errorMsg; ?>
|
||||
<?php echo $this->form; ?>
|
||||
|
|
|
@ -8,9 +8,31 @@
|
|||
<?php echo $this->element->getElement('player_stream_url'); ?>
|
||||
|
||||
<?php echo $this->element->getElement('player_preview_label')->renderLabel(); ?>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div id="custom_muses_player">
|
||||
<a href="#"><div id="muses_play">play</div></a>
|
||||
<a href="#"><div id="muses_stop">stop</div></a>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div style="clear:both"></div>
|
||||
<object classid="" width="180" height="60" bgcolor="#FFFFFF">
|
||||
<param name="movie" value="muses.swf" />
|
||||
<param name="flashvars" value="url=<?php echo $this->streamURL?>&lang=auto&codec=<?php echo $this->codec?>&volume=100&introurl=&tracking=true&jsevents=true&buffering=5&title=''%skin=''" />
|
||||
<param name="wmode" value="window" />
|
||||
<param name="allowscriptaccess" value="always" />
|
||||
<param name="bgcolor" value="#FFFFFF" />
|
||||
<param name="scale" value="noscale" />
|
||||
<embed src="<?php echo $this->muses_swf?>" flashvars="url=<?php echo $this->streamURL?>&lang=auto&codec=<?php echo $this->codec?>&volume=100&introurl=&tracking=true&jsevents=true&buffering=5&title=''&skin=''" width="180" scale="noscale" height="60" wmode="window" bgcolor="#FFFFFF" allowscriptaccess="always" type="application/x-shockwave-flash" />
|
||||
</object>
|
||||
-->
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<div id="embed_player_preview">
|
||||
<?php echo $this->element->getElement('player_embed_src')->getValue(); ?>
|
||||
</div>
|
||||
|
||||
|
||||
</dl>
|
||||
</fieldset>
|
Loading…
Add table
Add a link
Reference in a new issue