here<\/a>. Realize that path requires that your code fully take over the the responsibility for streaming — including understanding the low-level details of the audio\/video format. For example, you would need to know how to decode an MP3 file.<\/p>\n","protected":false},"excerpt":{"rendered":"I was asked in a comment how to play a sound from a stream, from an embedded resource in Silverlight or WPF. My answer is that I wouldn’t use an embedded resource, instead I’d suggest using the “Content” Build Action as shown below: I’ve set the explosion.mp3 file’s Build Action to “Content”. Then, using my […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd5QIe-9l","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":577,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/577","url_meta":{"origin":579,"position":0},"title":"Silverlight Game Programming: Playing an Audio File","date":"October 12, 2008","format":false,"excerpt":"In my recent Silverlight game, there are a variety of sound effects that occur from bullet fires to explosions. Most of the audio files are brief, lasting only for a second or less on average. I had a few options -- put a MediaElement directly on the UI (in XAML)\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2008\/10\/image2.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1076,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1076","url_meta":{"origin":579,"position":1},"title":"How to embed and use the Google Web Fonts in Silverlight","date":"May 23, 2010","format":false,"excerpt":"There are a few steps necessary to using one of the Google Web Fonts in Silverlight. Step 1 Go to the directory of web fonts here. \u00a0 Step 2 Pick your favorite font and click the embed link: Step 3 Verify the license is acceptable to your needs. Step 4\u2026","rel":"","context":"In "Silverlight"","img":{"alt_text":"SNAGHTML5afad2c6","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2010\/05\/SNAGHTML5afad2c6.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1016,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1016","url_meta":{"origin":579,"position":2},"title":"Silverlight vs. Flash vs. Photoshop Text Rendering","date":"March 24, 2010","format":false,"excerpt":"Curious about text rendering characteristics between Flash 10, Silverlight 4.0 and Photoshop, I created two small applications, one in Flash CS 4, and one in Visual Studio 2010. The Silverlight 4.0 tests are using the release candidate which was current as of March 23, 2010. I used Times New Roman\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2010\/03\/image_thumb.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":670,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/670","url_meta":{"origin":579,"position":3},"title":"Silverlight: Dynamically creating XAML elements at runtime","date":"January 19, 2009","format":false,"excerpt":"Given the following XML file: