Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some .flv files on my site and I've been using JWplayer to embed them into my webpages. The embedding looks like this:

flashvars="file=/tmp/<?php echo $row["location"]; ?>&autostart=true"

The file is coming from directory tmp and is is saved in a format *.flv. Recently, I have been noticing really slow streaming. The video will stop almost every 5 seconds. This is happening on multiple computers on multiple networks and I'm not having the same problem on different sites (i.e. youtube). I'm hosting the site through Yahoo Small Business and I have a lot of video files in the tmp directory.

Could anyone recommend me a way to allow my videos to be streamed faster?

share|improve this question

migrated from stackoverflow.com Apr 6 '11 at 20:07

This question came from our site for professional and enthusiast programmers.

This is almost certainly a hosting problem, not a programming problem. As such, I've voted to move it to the appropriate forum. – wallyk Apr 6 '11 at 19:55
Maybe your server's internet connection is too slow and overloads because of many views. What is you server's internet s – Searush Aug 17 '12 at 16:50
up vote 3 down vote accepted

There is nothing wrong with configuration of JWplayer, most likely it's network issue, most hosting providers are not optimised for media streaming, for that purposes you have to use Content Delivery Network also known as CDN like akamai, edgecast or maxcdn

share|improve this answer
I'm not that good with website management yet, which do you think would be the best for me to use, that is, which is the easiest to use? Also, will it be hard to transfer everything over to a CDN? – Mike Apr 6 '11 at 20:11
To piggy-back on the off-loading suggestion, you might also consider that the Longtail people have a media hosting solution of their own. – Su' Apr 6 '11 at 22:26
@Mike, most CDN providers support content mirroring, usually you have to change your media url from mydomain.com/media/file.flv to something like mydomain.com.cdnprovider.net/media/file.flv or bind it via DNS to cdn.mydomain.com/media/file.flv – Nazariy Apr 8 '11 at 17:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.