Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inserting video on webpages

What possibilities are there for inserting and showing videos on a webpage that

  • don't require additional plugins or installations from the user and
  • can be used for other than the .flv format (.f4v, .avi e.g.)

At SO I found a few questions like this: stackoverflow.com[...], but they are only about .flv-players. Is that because there is nothing else?

I know there are many, many formats and no tool can handle them all. But is it at all possible to show any other than .flv formats without extra plugins? I have never found any.

Thank you.

like image 526
Steeven Avatar asked Jun 23 '26 21:06

Steeven


1 Answers

Most latest technology is HTML5 with <video> tag

The <video> tag specifies video, such as a movie clip or other video streams.

<video width="320" height="240" controls="controls">
  <source src="movie.ogg" type="video/ogg" />
  <source src="movie.mp4" type="video/mp4" />
  Your browser does not support the video tag.
</video>

Documentation

Now most of the browsers supports HTML5 so no worry of using + don't require additional plugins or installations

like image 56
Graig Peru Avatar answered Jun 28 '26 09:06

Graig Peru



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!