Posted 9/24/2007 11:16:00 PM. 5 comments
We've had a number of people asking how to turn off AudioPlay in Silverlight published output from Expression Encoder 1.0 nso I thought I'd post about it here. If you think you are never likely to want AutoPlay, or if you are publishing to Silverlight Streaming, the best way is to actually fix this in the Expression Encoder template(s). To do this, open up the following file [nb on Vista, run notepad as administrator]
%programfiles%/Microsoft Expression/Encoder 1.0/Templates/en/<thetemplateyouwanttofix>/startplayer.js
Do a search for autoPlay which should yeild:
autoPlay : true
and replace it with
autoPlay : false
Now save the file. Next time you publish to that template, you should no longer see autoPlay kicking in.
This is something we are going to try to fix more gracefully in the next version.
We have also received feedback on the fact that, when the template loads the media immediately starts to download. This can be a problem when you have a number of players on the same page. Again, we are hoping to provide a solution to this in a future release.

Is there any workaround for the immediate download start when the page loads? I've run into this issue on my blog and haven't found a solution yet. Also is the source code for Jet Fuel going to be released?
Mark.. We have a solution that will be released in some form fairly soon.
Any update on the immediate download problem when multiple players are on the same page?
Mark.. this will be fixed in the next version of Expression Encoder. There will also be an interim fix available shortly.. Stay tuned..
Adding soon videos with silverlight (via silverlight.live.com) on my website, I'm waiting for this "interim" version too. Thanks in advance. I'm using livewriter's plugin and SLS publish preview for xEncoder : really great work !!!