-
Notifications
You must be signed in to change notification settings - Fork 17
/
LiveStream.php
44 lines (40 loc) · 1.04 KB
/
LiveStream.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Wrappers for facebook plugins.
* @copyright © Digitick <www.digitick.net> 2011
* @license GNU Lesser General Public License v3.0
* @author Ianaré Sévi
*/
require_once 'EFaceplugsAppLink.php';
/**
* The Live Stream plugin lets your users share activity and comments in
* real-time as they interact during a live event.
*
* @see http://developers.facebook.com/docs/reference/plugins/live-stream
*/
class LiveStream extends EFaceplugsAppLink
{
/**
* @var integer Width of the plugin in pixels. Default width: 400px.
*/
public $width;
/**
* @var integer The height of the plugin in pixels. Default height: 500px.
*/
public $height;
/**
* @var integer If you have multiple live stream boxes on the same page,
* specify a unique xid for each.
*/
public $xid;
/**
* @var string The URL that users are redirected to when they click on your
* app name on a status (if not specified, your Connect URL is used).
*/
public $via_url;
public function run()
{
parent::run();
$this->renderTag('live-stream');
}
}