  <div class="wpstream_player_wrapper wpstream_player_shortcode wpstream_header_collection">

    <div class="wpstream_player_container_gradient"></div>

    <div class="wpstream_add_to_cart_over_trailer">
        <div class="wpstream_bundble_title_details wpstream_bundle_title_details">
            <?php 
            $product_id = $post->ID;
            if( function_exists('wc_get_product') ) {
                $product    = wc_get_product( $product_id );
            }
            wpstream_theme_products_tag($product_id,$product);
            ?>

            <h1><?php the_title(); ?></h1>

            <div class="wpstream-product-description">
                <?php
                the_excerpt();
                ?>
            </div>

            <div class="wpstream-product-categories-wrapper">
                <?php
                $categories = get_the_terms($post->ID, 'wpstream_category');
                if ($categories) {
                    $total_categories = count($categories);
                    $counter = 1;
                    if ($categories && !is_wp_error($categories)) {
                        foreach ($categories as $category) {
                            $category_link = get_term_link($category);
                            echo '<a href="' . esc_url($category_link) . '">' . esc_html($category->name) . '</a>';
                            if ($counter < $total_categories) {
                                print ' <span>&#183;</span> ';
                            }
                            ++$counter;
                        }
                    }
                }
                ?>
            </div>


            <?php 
            $custom_field_values       = get_post_meta( $post->ID, 'wpstream_bundle_selection', true );
            $custom_field_values_array = explode( ',', $custom_field_values );
            $first_episode_link='';

            if(isset($custom_field_values_array[0])){
                $first_episode_link=get_permalink($custom_field_values_array[0]);
            }
            ?>


            <a href="<?php echo esc_html($first_episode_link); ?>" class="wpstream_collection_play_video_wrapper">
                <div class="wpstream_collection_play_video">
                <?php echo wpstream_theme_get_svg_icon('play2.svg');  ?>
                </div>
                <?php esc_html_e('Continue Watching','hello-wpstream'); ?>
            </a>



        </div>
    </div>



    <div class="wpstream_player_container">
        <?php
        global $wpstream_plugin;
        if (!empty($wpstream_plugin)) {
            $wpstream_plugin->main->wpstream_player->wpstream_video_on_demand_player_only_trailer($post->ID);
        }
        ?>
    </div>


    <!-- /.wpstream-player-details -->
</div>