This package is abandoned and no longer maintained. No replacement package was suggested.

Installs: 51

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 2

Open Issues: 0


0.1 2014-05-10 09:56 UTC

This package is auto-updated.

Last update: 2021-02-05 14:27:38 UTC


Client for torrent player AceStream. This project is not maintainer and may be in not actual state.

Latest Stable Version Total Downloads


"require": {
    "sokil/php-acestream": "dev-master"

Common Usage

Incluging JS scripts can be done directry or through some asset manager. Direct inclusion:

<script type="text/javascript" src="/js/core.js" />
<script type="text/javascript" src="/js/player.js" />
<script type="text/javascript" src="/js/ext.js" />

Call widget in your template:

<?php echo new \Sokil\ACEPlayer\Player(array(
    'debug' => true,
    'media' => array(
        'url'   => '',
        'name'  => 'Film Title',
    'height' => '200px',
); ?>

Usage in Yii Framework

Add namespace 'vendor' somewhere in entry point file to register composer's vedror dir.

define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
Yii::setPathOfAlias('vendor', APPLICATION_PATH . '/../vendor/');

Register static files in your controller


Call widget in template

<?php $this->widget('vendor.sokil.php-acestream.src.Sokil.ACEPlayer.YiiPlayer', array(
    'debug' => true,
    'media' => array(
        'url'   => '',
        'name'  => 'Film Title',
    'height' => '200px',
)); ?>


Parameter Description
debug Write debug data to console's log
media This can be url or array {'url' => '', 'name' => ''}. Url may be in any format: unicast, multicast, torrent link or even number of media in playlist
height Height of player. Width is always 100%
notInstalledPlayerMessage Message that will be shown if AceStream Plugin not installed