I
I
Irina Shvaiko2017-01-24 08:08:28
PHP
Irina Shvaiko, 2017-01-24 08:08:28

How to display a video on a page that is written in code?

After the transformations on the site omiclinic.ru , the video on the main page was no longer displayed.
It is written in the code, uploaded on the hosting.
What and where to correct?
so it is written in the Page Template "Homepage" (homepage.php
9442273d59354945af111750ecd23d51.png

<div class="video_blok">
  <video src="business.mp4" controls></video>
</div>

so it is written in Theme Header (header.php
646c5dbe7d634937be74818c4f4c5716.png
<!--SLIDERS RIGHT-->
<div class="home_page_slader">
  <!-- Slader (+) -->
<?php $slider = new WP_Query(array('post_type' => 'slides', 'order' => 'ASC')) ?>
<?php if ( $slider->have_posts() ) : ?>
    <div class="page_slader">
          <div class="owl-carousel">
          <?php while ( $slider->have_posts() ) : $slider->the_post(); ?>
  <div class="item_slader"><a href="<?php the_field( 'ссылка' ); ?>"><?php the_post_thumbnail('full'); ?></a></div>
  <?php endwhile; ?>
</div>               
   </div>
<?php else: ?>
  <div><h3>Место для слайдера</h3></div>
<?php endif; ?>
<!-- Slader (-) -->
</div>	
<div class="slid">
<!--SLIDERS END-->

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Irina Shvaiko, 2017-01-24
@Ioasafa

that is, this is a question for those hosting support?

R
riot26, 2017-01-24
@riot26

Video not uploaded / uploaded in the wrong place / something wrong in htaccess
At omiclinic.ru/business.mp4 404 error

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question