prevent autoplay with Silverlight Streaming Service

With Microsoft Expression Encoder you can create Silverlight Media Web Projects. This projects can be zipped and uploaded to silverlight streaming service. Then you can embed the video in your webpage with iframe. My problem was, that i didnt find any option in Expression Encoder to prevent the automatic start of the video.

Workaround: you have to edit from expression encoder output folder the startplayer.js and set autoplay to false

 

 this._player = $create(   ExtendedPlayer.Player,
                                  { // properties
                                    autoPlay    : false,
                                    volume      : 1.0,
                                    muted       : false
                                  },

Save the file and create the zip. That have to be uploaded to streaming website.

You can also edit the file in the player templates, which change the defautl behaviour.

Published Thursday, November 08, 2007 12:08 PM by preishuber
Filed under: ,

Comments

# Silverlight Cream for November 10,2007 -2 -- #122

Saturday, November 10, 2007 8:21 PM by Community Blogs

Too much content lately :) New SL1.0 SDK material, SL Streaming info from Mike Ormond, Tim Heuer reports

# re: prevent autoplay with Silverlight Streaming Service

Thursday, January 10, 2008 9:10 AM by SilverlightTech

Hi I encoded a sample wmv file using Expression Encoder and add features like markers,leaders,trailers and Captions.I used Console Silverlight as Theme.After that i uploaded the application in my SilverLight Streaming Account with manifest file .But when i launch the application using  a browser it just shows me the console player but no wmv files are played.Please help me in this and if possible can u give me a similar running application.

# re: prevent autoplay with Silverlight Streaming Service

Friday, July 18, 2008 4:11 PM by Fernando Lopez Jr.

do you know if is possible to write to an xml file using silverlight streaming hosting? or create text files?

thank you.

Leave a Comment

(required) 
(required) 
(optional)
(required)