Архив форума Ace Stream

Базовые продукты ACE Stream ( Torrent Stream ) => Вопросы, предложения и пожелания => Тема начата: NikolayFirsov от 30 Мая 2013, 19:28:45

Название: Персонализация веб-плеера.
Отправлено: NikolayFirsov от 30 Мая 2013, 19:28:45
Здравствуйте. Я видел на acetorrent написано про возможность персонализировать веб-плеер. Вот например код на моей странице:

<?php
require_once('../Templates/ts_client.php');
define('API_KEY', '3b7c71e78eb21cccf3970c88af132006');
define('ZONE_ID', 2784);
$client = new TS_Client(API_KEY);
$torrent_data = file_get_contents('../torrents/Djungli.torrent');
$content_name = 'bvbbn';
$duration = 5580;
$content_uid = $client->add_content(ZONE_ID, base64_encode($torrent_data), $content_name, $duration);
echo "<div id=\"ts_player\" align=\"center\">Грузим плеер...</div>
<script type=\"text/javascript\">
var tsHost = ((\"https:\" == document.location.protocol) ? \"https://\" : \"http://\");
document.write(unescape(\"%3Cscript src='\" + tsHost + \"torrentstream.net/p/" . $content_uid . "' type='text/javascript'%3E%3C/script%3E\"));
</script>
<script type=\"text/javascript\">
tsplayer(\"ts_player\");
</script>";
?>

Как можно хотя бы высоту плеера поменять?