Twitch did not add an iFrame based embed code until very recently. Which is required for SSL. I will update it in the next version.Would be nice to see this support SSL, as my forums are now served over https, and Twitch streams no longer load.
Twitch did not add an iFrame based embed code until very recently. Which is required for SSL. I will update it in the next version.
Twitch did not add an iFrame based embed code until very recently. Which is required for SSL. I will update it in the next version.
Go into the edit services menu and edit twitch:What lines of code to change, until then would be helpful too!
<iframe width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen src="//www.twitch.tv/{serviceVAL1}/embed"></iframe>
<iframe width="100%" height="100%" scrolling="no" frameborder="0" src="//www.twitch.tv/chat/embed?channel={serviceVAL1}&popout_chat=true"></iframe>
Does this work for others using https? Seems to time out for me.Go into the edit services menu and edit twitch:
Stream Video:
Stream Chat:
<object type="application/x-shockwave-flash" width="100%" height="100%" data="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
<param name="movie" value="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
<param name="flashvars" value="channel={serviceVAL1}&auto_play=true">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="allownetworking" value="all" />
</object>
Are your other cronjobs running as they should?Not sure if this is related but Xen Rio is not scraping again for me. I only broadcast Twitch channels...
Go into the edit services menu and edit twitch:
Stream Video:
Stream Chat:
Twitch chat times out all the time. Its not very good.I can't seem to get the chat to work on my SSL certed website. I entered in what you said to. I got the video working, but the chat just times out every time.
Any idea what to do there?
Twitch chat times out all the time. Its not very good.
Server Error Log
Error Info
ErrorException: Undefined index: game - library/EWRrio/Services/Twitch.php:75
Generated By: Unknown Account, Today at 1:48 PM
Stack Trace
#0 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Services/Twitch.php(75): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 75, Array)
#1 [internal function]: EWRrio_Services_Twitch::dumpStreams(Array, '10', Array, Array)
#2 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Model/Streams.php(123): call_user_func_array(Array, Array)
#3 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#4 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#5 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#6 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999969005585, '')
#8 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#9 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /var/www/vhosts/inthegame.nl/httpdocs/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
["url"] => string(39) "http://inthegame.nl/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(26) "/forums/forums/arma-3.753/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Server Error Log
Error Info
ErrorException: Undefined index: status - library/EWRrio/Services/Twitch.php:85
Generated By: Unknown Account, Today at 1:48 PM
Stack Trace
#0 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Services/Twitch.php(85): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 85, Array)
#1 [internal function]: EWRrio_Services_Twitch::dumpStreams(Array, '10', Array, Array)
#2 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Model/Streams.php(123): call_user_func_array(Array, Array)
#3 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#4 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#5 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#6 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999969005585, '')
#8 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#9 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /var/www/vhosts/inthegame.nl/httpdocs/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
["url"] => string(39) "http://inthegame.nl/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(26) "/forums/forums/arma-3.753/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Server Error Log
Error Info
ErrorException: Undefined index: game - library/EWRrio/Services/Twitch.php:86
Generated By: Unknown Account, Today at 1:48 PM
Stack Trace
#0 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Services/Twitch.php(86): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 86, Array)
#1 [internal function]: EWRrio_Services_Twitch::dumpStreams(Array, '10', Array, Array)
#2 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/Model/Streams.php(123): call_user_func_array(Array, Array)
#3 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#4 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#5 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#6 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999969005585, '')
#8 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#9 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /var/www/vhosts/inthegame.nl/httpdocs/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
["url"] => string(39) "http://inthegame.nl/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(26) "/forums/forums/arma-3.753/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
This is an error with the twitch API. For the past month their API has been having problems.
That depends on the service hoster. Most service hosters have it so clicking on the video only pauses the video.Just saw the demo, is there an option where clicking on the video after its playing doesn't send you to the original source, aka leave your site ?
Is there a way to better protect against this? As you mentioned in your github post, you could check for the existence of the keys first.This is an error with the twitch API. For the past month their API has been having problems.
https://github.com/justintv/Twitch-API/issues/274
It's very hard to target an API that changes from minute-to-minute.
- All service embed codes have been changed to support https.
- Added checks in the TwitchTV service that works around their broken API. This will prevent the constant error spam Twitch has been producing in your admin control panel.
Haven't received the fetchapp e-mail yet and using my link from last version errors.. It looks like we couldn't find the order at this link. Please refer to the download email we sent you for further support.
We use essential cookies to make this site work, and optional cookies to enhance your experience.