Μέσα Multimedias HTML
- Προηγούμενη Σελίδα Canvas HTML5 vs SVG
- Επόμενη Σελίδα Αντικείμενα HTML
Multimedia on the Web refers to sound, music, video, and animation.
Modern web browsers support many multimedia formats.
What is multimedia?
Multimedia comes in many different formats. It can be anything you hear or see, text, images, music, sound effects, recordings, movies, animations, and so on.
On the Internet, you will often find multimedia elements embedded in web pages, and modern browsers support a variety of multimedia formats.
In this tutorial, you will learn about different multimedia formats and how to use them on your web pages.
Browser support
The first Internet browser only supported text, and even the support for text was limited to a single font and color. Later, browsers that supported color, font, and text styles were born, and image support was also added.
Different browsers handle support for sound, animation, and video in different ways. Some elements can be handled inline, while others require additional plugins.
You will learn more about plugins in the following chapters.
Multimedia format
Multimedia elements (such as videos and audio) are stored in media files.
The most common way to determine the media type is to check the file extension. When the browser receives the file extension .htm or .html, it assumes that the file is an HTML page. The .xml extension indicates an XML file, and the .css extension indicates a stylesheet. Image formats are identified by .gif or .jpg.
Multimedia elements also have file formats with different extensions, such as .swf, .wmv, .mp3, and .mp4.
Video format
The MP4 format is a new and soon-to-be-popular Internet video format. HTML5, Flash players, and video websites like Youku all support it.
formaton | arxei | apodeikseis |
---|---|---|
AVI | .avi | The AVI (Audio Video Interleave) format is developed by Microsoft. All computers running Windows support the AVI format. It is a very common format on the Internet, but non-Windows computers do not always support it. |
WMV | .wmv | The Windows Media format is developed by Microsoft. Windows Media is very common on the Internet, but it cannot be played without installing additional (free) components. Some later Windows Media movies cannot be played on all non-Windows computers because there is no suitable player. |
MPEG |
|
O MPEG (Moving Pictures Expert Group) formaton einai ena koinon formaton gia ton Internet. To einai koinon, ginetai na sunepsetai gia tous dyoysia plironetika proklimata. |
QuickTime | .mov | O QuickTime formaton ginetai gia tis Apple Company. O QuickTime einai ena koinon formaton gia ton Internet, alla ta QuickTime kina kai me ta Windows komputers kai me ta dyoysia komponentes (kai me megali sygkekrimenon). |
RealVideo |
|
O RealVideo formaton ginetai gia ton Internet gia tis Real Media. O formatos estei na podwsei video stream me mikron diasthma diadromis (online video, internet television). Gia tos mikron diasthma diadromis, kai megalon, to kalos ginetai na dimiourgei. |
Flash |
|
O Flash (Shockwave) formaton ginetai gia tos Macromedia. O Shockwave formaton xreiastei ekserikia komponentes gia na podwsei. De, ta komponentes einai proepistaseis ston Firefox kai ta IE kai ta dyoysia proklimata. |
Mpeg-4 | .mp4 | O Mpeg-4 (me H.264 video kompression) einai ena neos formaton gia ton Internet. En tois praktikes, o YouTube sunepseis na xrisimopoieitai MP4. O YouTube sunepseis ta dyoysia formaton, kai ta panta mepoies ena .flv kai .mp4 gia diadromi. Osi kai tos mousikes arxeis, kai megalon, ginetai na kateihteoun ston MP4, gia ena formaton diadromis kai diakrisis ton Internet, gia Flash players kai HTML5. |
mousikes arxeis
formaton | arxei | apodeikseis |
---|---|---|
MIDI |
|
O MIDI (Musical Instrument Digital Interface) einai ena formaton gia tis elektronikes mousikes einaikes (pou kai ta synthesia kai ta sound cards). O MIDI arxei me mousikes, alla kai me tis diathesimes digitalies mousikes eneikes (pou kai ta sound cards) kai ginetai na podwsei. Klikas mono na pleyeis ta The Beatles. Odi ton formaton MIDI, opos kai tos eneiches proiontes, ginetai megalos mikro. Osi kai o paradeigma enei 23k, de ginetai na dimiourgei pros ton 5 lepta. O MIDI ginei allousketai ston polin platon kai megalon software. Osi kai ta dyoysia plironetika proklimata, kai megalon, ginetai na ta podwsei. |
RealAudio |
|
Μορφή RealAudio αναπτύχθηκε από το Real Media για το Διαδίκτυο. Η μορφή αυτή υποστηρίζει και βίντεο. Η μορφή αυτή επιτρέπει την ροή ήχου σε χαμηλή πλάτη σύνδεσης (μουσική διαδικτύου, μουσική δικτύου). Ως χαμηλή πλάτη σύνδεσης προτιμάται, η ποιότητα συχνά μειώνεται. |
Wave | .wav | Μορφή Wave (waveform) αναπτύχθηκε από την IBM και την Microsoft. Όλα τα υπολογιστικά συστήματα που εκτελούν το Windows και όλοι οι περιηγητές δικτύου (εκτός από τον Google Chrome) υποστηρίζουν την. |
WMA | .wma | Μορφή WMA (Windows Media Audio), με καλύτερη ποιότητα από το MP3, είναι συμβατή με τους περισσότερους αναπαραγωγείς, εκτός από το iPod. Τα αρχεία WMA μπορούν να μεταφέρονται ως συνεχής ροή δεδομένων, κάτι που το καθιστά πολύ χρήσιμο για ραδιόφωνο διαδικτύου ή μουσική διαδικτύου. |
MP3 |
|
Τα αρχεία MP3 είναι η φωνητική πλευρά των αρχείων MPEG. Ο μορφές MPEG αναπτύχθηκε αρχικά από το ομάδα της εικόνας κινήσεων. Το MP3 είναι η πιο δημοφιλής φωνητική μορφή για μουσική. Αναμένεται ότι τα μελλοντικά συστήματα λογισμικού θα το υποστηρίζουν. |
Ποια μορφή να χρησιμοποιήσετε;
Το WAVE είναι το πιο δημοφιλές στο ΔιαδίκτυοΧωρίς ΚομμάτιαΜορφή Ήχου, όλα τα δημοφιλή περιηγητές υποστηρίζουν την. Αν χρειάζεστε μη συμπιεσμένο ήχο (μουσική ή ομιλία), θα πρέπει να χρησιμοποιήσετε τη μορφή WAVE.
Το MP3 είναι το πιο πρόσφατοΚομμάτιαΜορφή Ήχου Εκτελεσμένης Μουσικής. Ο όρος MP3 έχει γίνει ο συνηθισμένος όρος για τη ψηφιακή μουσική. Αν η διεύθυνση του ιστότοπού σας ασχολείται με την εκτελεσμένη μουσική, τότε το MP3 είναι μια επιλογή.
- Προηγούμενη Σελίδα Canvas HTML5 vs SVG
- Επόμενη Σελίδα Αντικείμενα HTML