<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sc="using:SearchUI.Controls"
                    xmlns:tm="using:SearchUI.TemplateManager"
                    x:Key="Web.PreviewWithOverlay_8_1_RP">

    <!-- The data template for page previews overlay -->
    <ControlTemplate x:Key="Local.PreviewWithPlayIconOverlayTemplate" TargetType="ContentControl">
        <Grid Style="{CustomResource Resources.Shared.ImagePlaceholderGridStyle}">
            <Image Stretch="{Binding Tag, RelativeSource={RelativeSource TemplatedParent}}"
                   Source="{Binding Extended:image.Extended:src}"
                   AutomationProperties.AutomationId="NullableImage"
                   ToolTipService.ToolTip="{Binding Extended:image.Extended:alt}"
                   Style="{CustomResource Resources.Shared.BaseImageStyle}" />

            <!-- 20% black overlaid above thumbnail -->
            <Rectangle Fill="Black"
                       Opacity="0.2" />

            <!--30X30 shared play icon-->
            <TextBlock Style="{CustomResource Resources.Shared.VideoPlayButtonTextStyle}" />
        </Grid>
    </ControlTemplate>

    <Style x:Key="Horizontal"
           TargetType="sc:ResultContentControl">
        <Setter Property="Template" 
                Value="{StaticResource Local.PreviewWithPlayIconOverlayTemplate}"/>
    </Style>
</ResourceDictionary>
