athenalabs / acorn-player

Acorn Player
MIT License
22 stars 0 forks source link

Looping breaks when leaving tab #117

Open jbenet opened 11 years ago

jbenet commented 11 years ago

See example

Could it be that browser stops giving the page resources? i.e. hitting the interval timer?

jbenet commented 11 years ago

@tenedor

tenedor commented 11 years ago

@jbenet this example is a link to a private (inaccessible) youtube video.

RE "hitting the interval timer": If this were the cause, a breakpoint in the "onPlaybackTick" method would not get triggered after you returned to the page and looping was broken. Did this happen?

What browser were you using? I can't recreate this bug in regular Chrome (26.0.1410.65).

jbenet commented 11 years ago

@tenedor fixed video private -> unlisted

tenedor commented 11 years ago

*Actually I do get this bug. I had sound muted, so I hadn't heard the video continuing past the loop when I was on another tab.