How to make youtube osclass plugin responsive

How to make youtube osclass plugin responsive

  1. Download youtube osclass plugin from here https://market.osclass.org/plugins/video-audio/youtube_40
  2. Upload youtube plugin to your osclass site ( oc-admin>> plugins>> add new )
  3. Go to your hostings cpanel/ file manager
  4. public_html/ oc-content/ plugins/ youtube/item_detail.php

editing this code

<?php if( isset($detail['s_id']) && !empty($detail['s_id']) ) { ?>
<div>
<h2 style="margin-top: 10px;"><?php _e('Youtube video', 'youtube') ; ?></h2>
<iframe type="text/html" width="425" height="344" src="https://www.youtube.com/embed/<?php echo $detail['s_id']; ?>" frameborder="0"></iframe>
</div>
<?php } ?>

 

replace with this code

DOWNLOAD CODE

Top