skip to Main Content

What could be the reason: when installing a banner, the video is not imported; when importing it, it does not even show only pictures, although it is present in the images folder

I tried changing the format to MP4 but it didn’t help.

2

Answers


  1. Well, you can’t directly import videos in javascript, but you can embed the video using html5 tag. Here you can see more details about the video tag and how to use it. (https://www.w3schools.com/html/html5_video.asp)

    Login or Signup to reply.
  2. You can embed the video using html5 tag.
    like this

    <video width="320" height="240" controls>
       <source src="movie.mp4" type="video/mp4">
       <source src="movie.ogg" type="video/ogg">
        Your browser does not support the this tag.
    </video>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search