I need to display a video on the detailed product page, the link to which is specified when creating the product, the fact is that the videos are stored in the NAS. Directly passing the url I get an error, is there any way to display the video?
<div id="owl-images" class="owl-carousel owl-theme">
{% if object.video %}
<div class="item-video">
<a class="owl-video" href="{{ object.video }}"></a>
</div>
{% endif %}
{% for item in object.ObjectImagess if item %}
<a class="imagelightbox" title="" href="/images/objects/{{ object.id }}/{{ item.path }}" data-exthumbimage="/images/objects/{{ object.id }}/{{ item.path }}" data-sub-html="<h4>{{ object.typeName }} {{ object.title }}</h4><small>от</small><b>{{ object.priceMin|number_format(0,'.',' ') }}</b>{{ base.currency }}">
<div class="item text-center" style="background-image:url('/images/objects/{{ object.id }}/{{ item.path }}')"></div>
</a>
{% endfor %}
</div>
I tried to rewrite the regular expression specified in js owl but probably did it incorrectly