Help with removing player but keep the thumbnail displayed

Can you please tell me if there’s a way to remove the player but keep the thumbnail displayed on the page, by modifying this line of code:

<video id="my-video<?php if ($pt->config->player_type == 'fluidPlayer' || $pt->config->player_type == 'plyr') { ?>_<?php echo $pt->get_video->id; ?><?php } ?>" <?php if ($pt->config->player_type == 'videojs') { ?> class="video-js" data-setup='' <?php } ?> controls <?php if (empty($pt->ad_image)) { ?> <?php } ?> style="width:100%; height:100%;position: relative;" poster="{{THUMBNAIL}}" >

If so, how?

I look forward to your comments.

That code makes little sense. So badly formed. Also, it check if something is empty and does nothing if it is. Do you want help setting it correct? Did you close this thread because you sorted it out?

Sponsor our Newsletter | Privacy Policy | Terms of Service