InStreamTimedText plugin is showing partial xml

Nov 7, 2010 at 11:44 PM


I'm using smf version 2.1.1 , when i use the InStreamTimedText plugin it displays partial xml of the DFXP , have a look on here :

however it works pretty well on  the source package, all i have modified is player's layout, what is wrong ?

Nov 9, 2010 at 9:20 PM

que0x, my best guess is there's some invalid DFXP XML somewhere.  If you can post your DFXP file somewhere and provide a link I'll take a look.



Nov 9, 2010 at 9:32 PM

kevin, I'm using the hosted stream provided in the samples : SelectedCaptionStreamName="textstream_fra" DeliveryMethod="AdaptiveStreaming" MediaSource="" , i thought may be my plugins are causing this but i disabled them and recompiled and still getting the same issue.

strange enough it's working really good on the sample project.

Nov 9, 2010 at 10:12 PM

I just tried it here on my end and I'm not seeing the XML show up.  I see you've customized the UI a bit, moving the controls on top and it appears that there's a dark background behind the captions, where it should be semi-transparent.  It's possible that I can't see the issue b/c my project doesn't have the same changes.  Can you zip up your solution and drop me a link so I can take a look?

Nov 9, 2010 at 10:39 PM

Hi Kevin,

I just PM with the files, you can freely write down here what caused the issue and the resolution.

Many thanks !

Nov 10, 2010 at 9:46 PM

Not sure what you mean by "PM with the files".  Do you have a link to a repro app I can look at?

Nov 10, 2010 at 9:49 PM

sure, you can download it here :

Nov 10, 2010 at 10:26 PM

que0x, try removing your reference to Microsoft.SilverlightMediaFramework.Plugins.ClearTextCaptions.  This plugin treats captions as "clear text" and should not be used with DFXP formatted data.  Once you remove this you should be left with only the correctly formatted captions displaying.

Nov 10, 2010 at 10:44 PM

Thanks Kevin ! it works now.

in the case i would like to get the captions from a web service ,should i reference Microsoft.SilverlightMediaFramework.Plugins.ClearTextCaptions ?

also for the steam "elephant dreams" found at , how can i style the caption (background, text color ..etc)

Thanks again

Dec 30, 2011 at 9:40 PM

Hi All,

Just a newbie and want to get the caption of Elephant Dreams to work from localhost also. But I can't. Here is what I did

1. Download the Elephants Dream here

2. Setup the local smoothstreaming enviroment, it works ok since I can get the video streaming

3. Trying to get the caption work but Can't, Check under Elephants Dreams folder downloaded I see the file Elephants_Dream.dfxp.ismt, open the file and see the format is like xml.

4. In the XAML code I used

         <Core:SMFPlayer CaptionsVisibility="Visible">
                <Media:PlaylistItem SelectedCaptionStreamName="textstream_fra" DeliveryMethod="AdaptiveStreaming" MediaSource="http://localhost/DataSmoothStreaming/ElephantsDream.ism/manifest">                  

Well the same above code is work if I provide MediaSource=" But if I provide MediaSource="http://localhost/DataSmoothStreaming/ElephantsDream.ism/manifest (which is localhost), I only have the video streaming not the caption?

Any idea how to fix this is very much appreciated.