The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Embedded twitch chat freezing later pages of longer threads

View previous topic View next topic Go down

Embedded twitch chat freezing later pages of longer threads

Post by rabid squirrel on February 2nd 2016, 4:56 pm

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : http://s22.postimg.org/6g1vjq0b5/Screen_Shot_2016_02_02_at_9_41_00_AM.png
Who the problem concerns : All members
When the problem appeared : Last night, when a member brought it to my attention
Forum link : http://iridethelines.forumotion.com/t11428p25-the-well-tempered-kramual

Description of problem

On my forum, we have embedded in a forum widget the chat from our community's livestream twitch.tv channel.

Last night, it was brought to my attention that some pages were freezing. It was determined to be:
1. Caused by the embedded chat
2. Only an issue in Google Chrome
3. Only an issue on pages 2+ of threads
4. Not related to any chrome extension
5. Sometimes will freeze for a bit and then load, other times the page will stop responding and have to be killed

This has never been an issue before and I have made zero changes to the forum. Worst case scenario I could remove the chat from the widgets but it is a big way people communicate on our site.

Bizarrely, the Admin CP where I can edit the embedded code also froze, and the page where I posted the code publicly also froze. I had to open Safari to get it. I'll put it in a spoiler to make sure this page doesn't freeze too. Here it is:
Spoiler:
Code:
<p>
            <script>
jQuery(window).scroll(function(){
    jQuery("#fixedChat").css("top",Math.max(0,340-jQuery(this).scrollTop()));
});
</script>
</p>
<div id="fixedChat" style="position:fixed;top:340px;padding-top:10px;">
            <iframe src="http://cdn.livestream.com/embed/WRTL?layout=6&height=400&width=300&showTimestamp=true" style="border: 0px none; outline: 0px none; width: 280px; height: 350px;" bgcolor="#ffffff" scrolling="no" frameborder="0"></iframe>       
  <div style="font-size: 11px;padding-top:10px;text-align:center;width:300px">
              Watch <a href="http://www.livestream.com/?utm_source=lsplayer&utm_medium=embed&utm_campaign=footerlinks" title="live streaming video">live streaming video</a> from <a href="http://www.livestream.com/WRTL?utm_source=lsplayer&utm_medium=embed&utm_campaign=footerlinks" title="Watch WRTL at livestream.com">WRTL</a> at livestream.com       
  </div><iframe src="http://cdn.livestream.com/embed/WRTL?layout=4&height=340&width=560&autoplay=false" style="border: 0px none; outline: 0px none; width: 280px; height: 200px;" scrolling="no" frameborder="0"></iframe>       
  <div style="font-size: 11px;padding-top:10px;text-align:center;width:560px">
                     
  </div>
            <br />       
  <p>
                     
  </p>
</div><style>li .mainmenu[href="/search"] { display: none; }</style><style>li .mainmenu[href="/groups"] { display: none; }</style><style>li .mainmenu[href="/calendar"] { display: none; }</style><style>li .mainmenu[href="/faq"] { display: none; }</style>

rabid squirrel
New Member

Posts : 18
Reputation : 1
Language : English

Back to top Go down

Re: Embedded twitch chat freezing later pages of longer threads

Post by brandon_g on February 2nd 2016, 5:23 pm

Hello,

Could the issue maybe be on Twitch's end? Have you tried contacting their support team about this issue?

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5355
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Embedded twitch chat freezing later pages of longer threads

Post by rabid squirrel on February 2nd 2016, 5:37 pm

@brandon_g wrote:Hello,

Could the issue maybe be on Twitch's end? Have you tried contacting their support team about this issue?

-Brandon
The twitch chat seems to work just fine on the main page of the site and on the first page of threads as well as on any twitch.tv page, so I was hoping I would be more likely to find help here. But I plan on trying that as well if I can't get any answers here.

EDIT: also that doesn't explain why the page freezes in admin cp when I'm just trying to look at the code

EDIT2: sent a help request to twitch

rabid squirrel
New Member

Posts : 18
Reputation : 1
Language : English

Back to top Go down

Re: Embedded twitch chat freezing later pages of longer threads

Post by SLGray on February 2nd 2016, 8:03 pm

Moved to the correct section.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum