Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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:

<embed
flashvars="file=/tmp/<?php echo $row["location"]; ?>&autostart=true"
allowfullscreen="true"
allowscripaccess="always"
id="player1"
name="player1"
src="/jwplayer/player.swf"
width="500"
height="350"
/>

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.

3  
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 –  SEARAS Aug 17 '12 at 16:50

1 Answer 1

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

 
discard

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.