TinyPortal

Development => Support => Topic started by: daygo140 on March 20, 2006, 11:23:55 PM

Title: Embedding WMV Question
Post by: daygo140 on March 20, 2006, 11:23:55 PM
I made a html bloc to play a .wmv file (http://www.cyeclan.com):

<center><embed width="178" height="160" autostart="0" controltype="1" showcontrols="1" src="http://www.cyeclan.com/clan_files/members/oak3/drunken_highlight.wmv"></embed></center>

Problem is everytime I go to the page and use forward and back buttons it seems as if the .wmv file downloads each time.  Is there a way to not automatically download each time the page is hit as described above because I am sure the bandwidth is going to jump up real high.

THANKS!!
Title: Re: Embedding WMV Question
Post by: TwinsX2Dad on March 21, 2006, 07:11:04 AM
The two qualifying questions I would have are:

1. How big is your sound file?

2. What is your browser cache set to?

The thing here is that, as more and more people get on broadband, the less a browser cache is needed by the user of that browser. Many broadband connection clients will set the cache to zero, while many computer techs will recommend it be set to zero. If neither of these are in play, several malware clients or optimization resources are either reducing people's browser cache settings or telling them to do it. A commonly used Web tool site, PC Pitstop, regularly recommends that users reduce the size of their cache.

Even if it is not at zero, it may be at 2MB - if your file plus anything else you've viewed exceeds that 2MB limit, your sound file will be one of the first things to get bumped from your browser cache.

A little history, along with a common recommendation that is being used lately (written by an ISP friend):

Back in the days of slow modem connections, the web browser cache was invented to store visited web pages and images on your hard drive. The next time you accessed the same page on the Internet, it appeared much faster because it was being loaded from your hard drive and not from the server. The problem with that is if any of the Web page content had changed since your previous visit, you may not see it because you are viewing the cached or saved files on your computer instead of the actual server files. As broadband access (DSL, cable, etc.) becomes available to everyone, the browser cache becomes more useless every day. And not only do Web browsers still have a cache, the default setting is often several megabytes of files! Set your browser cache to zero to avoid missing recent content.

I bring this up because you can't really force a user's browser to cache your site. With more and more people being told to shut down their cache, or having it shut down by various utilities, we're going to start seeing more and more load on our servers. Therefore a need to run lean content becomes more important, unless you want to upgrade your service.

I, for one, have had my browser cache disabled for several years now.

[EDIT]Something else which could be affecting this would be elsewhere in your temporary Internet file settings on how often your browser checks for new content - if it is 'always' or 'automatically' you may still be loading that content every time[/EDIT]
Title: Re: Embedding WMV Question
Post by: (Ô¿Ô) on March 21, 2006, 09:01:07 AM
Yeah you can't force anyone to cache anything. You are stuck with the band width thing.
Title: Re: Embedding WMV Question
Post by: Crip on March 31, 2006, 10:47:08 PM
Put your WMV file in a pop up window via javascript..this way the page/window remains open if minimzed.
Title: Re: Embedding WMV Question
Post by: Xarcell on March 31, 2006, 11:32:41 PM
It's the browser settings you have.