/Visual Studio 2008/VBSL3MediaElement/ReadMe.htm
HTML | 961 lines | 618 code | 0 blank | 343 comment | 0 complexity | 0796a0ae39f1a2206e2b334eea326fcc MD5 | raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
- "urn:schemas-microsoft-com:vml" xmlns:o =
- "urn:schemas-microsoft-com:office:office" xmlns:w =
- "urn:schemas-microsoft-com:office:word" xmlns:m =
- "http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
- <META content="text/html; charset=utf-8" http-equiv=Content-Type>
- <META name=ProgId content=Word.Document>
- <META name=GENERATOR content="MSHTML 9.00.8112.16421">
- <META name=Originator content="Microsoft Word 12"><LINK rel=File-List
- href="ReadMe_files/filelist.xml"><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Author>Yi-Lun Luo (Wicresoft)</o:Author>
- <o:LastAuthor>Yi-Lun Luo (Wicresoft)</o:LastAuthor>
- <o:Revision>2</o:Revision>
- <o:TotalTime>1379</o:TotalTime>
- <o:Created>2009-10-08T09:19:00Z</o:Created>
- <o:LastSaved>2009-10-08T09:19:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>935</o:Words>
- <o:Characters>5331</o:Characters>
- <o:Company>Microsoft</o:Company>
- <o:Lines>44</o:Lines>
- <o:Paragraphs>12</o:Paragraphs>
- <o:CharactersWithSpaces>6254</o:CharactersWithSpaces>
- <o:Version>12.00</o:Version>
- </o:DocumentProperties>
- </xml><![endif]--><LINK rel=dataStoreItem href="ReadMe_files/item0001.xml"
- target=ReadMe_files/props0002.xml><LINK rel=themeData
- href="ReadMe_files/themedata.thmx"><LINK rel=colorSchemeMapping
- href="ReadMe_files/colorschememapping.xml"><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:SpellingState>Clean</w:SpellingState>
- <w:TrackMoves>false</w:TrackMoves>
- <w:TrackFormatting/>
- <w:PunctuationKerning/>
- <w:ValidateAgainstSchemas/>
- <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
- <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
- <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
- <w:DoNotPromoteQF/>
- <w:LidThemeOther>EN-US</w:LidThemeOther>
- <w:LidThemeAsian>ZH-CN</w:LidThemeAsian>
- <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
- <w:Compatibility>
- <w:BreakWrappedTables/>
- <w:SnapToGridInCell/>
- <w:WrapTextWithPunct/>
- <w:UseAsianBreakRules/>
- <w:DontGrowAutofit/>
- <w:SplitPgBreakAndParaMark/>
- <w:DontVertAlignCellWithSp/>
- <w:DontBreakConstrainedForcedTables/>
- <w:DontVertAlignInTxbx/>
- <w:Word11KerningPairs/>
- <w:CachedColBalance/>
- <w:UseFELayout/>
- </w:Compatibility>
- <m:mathPr>
- <m:mathFont m:val="Cambria Math"/>
- <m:brkBin m:val="before"/>
- <m:brkBinSub m:val="--"/>
- <m:smallFrac m:val="off"/>
- <m:dispDef/>
- <m:lMargin m:val="0"/>
- <m:rMargin m:val="0"/>
- <m:defJc m:val="centerGroup"/>
- <m:wrapIndent m:val="1440"/>
- <m:intLim m:val="subSup"/>
- <m:naryLim m:val="undOvr"/>
- </m:mathPr></w:WordDocument>
- </xml><![endif]--><!--[if gte mso 9]><xml>
- <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
- DefSemiHidden="true" DefQFormat="false" DefPriority="99"
- LatentStyleCount="267">
- <w:LsdException Locked="false" Priority="0" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
- <w:LsdException Locked="false" Priority="9" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
- <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
- <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
- <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
- <w:LsdException Locked="false" Priority="10" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Title"/>
- <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
- <w:LsdException Locked="false" Priority="11" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
- <w:LsdException Locked="false" Priority="22" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
- <w:LsdException Locked="false" Priority="20" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
- <w:LsdException Locked="false" Priority="59" SemiHidden="false"
- UnhideWhenUsed="false" Name="Table Grid"/>
- <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
- <w:LsdException Locked="false" Priority="1" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 1"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
- <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
- <w:LsdException Locked="false" Priority="34" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
- <w:LsdException Locked="false" Priority="29" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
- <w:LsdException Locked="false" Priority="30" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 1"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 2"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 2"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 3"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 3"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 4"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 4"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 5"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 5"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
- <w:LsdException Locked="false" Priority="60" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
- <w:LsdException Locked="false" Priority="61" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light List Accent 6"/>
- <w:LsdException Locked="false" Priority="62" SemiHidden="false"
- UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
- <w:LsdException Locked="false" Priority="63" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
- <w:LsdException Locked="false" Priority="64" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
- <w:LsdException Locked="false" Priority="65" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
- <w:LsdException Locked="false" Priority="66" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
- <w:LsdException Locked="false" Priority="67" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
- <w:LsdException Locked="false" Priority="68" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
- <w:LsdException Locked="false" Priority="69" SemiHidden="false"
- UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
- <w:LsdException Locked="false" Priority="70" SemiHidden="false"
- UnhideWhenUsed="false" Name="Dark List Accent 6"/>
- <w:LsdException Locked="false" Priority="71" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
- <w:LsdException Locked="false" Priority="72" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
- <w:LsdException Locked="false" Priority="73" SemiHidden="false"
- UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
- <w:LsdException Locked="false" Priority="19" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
- <w:LsdException Locked="false" Priority="21" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
- <w:LsdException Locked="false" Priority="31" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
- <w:LsdException Locked="false" Priority="32" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
- <w:LsdException Locked="false" Priority="33" SemiHidden="false"
- UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
- <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
- <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
- </w:LatentStyles>
- </xml><![endif]-->
- <STYLE>@font-face {
- font-family: Wingdings;
- }
- @font-face {
- font-family: SimSun;
- }
- @font-face {
- font-family: Cambria Math;
- }
- @font-face {
- font-family: Cambria;
- }
- @font-face {
- font-family: Calibri;
- }
- @font-face {
- font-family: @SimSun;
- }
- @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
- P.MsoNormal {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi
- }
- LI.MsoNormal {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi
- }
- DIV.MsoNormal {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi
- }
- H1 {
- LINE-HEIGHT: 115%; PAGE-BREAK-AFTER: avoid; MARGIN: 24pt 0in 0pt; FONT-FAMILY: "Cambria","serif"; COLOR: #365f91; FONT-SIZE: 14pt; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan lines-together; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 1 Char"; mso-style-next: Normal; mso-outline-level: 1; mso-themecolor: accent1; mso-themeshade: 191; mso-font-kerning: 0pt
- }
- H2 {
- LINE-HEIGHT: 115%; PAGE-BREAK-AFTER: avoid; MARGIN: 10pt 0in 0pt; FONT-FAMILY: "Cambria","serif"; COLOR: #4f81bd; FONT-SIZE: 13pt; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-qformat: yes; mso-pagination: widow-orphan lines-together; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 2 Char"; mso-style-next: Normal; mso-outline-level: 2; mso-themecolor: accent1
- }
- H3 {
- LINE-HEIGHT: 115%; PAGE-BREAK-AFTER: avoid; MARGIN: 10pt 0in 0pt; FONT-FAMILY: "Cambria","serif"; COLOR: #4f81bd; FONT-SIZE: 11pt; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-qformat: yes; mso-pagination: widow-orphan lines-together; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 3 Char"; mso-style-next: Normal; mso-outline-level: 3; mso-themecolor: accent1
- }
- A:link {
- COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99; mso-themecolor: hyperlink; text-underline: single
- }
- SPAN.MsoHyperlink {
- COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99; mso-themecolor: hyperlink; text-underline: single
- }
- A:visited {
- COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99; mso-themecolor: followedhyperlink; text-underline: single; mso-style-noshow: yes
- }
- SPAN.MsoHyperlinkFollowed {
- COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99; mso-themecolor: followedhyperlink; text-underline: single; mso-style-noshow: yes
- }
- P {
- MARGIN: 0in 0in 7.5pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-style-priority: 99; mso-style-noshow: yes
- }
- P.MsoNoSpacing {
- MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 1
- }
- LI.MsoNoSpacing {
- MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 1
- }
- DIV.MsoNoSpacing {
- MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 1
- }
- P.MsoListParagraph {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto
- }
- LI.MsoListParagraph {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto
- }
- DIV.MsoListParagraph {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto
- }
- P.MsoListParagraphCxSpFirst {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- LI.MsoListParagraphCxSpFirst {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- DIV.MsoListParagraphCxSpFirst {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- P.MsoListParagraphCxSpMiddle {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- LI.MsoListParagraphCxSpMiddle {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- DIV.MsoListParagraphCxSpMiddle {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 0pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- P.MsoListParagraphCxSpLast {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- LI.MsoListParagraphCxSpLast {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- DIV.MsoListParagraphCxSpLast {
- LINE-HEIGHT: 115%; MARGIN: 0in 0in 10pt 0.5in; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-style-unhide: no; mso-style-qformat: yes; mso-pagination: widow-orphan; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-priority: 34; mso-add-space: auto; mso-style-type: export-only
- }
- SPAN.Heading2Char {
- FONT-FAMILY: "Cambria","serif"; COLOR: #4f81bd; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-unhide: no; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 2"; mso-themecolor: accent1; mso-style-name: "Heading 2 Char"; mso-style-locked: yes; mso-ansi-font-size: 13.0pt; mso-bidi-font-size: 13.0pt
- }
- SPAN.Heading1Char {
- FONT-FAMILY: "Cambria","serif"; COLOR: #365f91; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-unhide: no; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 1"; mso-themecolor: accent1; mso-themeshade: 191; mso-style-name: "Heading 1 Char"; mso-style-locked: yes; mso-ansi-font-size: 14.0pt; mso-bidi-font-size: 14.0pt
- }
- SPAN.Heading3Char {
- FONT-FAMILY: "Cambria","serif"; COLOR: #4f81bd; FONT-WEIGHT: bold; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-style-unhide: no; mso-ascii-font-family: Cambria; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast; mso-hansi-font-family: Cambria; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: major-bidi; mso-style-priority: 9; mso-style-link: "Heading 3"; mso-themecolor: accent1; mso-style-name: "Heading 3 Char"; mso-style-locked: yes
- }
- SPAN.input1 {
- FONT-WEIGHT: bold; mso-style-unhide: no; mso-style-name: input1
- }
- SPAN.SpellE {
- mso-style-name: ""; mso-spl-e: yes
- }
- .MsoChpDefault {
- mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-style-type: export-only; mso-default-props: yes
- }
- .MsoPapDefault {
- LINE-HEIGHT: 115%; MARGIN-BOTTOM: 10pt; mso-style-type: export-only
- }
- DIV.Section1 {
- page: Section1
- }
- OL {
- MARGIN-BOTTOM: 0in
- }
- UL {
- MARGIN-BOTTOM: 0in
- }
- </STYLE>
- <!--[if gte mso 10]>
- <style>
- /* Style Definitions */
- table.MsoNormalTable
- {mso-style-name:"Table Normal";
- mso-tstyle-rowband-size:0;
- mso-tstyle-colband-size:0;
- mso-style-noshow:yes;
- mso-style-priority:99;
- mso-style-qformat:yes;
- mso-style-parent:"";
- mso-padding-alt:0in 5.4pt 0in 5.4pt;
- mso-para-margin-top:0in;
- mso-para-margin-right:0in;
- mso-para-margin-bottom:10.0pt;
- mso-para-margin-left:0in;
- line-height:115%;
- mso-pagination:widow-orphan;
- font-size:11.0pt;
- font-family:"Calibri","sans-serif";
- mso-ascii-font-family:Calibri;
- mso-ascii-theme-font:minor-latin;
- mso-hansi-font-family:Calibri;
- mso-hansi-theme-font:minor-latin;}
- </style>
- <![endif]--><!--[if gte mso 9]><xml>
- <o:shapedefaults v:ext="edit" spidmax="3074"/>
- </xml><![endif]--><!--[if gte mso 9]><xml>
- <o:shapelayout v:ext="edit">
- <o:idmap v:ext="edit" data="1"/>
- </o:shapelayout></xml><![endif]--></HEAD>
- <BODY style="tab-interval: .5in" lang=EN-US vLink=purple link=blue>
- <DIV class=Section1>
- <H1 style="TEXT-ALIGN: center" align=center>Work with <SPAN
- class=SpellE>MediaElement</SPAN></H1>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>Introduction</H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN class=SpellE><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">MediaElement</SPAN></SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">
- is an essential control to create a media player in Silverlight. It supports
- playing, pausing, stopping audio/video as well as a lot of interesting features.
- You can simply control <SPAN class=SpellE>MediaElement</SPAN> by its properties,
- events and methods.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">The
- following points are covered in this sample:<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpFirst><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">How
- to get the total duration of audio/video<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">How
- to create a progress bar for <SPAN
- class=SpellE>MediaElement</SPAN><o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Volume
- control<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Play/Pause/Stop
- audio/video<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Events
- of <SPAN class=SpellE>MediaElement</SPAN> (</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">MarkerReached,
- MediaEnded, MediaOpened, MediaFailed, CurrentStateChanged</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">)<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">How
- to handle <SPAN class=SpellE>MediaElement</SPAN> in full-screen
- mode<o:p></o:p></SPAN></P>
- <P class=MsoListParagraphCxSpLast><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>Prerequisites:</H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Silverlight
- 3 Tools for Visual Studio 2008 SP1<o:p></o:p></SPAN></P>
- <P class=MsoNormal><A
- href="http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en</SPAN></A><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN class=SpellE><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Silverilght</SPAN></SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">
- 3 runtime:<o:p></o:p></SPAN></P>
- <P class=MsoNormal><A href="http://silverlight.net/getstarted/"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">http://silverlight.net/getstarted/</SPAN></A><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>How to get the total duration of Audio/Video</H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">You
- can use the following properties of MediaElement to get the total duration of
- audio/video that MediaElement plays:<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">MediaElement.NaturalDuration.TimeSpan<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">One
- note is, you can only get the total duration after MediaOpended
- event.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes"><o:p> </o:p></SPAN></P>
- <H2>How to create a progress bar for <SPAN class=SpellE>MediaElement</SPAN></H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">We
- can use Slider control to act as the progress bar of our player. In this sample,
- the idea to do this is as below. <o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2"
- class=MsoListParagraphCxSpFirst><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-no-proof: yes"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Initialize
- </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">Slider.Maximum
- in MediaOpended event.<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Use
- a </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">DispatcherTimer
- to syncronize the current position of the video with the Value properties of
- </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Slider
- control<o:p></o:p></SPAN></P>
- <P style="TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2"
- class=MsoListParagraphCxSpMiddle><![if !supportLists]><SPAN
- style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Customize
- the style of <SPAN class=SpellE>Silder</SPAN> control, in which way we can catch
- </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">DragStarted/DragCompleted
- event of the Thumb control. We can then change the position of MediaElement in
- these two event handlers.</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoListParagraphCxSpLast><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>Volume control</H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">In
- this sample we use another Slider control to control the volume of <SPAN
- class=SpellE>MediaElement</SPAN>. Only one line of code is needed to achieve
- this:<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: blue; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">this</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">.MyMediaElement.Volume=<SPAN
- style="COLOR: blue">this</SPAN>.VolumeSlider.Value;<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">The
- above code is put in the ValueChanged event handler of Slider
- control.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes"><o:p> </o:p></SPAN></P>
- <H2>Play/Pause/Stop audio/video</H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">We
- can play/pause/stop audio/video by calling <SPAN class=SpellE>M<SPAN
- style="mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">ediaElement.Play</SPAN></SPAN></SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">()/MediaElement.Pause()/MediaElement.Stop()
- methods<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>Events of <SPAN class=SpellE>MediaElement</SPAN></H2>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-no-proof: yes">MarkerReached<o:p></o:p></SPAN></B></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-no-proof: yes">This
- event fires when a marker of the MediaElement is reached. <o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">After
- </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-no-proof: yes">markers
- are loaded from the video and assigned to the </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">Markers
- properties of MediaElement, we can add our own markers. If we want to do so, a
- proper place is MediaOpened event.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">Code
- to add markers for MediaElement:<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"
- class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes">this</SPAN><SPAN
- style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes">.MyMediaElement.Markers.Add(<SPAN
- style="COLOR: blue">new</SPAN> <SPAN
- style="COLOR: #2b91af">TimelineMarker</SPAN>()<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"
- class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN
- style="mso-spacerun: yes">
- </SPAN>{<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"
- class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN
- style="mso-spacerun: yes">
- </SPAN>Text = <SPAN style="COLOR: #a31515">"This marker is added by
- code!"</SPAN>,<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"
- class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN
- style="mso-spacerun: yes">
- </SPAN>Time = <SPAN
- style="COLOR: #2b91af">TimeSpan</SPAN>.FromSeconds(8),<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"
- class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN
- style="mso-spacerun: yes">
- </SPAN>Type = <SPAN
- style="COLOR: #a31515">"MyMarker"<o:p></o:p></SPAN></SPAN></P>
- <P class=MsoNormal><SPAN
- style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"><SPAN
- style="mso-spacerun: yes">
- </SPAN>});</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">To
- learn how to add markers for a video in Expression Encoder, please refer
- to:</SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><A
- href="http://expression.microsoft.com/en-us/cc482957.aspx"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">http://expression.microsoft.com/en-us/cc482957.aspx</SPAN></A><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">MediaEnded<o:p></o:p></SPAN></B></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">This
- event fires when the media has ended. Common usage of this event is to reset
- state of certain controls or replay audio/video.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">MediaOpened<o:p></o:p></SPAN></B></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">This
- event fires when the media stream has been validated and opened, and the file
- headers have been read.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">As
- described in MSDN, for this event we must take care of following
- things:<o:p></o:p></SPAN></P>
- <P style="VERTICAL-ALIGN: top"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Properties
- in this second category will not contain valid values until the <SPAN
- class=SpellE><SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaElement</SPAN></SPAN></SPAN>
- raises the <SPAN class=SpellE><SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaOpened</SPAN></SPAN></SPAN>
- event. The following is a list of <SPAN class=SpellE><SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaElement</SPAN></SPAN></SPAN>
- properties that will not be valid until after <SPAN class=SpellE><SPAN
- class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaOpened</SPAN></SPAN></SPAN>
- is raised by that element.<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979671(VS.95).aspx"><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">Attributes</SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979814(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">AudioStreamCount</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979672(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">AudioStreamIndex</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979904(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">BufferingProgress</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979734(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">DownloadProgress</SPAN></SPAN><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">
- (<SPAN class=SpellE>MediaElement</SPAN>)</SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979836(VS.95).aspx"><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">Markers</SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979710(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">NaturalDuration</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb979809(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">NaturalVideoHeight</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l3 level1 lfo3; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><A
- href="http://msdn.microsoft.com/en-us/library/bb980128(VS.95).aspx"><SPAN
- class=SpellE><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">NaturalVideoWidth</SPAN></SPAN></A><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P style="VERTICAL-ALIGN: top"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">In
- addition, the </SPAN><A
- href="http://msdn.microsoft.com/en-us/library/bb979677(VS.95).aspx"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: major-fareast">Position</SPAN></A><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">
- property will be null before the <SPAN class=SpellE><SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaOpened</SPAN></SPAN></SPAN>
- event. However, <SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">Position</SPAN></SPAN>
- is different from the other properties in the second group because it is
- settable. You should not attempt to set <SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">Position</SPAN></SPAN>
- until <SPAN class=SpellE><SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">MediaOpened</SPAN></SPAN></SPAN>
- is raised. You also should not set an initial <SPAN class=input1><SPAN
- style="FONT-WEIGHT: normal; mso-bidi-font-weight: bold">Position</SPAN></SPAN>
- value in XAML.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></B></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">MediaFailed<o:p></o:p></SPAN></B></P>
- <P style="VERTICAL-ALIGN: top"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">This
- event can occur in the following conditions: <o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l1 level1 lfo4; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">File
- not found.<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l1 level1 lfo4; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Invalid
- (unrecognized or unsupported) media format.<o:p></o:p></SPAN></P>
- <P
- style="LINE-HEIGHT: 140%; TEXT-INDENT: -0.25in; MARGIN-LEFT: 0.5in; VERTICAL-ALIGN: top; mso-list: l1 level1 lfo4; tab-stops: list .5in"><![if !supportLists]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: Symbol; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt"><SPAN
- style="mso-list: Ignore">·<SPAN
- style="FONT: 7pt 'Times New Roman'">
- </SPAN></SPAN></SPAN><![endif]><SPAN
- style="LINE-HEIGHT: 140%; FONT-FAMILY: 'Cambria','serif'; COLOR: black; FONT-SIZE: 11pt; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">Unknown
- media error during playback.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">You
- may see this event fires when you debug your Silverlight application in visual
- studio. The URL of the video is valid. You can open the video in Windows Media
- Player.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">To
- solve this issue, the first thing you need to check is whether the URL is a
- cross-scheme one. Common cause is, the URL of the page is of FILE scheme (e.g.
- “C:\\...”) and the URL of the video is of HTTP scheme (e.g. http://..). Vice
- versa.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">For
- more details about this restriction, please check out:<o:p></o:p></SPAN></P>
- <P class=MsoNormal><A
- href="http://msdn.microsoft.com/en-us/library/cc189008(VS.95).aspx"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">http://msdn.microsoft.com/en-us/library/cc189008(VS.95).<SPAN
- class=SpellE>aspx</SPAN></SPAN></A><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">CurrentStateChanged<o:p></o:p></SPAN></B></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; COLOR: black; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">This
- event fires when the value of the <SPAN class=SpellE>CurrentState</SPAN>
- property changes. In the sample we catch some state change events and display
- current state on </SPAN><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: 'Courier New'; mso-no-proof: yes">StatusTextBlock.<o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></P>
- <H2>How to handle <SPAN class=SpellE>MediaElement</SPAN> in full-screen
- mode</H2>
- <P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin"><o:p> </o:p></SPAN></B></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">A
- common requirement regarding <SPAN class=SpellE>MediaElement</SPAN> in
- full-screen mode is, we expect only the <SPAN class=SpellE>MediaElement</SPAN>
- to appear in the full-screen mode. This sample demonstrates how to do that.
- Basically the idea is to enlarge width/height of <SPAN
- class=SpellE>MediaElement</SPAN> and hide other controls when Silverlight is in
- full-screen mode. You can prepare another set of UIs to control <SPAN
- class=SpellE>MediaElement</SPAN> in full-screen mode. <o:p></o:p></SPAN></P>
- <P class=MsoNormal><SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">The
- code regarding full-screen mode can also be found in our samples
- CSSL3FullScreen/</SPAN> <SPAN
- style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">VBSL3FullScreen.<o:p></o:p></SPAN></P></DIV></BODY></HTML>