home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1129664" data-attributes="member: 48495"><p>A new idea for you to test:</p><p>Now that we have the great event triggers available (thanks [USER=150866]@osre[/USER]!), we can add a click event on the player control: if you modify the OtherControls.xaml this way:</p><p>[CODE=XML] <ControlTemplate x:Key="PlayerControlVideoPrimary"></p><p> <Rectangle x:Name="Video" Width="300" Height="170" Margin="0,-5,-25,-5"</p><p> RadiusX="{ThemeResource PlayerControlBorderRadius}" RadiusY="{ThemeResource PlayerControlBorderRadius}"></p><p> <Rectangle.Triggers></p><p> <EventTrigger RoutedEvent="UIElement.MouseDown"></p><p> <TriggerCommand Command="{Command Source={Service WorkflowManager},Path=NavigatePush,Parameters=882C1142-8028-4112-A67D-370E6E483A33}"/></p><p> </EventTrigger></p><p> </Rectangle.Triggers></p><p> <Rectangle.Fill></p><p> <VideoBrush Stream="0"/></p><p> </Rectangle.Fill></p><p> </Rectangle></p><p> </ControlTemplate>[/CODE]</p><p>You should be able to switch to fullscreen playback by a click on video frame in player control (you can add the Rectangle.Triggers also to secondary style).</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1129664, member: 48495"] A new idea for you to test: Now that we have the great event triggers available (thanks [USER=150866]@osre[/USER]!), we can add a click event on the player control: if you modify the OtherControls.xaml this way: [CODE=XML] <ControlTemplate x:Key="PlayerControlVideoPrimary"> <Rectangle x:Name="Video" Width="300" Height="170" Margin="0,-5,-25,-5" RadiusX="{ThemeResource PlayerControlBorderRadius}" RadiusY="{ThemeResource PlayerControlBorderRadius}"> <Rectangle.Triggers> <EventTrigger RoutedEvent="UIElement.MouseDown"> <TriggerCommand Command="{Command Source={Service WorkflowManager},Path=NavigatePush,Parameters=882C1142-8028-4112-A67D-370E6E483A33}"/> </EventTrigger> </Rectangle.Triggers> <Rectangle.Fill> <VideoBrush Stream="0"/> </Rectangle.Fill> </Rectangle> </ControlTemplate>[/CODE] You should be able to switch to fullscreen playback by a click on video frame in player control (you can add the Rectangle.Triggers also to secondary style). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom