Jump to content
[MUST READ] Forum Rules ×

Slow fetching of MP4


disguisetimes

Recommended Posts

Hello,

I am making a simple HTML site that shows a video on one of the pages.  The .mp4 is fetched via <video> and has the 'autoplay' attribute set.  The goal is for fast startup when the user navigates to the page.  The .mp4 file has been encoded w/ HandBrake using the 'Web Optimized' setting which I believe moves metadata from the end of the .mp4 to the front which, combined w/ a chunked fetch implicitly done w/ <video> in HTML5, allows a fast startup.

The issue is I am not seeing a fast startup, when I look at the inspect Network in Chrome I see that the file itself is being fetched with what appears some kind of delay on the server end. See attached image.

The html and css files are fetched instantly so I know this is not a latency issue. I counted several times and it takes on average 5 seconds before the first byte of the video begins downloading and I don't know what is going on.

Could somebody shed some light on this?

Also embed YouTube is not quite what I am going for.

 

issue4.png

issue3.png

Edited by disguisetimes
typo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...