Workin' on Windows running on Windows Azure.
Previous Next 

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.

  1. 1. Made by Mark Davidson on 9/25/2007 2:02:00 PM

    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?

  2. 2. Made by James Clarke on 10/9/2007 5:13:00 AM

    Mark.. We have a solution that will be released in some form fairly soon.

  3. 3. Made by Mark Davidson on 11/16/2007 7:23:00 PM

    Any update on the immediate download problem when multiple players are on the same page?

  4. 4. Made by james on 12/11/2007 4:01:00 AM

    Mark.. this will be fixed in the next version of Expression Encoder. There will also be an interim fix available shortly.. Stay tuned..

  5. 5. Made by Boris on 12/21/2007 11:40:00 AM

    Adding soon videos with silverlight (via 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 !!!

  6. 6. Made by Unknown on 3/2/2016 5:43:07 AM

    Add Silverlight video to your blog | Devhammer on MSDN

  email (will not be shown)
 web site


6/22/2018 4:37:32 PM