> On Mon, 14 May 2007 03:34:00 -0700, Joseph Taylor <Joseph
> Taylor[ at ]discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >Does anyone know how to synchronise multiple SAMI files with a WMV file
> >server-side (WSX!!)? What I mean is that I have a sever-side playlist
> >ouputting various video clips in one language and I need to display subtitles
> >in other languages. the subtitle files (SAMI) need to be synchronised with
> >the clip so when a clip changes, the SAMI changes?
>
>
>
> It should be pretty simple - because you deliver a ~single~ SAMI file,
> with all the captions inside. Each caption is distinguished from other
> language-variants by the CLASS attribute on the <p> elements.
>
> See the section 'Class and Localization' in this document
>
http://msdn2.microsoft.com/en-us/library/ms971327.aspx>
> It should then be clear that a sequence of timed elements like the
> example lower down in the document (under the list of supported HTML
> elements) would be providing switching based on the Class attribute
>
> <Sync Start=2500>
> <P Class=ENCC> If English (ENCC) is selected this line is
> displayed,
> <P Class=FRCC> but this line is not displayed.
> </Sync>
>
> Make sure to have corresponding Class declarations in the CSS part of
> the document (inside the <head /> tags).
>
> The ''Embedded Player Control Sample' section in that document shows
> how to use SAMILang attribute to switch between captions you've
> provided in the sample above.
>
> HTH
> Cheers - Neil
>
> ------------------------------------------------
> Digital Media MVP : 2004-2007
>
http://mvp.support.microsoft.com/mvpfaqs>