javascript - For slower connection user i want replace video tag with an image tag -


i have placed video in webpage video large in size, load low internet speed connection user.

for high internet speed users, video played , low internet speed users, image displayed instead of video(video not played low internet speed user)

guys can u please me out of this

guys possible r not....!

you can use poster attribute in video tag in meanwhile video getting downloaded.

<video controls poster="/images/w3html5.gif">   <source src="movie.mp4" type="video/mp4">   <source src="movie.ogg" type="video/ogg">   browser not support video tag. </video> 

else if want replace video image change video tag img tag :)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -