Your IP : 10.10.0.253


Current Path : /var/www/components/com_yendifvideoshare/views/ads/tmpl/
Upload File :
Current File : /var/www/components/com_yendifvideoshare/views/ads/tmpl/vmap.php

<?php
/**
 * @version    1.2.9
 * @package    Com_YendifVideoShare
 * @author     PluginsWare Interactive Pvt. Ltd <admin@yendifplayer.com>
 * @copyright  Copyright (c) 2012 - 2021 PluginsWare Interactive Pvt. Ltd. All Rights Reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

// Prevent direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>

<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">
  <?php if ( ! empty( $this->video->hasPreroll ) ) : ?>
    <vmap:AdBreak timeOffset="start" breakType="linear" breakId="preroll">
      <vmap:AdSource id="preroll-ad" allowMultipleAds="false" followRedirects="true">
        <vmap:AdTagURI templateType="vast3">
          <![CDATA[<?php echo JURI::root(); ?>index.php?option=com_yendifvideoshare&view=ads&task=vast&id=<?php echo $this->video->prerollId; ?>&format=xml]]>
        </vmap:AdTagURI>
      </vmap:AdSource>
    </vmap:AdBreak>
  <?php endif; ?>

  <?php if ( ! empty( $this->video->hasPostroll ) ) : ?>
    <vmap:AdBreak timeOffset="end" breakType="linear" breakId="postroll">
      <vmap:AdSource id="postroll-ad" allowMultipleAds="false" followRedirects="true">
        <vmap:AdTagURI templateType="vast3">
          <![CDATA[<?php echo JURI::root(); ?>index.php?option=com_yendifvideoshare&view=ads&task=vast&id=<?php echo $this->video->postrollId; ?>&format=xml]]>
        </vmap:AdTagURI>
      </vmap:AdSource>
    </vmap:AdBreak>
  <?php endif; ?>
</vmap:VMAP>