Jump to content

[HTML5] - Video


FiRE
 Share

Recommended Posts

Î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 by FiRE
Link to comment
Share on other sites

  • FiRE locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.