Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/domains/alsaif.group/public_html/components/com_allvideoshare/views/ads/tmpl/ |
<?php
/*
* @version $Id: default.php 3.5.0 2020-02-21 $
* @package All Video Share
* @copyright Copyright (C) 2012-2020 MrVinoth
* @license GNU/GPL http://www.gnu.org/licenses/gpl-2.0.html
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$lang = JFactory::getLanguage();
$locales = $lang->getLocale();
?>
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">
<?php if ( ! empty( $this->player->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_allvideoshare&view=ads&task=vast&id=<?php echo $this->player->prerollId; ?>&format=xml&lang=<?php echo $locales[4]; ?> ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<?php endif; ?>
<?php if ( ! empty( $this->player->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_allvideoshare&view=ads&task=vast&id=<?php echo $this->player->postrollId; ?>&format=xml&lang=<?php echo $locales[4]; ?> ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<?php endif; ?>
</vmap:VMAP>