@
Martok I've thought about your request. I'm still unsure about how it should look and how many people would want that feature. Currently I think the cost of implementing it as an option outweighs its benefits so I don't intend to implement it in the foreseeable future.
However, there's a way to do it on your side. Create a file named
Custom.php with this content:
PHP:
<?php
class s9e_Custom
{
public static function twitch($html, $vars)
{
if (!isset($vars['archive_id']) && !isset($vars['chapter_id']))
{
$html .= '<iframe width="620" height="378" allowfullscreen="" frameborder="0" scrolling="no" src="//twitch.tv/chat/embed?channel=' . urlencode($vars['channel']) . '&popout_chat=true" style="resize:both"></iframe>';
}
return $html;
}
}
Upload this file to your server into
upload/library/s9e/Custom.php
When you're done, reinstall the latest version of the pack. From then on, the chat should appear alongside channel embeds. If you're happy with the result, please send me a link to a channel being embedded this way on your site so that I can see it in action and reconsider making part of the add-on.