• Resolved maccready

    (@maccready)


    Hi All,

    I’m trying to display a short video clip and although on inspection the browser sees the video it does not display and when I click on ‘copy video link’ and paste in to a new tab I get a 404 error. Incredibly frustrating. The video is located in the main directory. It should play instantly.

    Basic code:

    <div class="fullscreen-video-wrap">
          <video id="my-video" preload="auto" autoplay loop="loop" muted="muted">
            <source src="video/summit-vid.mp4" type="video/mp4" />
          </video>
      </div>
    • This topic was modified 2 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @maccready

    If the video is located in the main directory of your website then you need to change your code. Your code indicates that the video file resides in a folder named “video”. It should be src=”summit-vid.mp4″. Alternatively you can put the full url of the video in the src parameter.

    Thread Starter maccready

    (@maccready)

    Thanks Tim,

    One of those days today. In the end I uploaded it via the media library and used the direct URL ??

    • This reply was modified 2 years, 6 months ago by maccready.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MP4 Videos.’ is closed to new replies.