Windows 8 RT XAML MediaElement controls overlaid on top of video -


i have seen numerous examples of mediaelement used video playback in windows rt xaml applications.

i have controls overlay video, rather place controls within appbar or elsewhere in view i.e. play / pause, full-screen etc.

enter image description here

i haven't seen examples of this, basic buttons placed within xaml. can provide place start?

player framework 1 of framework media playback. if want create own player interface given below. can use opacity property transparency.

<grid width="339" height="278">     <grid.rowdefinitions>         <rowdefinition />         <rowdefinition height=".5*"/>     </grid.rowdefinitions>     <mediaelement grid.rowspan="2" verticalalignment="bottom" source="assets/sample.mp4" />     <grid grid.row="1" opacity=".4" background="black" />     <stackpanel verticalalignment="bottom" grid.row="1" orientation="horizontal">         <button style="{staticresource playappbarbuttonstyle}" />         <slider width="150" verticalalignment="center" />         <button style="{staticresource playappbarbuttonstyle}" />     </stackpanel> </grid> 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -