fix(legacy): add play button to stream player (#2190)
This commit is contained in:
parent
2efe714b03
commit
3ef42413d8
|
@ -93,10 +93,6 @@ class DashboardController extends Zend_Controller_Action
|
||||||
|
|
||||||
public function streamPlayerAction()
|
public function streamPlayerAction()
|
||||||
{
|
{
|
||||||
$CC_CONFIG = Config::getConfig();
|
|
||||||
|
|
||||||
$baseUrl = Config::getBasePath();
|
|
||||||
|
|
||||||
$this->view->headLink()->appendStylesheet(Assets::url('js/jplayer/skin/jplayer.blue.monday.css'));
|
$this->view->headLink()->appendStylesheet(Assets::url('js/jplayer/skin/jplayer.blue.monday.css'));
|
||||||
$this->_helper->layout->setLayout('livestream');
|
$this->_helper->layout->setLayout('livestream');
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,24 @@
|
||||||
<?php echo $this->doctype() ?>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta charset="UTF-8">
|
||||||
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<META HTTP-EQUIV="Expires" CONTENT="-1">
|
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
|
<meta http-equiv="cache-control" content="no-cache">
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<meta http-equiv="expires" content="-1">
|
||||||
|
|
||||||
<title><?php echo _("Live stream") ?></title>
|
<title><?php echo _("Live stream") ?></title>
|
||||||
<?php echo $this->headLink() ?>
|
|
||||||
<?php echo $this->headScript() ?>
|
<?php echo $this->headLink() ?>
|
||||||
|
<?php echo $this->headScript() ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="content"><?php echo $this->layout()->content ?></div>
|
<div id="content"><?php echo $this->layout()->content ?></div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
$("#jquery_jplayer_1").jPlayer("destroy");
|
$("#jquery_jplayer_1").jPlayer("destroy");
|
||||||
$("#jquery_jplayer_1").jPlayer({
|
$("#jquery_jplayer_1").jPlayer({
|
||||||
ready: function() {
|
ready: function() {
|
||||||
$(this).jPlayer("setMedia", obj).jPlayer("play");
|
$(this).jPlayer("setMedia", obj);
|
||||||
},
|
},
|
||||||
ended: function(event) {
|
ended: function(event) {
|
||||||
$(this).jPlayer("play");
|
$(this).jPlayer("play");
|
||||||
|
@ -87,6 +87,8 @@
|
||||||
<div class="jp-type-single">
|
<div class="jp-type-single">
|
||||||
<div id="jp_interface_1" class="jp-gui jp-interface">
|
<div id="jp_interface_1" class="jp-gui jp-interface">
|
||||||
<ul class="jp-controls">
|
<ul class="jp-controls">
|
||||||
|
<li><a title="play" tabindex="1" class="jp-play" href="javascript:;" style='top: 5px; left: 5px;'><?php echo _("play") ?></a></li>
|
||||||
|
<li><a title="pause" tabindex="1" class="jp-pause" href="javascript:;" style='top: 5px; left: 5px;'><?php echo _("pause") ?></a></li>
|
||||||
<li><a title="mute" tabindex="1" class="jp-mute" href="javascript:;"><?php echo _("mute") ?></a></li>
|
<li><a title="mute" tabindex="1" class="jp-mute" href="javascript:;"><?php echo _("mute") ?></a></li>
|
||||||
<li><a title="unmute" tabindex="1" class="jp-unmute" href="javascript:;"><?php echo _("unmute") ?></a></li>
|
<li><a title="unmute" tabindex="1" class="jp-unmute" href="javascript:;"><?php echo _("unmute") ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue