Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Too many duplicate requests to the server, playing HTML5 video.

  • 1 ответ
  • 2 имеют эту проблему
  • 3 просмотра
  • Последний ответ от guigs

more options

Hi guys. In Firefox, when I open a tab that has a HTML5 video in it, if it is "preload='auto'" or "autoplay", it sends too many repetitious requests to the server. The server responds 206 according to the ranges requested, but FF again sends the same request to the server. they happen on page load. (I mean too many repetitious requests, until sever I/O hangs!) But if it is "preload='none'", same headers are sent after playing the video.

    • And beyond this problem, the main problem is that Firefox doesn't play the video until it downloads it completely.

These 2 problems occur when I play video using FF's native operation or by using a jquery plugin like video.js. in Chrome and Opera there is no problem. I have attached 2 photos to show you the problems by detailed. I am using Firefox 40.

Thanks.

Hi guys. In Firefox, when I open a tab that has a HTML5 video in it, if it is "preload='auto'" or "autoplay", it sends too many repetitious requests to the server. The server responds 206 according to the ranges requested, but FF again sends the same request to the server. they happen on page load. (I mean too many repetitious requests, until sever I/O hangs!) But if it is "preload='none'", same headers are sent after playing the video. ** And beyond this problem, the main problem is that Firefox doesn't play the video until it downloads it completely. These 2 problems occur when I play video using FF's native operation or by using a jquery plugin like video.js. in Chrome and Opera there is no problem. I have attached 2 photos to show you the problems by detailed. I am using Firefox 40. Thanks.

Все ответы (1)

more options

AFAIK the preload=auto will not play the video until the page has loaded all the way. These requests for ranged would success in 206 status. The work arounds mentioned on the internet are to set "preload='none'", but you are seeing that it sends the same headers.

Other bugs mentioning this:

References

I apologize it looks like the trail ends there, I would be happy to help pick this back up I will ask in #media