-2

when i play a video on website.It continuously shows buffering.

Here is the code I am using:

<video autoplay="" class="video" loop="" muted="">
  <source src="/assets/video/Newport-beach-video.mp4" type="video/mp4" /> 
  Your browser does not support video.
</video>

is there a way to load video fast? or stop buffering?

Swati
  • 29
  • 10

2 Answers2

0

Please try this https://jsfiddle.net/dxb89n9j/ if its not work as per your requirements ping me

 <video  autoplay="" class="video" loop="" muted=""> 
      <source src=http://techslides.com/demos/sample-videos/small.webm type=video/webm> 
      <source src=http://techslides.com/demos/sample-videos/small.ogv type=video/ogg> 
      <source src=http://techslides.com/demos/sample-videos/small.mp4 type=video/mp4>
      <source src=http://techslides.com/demos/sample-videos/small.3gp type=video/3gp>
    </video>
0

Here are some optimizing techniques for Video.

  • If Video is very large, try to re-encode it and use video with smaller bit rate
  • Try to reduce audio bitrate, Remove Audio channel or Use mono channel
Tushar Vaghela
  • 1,203
  • 1
  • 17
  • 25