Try this, and I emphasize TRY here.
Go to AjaxLoad and create an animated “loading” graphic to suit your site design. http://ajaxload.info/ Place this image as a pass-through on your page, to one side of the movie playback area. Make a note of the value in the Title field of the Inspector – you’ll use that name to identify your spinner graphic later. Note that the plug-in will nearly always obscure any other page content, no matter whether it was placed above or below the movie in the z-index (stacking order), so don’t rely on placing the loading image over the top of your movie if you expect it to ever appear on screen.
Click once on your movie in Freeway, and open the Extended dialog (Item / Extended). Click on the New button, and enter the following pair:
- Name: EnableJavaScript
- Value: true
Okay, then click New again and enter:
- Name: postdomevents
- Value: true
Okay, and okay again.
Apply the Protaculous Action to your page. Choose prototype-packed from the Library menu, and click on the top Function Body button. Paste in the following code, but change item42
in the code to be whatever name you found in the Inspector in the first step.
document.observe('qt_canplaythrough', function(evt){
$('item42').hide();
});
When the movie has loaded enough for it to play all the way through at the current download speed without stalling, the spinner will disappear. Depending on the size of your movie and the options you chose when compressing it for the Web, this might not take very long at all. In my test document here, I could barely see the spinner before it disappeared. A slower connection or larger file might show it for a longer time.
As far as a real “x minutes and y seconds left to download”, you can do that, but it’s a whole lot more work. The issue is that the file size isn’t really available for you to access until the headers of the movie are there, and without the total file size, it’s impossible to calculate the percentage downloaded, percentage remaining, and average download speed. This leads you to do things like polling the movie (asking it the same question over and over in a loop) and then reacting when it finally answers. I wasted many days of my life trying to make this work properly, never was satisfied with the final result.
Walter
On May 1, 2012, at 11:21 AM, bob wrote:
Hi Walter,
My videos are made using imove with a .mov
Which way would you suggest?
Bob
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options