вопрос
Здравствуйте уважаемые эксперты, у меня такая проблема при попытке вывести видео через доп. поле выдает либо просто ссылку, либо вообще пустоту. Пробовал разными способами но ни один не помог. Интересуют поля xfgiven_online1 xfgiven_online2 xfgiven_online3 xfgiven_trailer.
fullstory выглядит так:
fullstory выглядит так:
<div class="fullstory">
<h1 class="fstory-h1">
[not-group=5]<span class="fstory-favorites" title="Добавить в закладки">{favorites}</span>[/not-group]
[group=5]<span class="fstory-favorites" title="Добавить в закладки">
<a href="/index.php?do=register"><img src="{THEME}/dleimages/plus_fav.gif" alt="Закладки" /></a>
</span>[/group]
<b>{title}</b>
</h1>
[xfgiven_poster]
<div id="fstory-film" class="margin-b40 block-p">
<div class="row">
<div class="col-sm-4 col-xs-12 fstory-poster-in">
<div class="fstory-poster">
[xfvalue_poster]
[xfgiven_rip]
<span class="film-rip">[xfvalue_rip]</span>
[/xfgiven_rip]
</div>
<div class="clearfix"></div>
[xfgiven_trailer]
<button type="button" class="btn btn-trailer" data-toggle="modal" data-target="#trailer">
<i class="fa fa-video-camera"></i><b>Смотреть трейлер</b>
</button>
<div class="modal fade" id="trailer" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<div class="modal-body">
<div class="video-responsive">
[xfvalue_trailer]
</div>
</div>
</div>
</div>
</div>
[/xfgiven_trailer]
</div>
<div class="col-sm-8 col-xs-12">
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Название:</div>
<div class="finfo-text"><b>{title}</b></div>
</div>
</div>
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Рейтинг:</div>
<div class="finfo-text">
[rating]
[rating-type-1]{rating}[/rating-type-1]
[rating-type-2]
<ul class="ul-rating">
<li>{rating}</li>
<li>[rating-plus]<i class="fa fa-thumbs-o-up"></i>[/rating-plus]</li>
</ul>
[/rating-type-2]
[rating-type-3]
<ul class="ul-rating">
<li class="rating-plus">
[rating-plus]<i class="fa fa-thumbs-o-up"></i>[/rating-plus]
</li>
<li>{rating}</li>
<li class="rating-minus">
[rating-minus]<i class="fa fa-thumbs-o-down fa-flip-horizontal"></i>[/rating-minus]
</li>
</ul>
[/rating-type-3]
[/rating]
</div>
</div>
</div>
[xfgiven_year]
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Год, страна:</div>
<div class="finfo-text">[xfvalue_year]</div>
</div>
</div>
[/xfgiven_year]
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Жанр:</div>
<div class="finfo-text">{link-category}</div>
</div>
</div>
[xfgiven_editor]
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Режиссер:</div>
<div class="finfo-text">[xfvalue_editor]</div>
</div>
</div>
[/xfgiven_editor]
[xfgiven_staring]
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">В ролях:</div>
<div class="finfo-text">[xfvalue_staring]</div>
</div>
</div>
[/xfgiven_staring]
[xfgiven_time]
<div class="finfo">
<span class="finfo-line"></span>
<div class="finfo-block">
<div class="finfo-title">Время:</div>
<div class="finfo-text">[xfvalue_time]</div>
</div>
</div>
[/xfgiven_time]
</div>
</div>
</div>
[/xfgiven_poster]
<div class="fstory-content margin-b40 block-p">
{full-story}
<div class="clearfix"></div>
</div>
<div id="full-video">
[xfgiven_online1]
<ul id="navt" class="nav-tabs block-p" role="tablist">
<li class="active"><a href="#online1" role="tab" data-toggle="tab">Источник 1</a></li>
[xfgiven_online2]
<li><a href="#online2" role="tab" data-toggle="tab">Источник 2</a></li>
[/xfgiven_online2]
[xfgiven_online3]
<li><a href="#online3" role="tab" data-toggle="tab">Источник 3</a></li>
[/xfgiven_online3]
</ul>
[/xfgiven_online1]
[xfgiven_online1]
<div class="tab-content block-p">
<div class="tab-pane fade in active" id="online1">
<div class="video-responsive">
<iframe width="420" height="315" src="[xfvalue_online1]" frameborder="0" allowfullscreen></iframe>
</div>
</div>
[xfgiven_online2]
<div class="tab-pane fade" id="online2">
<div class="video-responsive">
[xfvalue_online2]
</div>
</div>
[/xfgiven_online2]
[xfgiven_online3]
<div class="tab-pane fade" id="online3">
<div class="video-responsive">
[xfvalue_online3]
</div>
</div>
[/xfgiven_online3]
</div>
[/xfgiven_online1]
</div>
{poll}
[tags]
<div class="fstory-tags block-m">
<p class="fstory-tags-text"><i class="fa fa-tags fa-lg"></i></p>
{tags}
</div>
[/tags]
[pages]<div class="margin-b20">{pages}</div>[/pages]
<div class="fstory-info block-p">
<div class="row">
<div class="col-sm-6 col-xs-12 fstory-info-left">
<ul class="ul-infoicon">
<li><a href="javascript:history.go(-1)"><i class="fa fa-arrow-circle-o-left"></i>Вернуться</a></li>
[not-group=5]
<li title="Сообщить об ошибке">[complaint]<i class="fa fa-exclamation-triangle fa-lg"></i>[/complaint]</li>
<li title="Редактировать">[edit]<i class="fa fa-align-justify fa-lg"></i>[/edit]</li>
[/not-group]
<li class="dropdown">
<a href="#fullstory-info" title="Инфлрмация к новости" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-user"></i>Инфо<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><i class="fa fa-calendar"></i>Дата - {date}</li>
<li><i class="fa fa-user"></i>Автор - {author}</li>
<li><i class="fa fa-eye"></i>Просмотры - {views}</li>
<li><i class="fa fa-comments-o"></i>Комментарии - {comments-num}</li>
</ul>
</li>
</ul>
</div>
<div class="col-sm-6 col-xs-12 fstory-info-right">
<script type="text/javascript" src="//yastatic.net/share/share.js" charset="utf-8"></script>
<div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="large" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div>
</div>
</div>
</div>
[related-news]
<div id="related-news" class="block-p margin-b20">
<div class="block-carousel">
<div class="owl-box">
<div id="owl-related" class="owl-carousel">
{related-news}
</div>
</div>
</div>
</div>
[/related-news]
<div class="radius-3 margin-b20 block-m">
Онлайн портал фильмов и сериалов ужасов
</div>
<div id="comment-news" class="margin-b20">
<div class="comment-news-line block-m">
<a class="btn" href="#" onclick="$('#addcform').toggle();return false;">
<i class="fa fa-envelope"></i><b>Оставить комментарий</b>
</a>
</div>
{addcomments}
<div class="block-m">
{comments}
{navigation}
</div>
</div>
</div>
.