Repeated requests for space.png from some browsers

Steps to reproduce

Steps to reproduce:
1. Play an engage video using Chrome browser (e.g. 29.0.1547.57 on MacOS)
2. Using Chrome inspector to look at http requests, or look at webserver logs (e.g. if using an apache frontend)
3.

Actual Results:
Repeated requests for /engage/ui/img/misc/space.png while the video is playing

Leads to a high volume of traffic (can easily be 2-3 requests per second per user). Approximately 80% of traffic on our production system (excluding CA requests) are for space.png.

Expected Results:
Should only request space.png once

Workaround (if any):

Activity

Show:
Stephen Marquard
September 5, 2013, 5:17 PM

Also seen with this user-agent:

"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36"

i.e. Chrome on Windows. But this only seems to affect Chrome - other browsers do not show the same pattern of requests.

Former user
September 6, 2013, 5:57 PM

A similar issue on stackoverflow recommended using input type="text" instead of input type="image".
http://stackoverflow.com/questions/10932341/jquery-date-picker-not-working-on-chrome

As a quick test, I tried changing type="image" to type="text" in the following line in the Chrome debugger and it stopped the space.png calls. The player seems to play Ok. Does anyone know if change this might break anything?

From:
<input id="scrubber" type="image" src="/engage/ui/img/misc/space.png" class="scrubber-button" role="slider" />

To:
<input id="scrubber" type="text" src="/engage/ui/img/misc/space.png" class="scrubber-button" role="slider" />

Denis Meyer
September 9, 2013, 6:28 AM

I will test your suggestion and then commit the change if it works.

Denis Meyer
September 10, 2013, 1:05 PM

Karen, your suggestion worked great, I didn't see any issues testing it and committed it as r15642 into trunk.
Greg, could you merge it into 1.4.x?

Greg Logan
September 10, 2013, 4:08 PM

Merged into 1.4.x with rev 15646.

Fixed and reviewed

Assignee

Denis Meyer

Reporter

Stephen Marquard

Severity

Performance

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Critical
Configure