FiRE Posted July 6, 2017 Share Posted July 6, 2017 (edited) Înainte de HTML5, un video ar putea fi redat doar într-un browser cu un plug-in cum ar fi flash. HTML5 <video> element specifică un mod standard de a încorpora un video într-o pagină web. <video width="320" height="240" autoplay> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> Pentru a porni un video direct (autoplay) fără a folosi butoane sau alt ceva poate fi folosit atributul AutoPlay <video width="320" height="240" autoplay> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> Sursa. Edited July 6, 2017 by FiRE 1 Link to comment Share on other sites More sharing options...
Recommended Posts