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)
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.
Should only request space.png once
Workaround (if any):
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.
A similar issue on stackoverflow recommended using input type="text" instead of input type="image".
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?
<input id="scrubber" type="image" src="/engage/ui/img/misc/space.png" class="scrubber-button" role="slider" />
<input id="scrubber" type="text" src="/engage/ui/img/misc/space.png" class="scrubber-button" role="slider" />
I will test your suggestion and then commit the change if it works.
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?
Merged into 1.4.x with rev 15646.