Sunday, April 12, 2020

HTML : Working with MULTIMEDIA - Audio & Video - HINDI


HTML में MULTIMEDIA का उपयोग करना :

हम अपने web pages को और अधिक आकर्षक बनाने के लिये multimedia items का उपयोग करते हैं | हम अपने web pages में multimedia items को insert (या add) कर सकते हैं | Image, Sound, Moving Pictures, Animated objects, Video clips, आदि को Multimedia items कहा जाता है | यहाँ हम विभिन्न Audio और Video फार्मेट्स के बारे में अध्ययन करेंगे |

SOUND/AUDIO FORMATS
Type
Specification
.WAV
By Microsoft & IBM
.MPEG
Moving Pictures Experts Group (also called MPG)
.MP3
Moving Pictures version 3
.MIDI
Musical Instrument Digital Interface
.AIFF
Audio Interchange File Format by Apple Computer
.SND
Short form of Sound by Macintosh, Apple computer
.AU
Short form of Audio


VIDEO FORMAT
Type
Specification
.AVI
Audio Video Interleave
.MPEG
Moving Pictures Experts Group (also called MPG)
.MP4
Moving Pictures version 4
.DAT
Digital Audio Tap
.MKV
Matroska Video - an open source video format
.3GP
Third Generation Partnership Project (3GPP)
QUICKTIME
By Apple computer for Macintosh
Shockwave
Macromedia Director

~ ~ ~ ~ ~ ~ ~ * ~ ~ ~ ~ ~ ~ ~


<BGSOUND> Tag: इस टैग का उपयोग webpage में बैकग्राउंड (background) साउंड देने के लिए किया जाता है | Sound का format .AU, .WAV, .MP3, आदि में से कुछ भी हो सकता है | इसमें केंवल Start टैग की आवश्यकता होती है तथा इसे सभी web browsers के द्वारा सपोर्ट किया जाता है |

Attribute
Specification and Value
SRC
साउंड फाइल का नाम एवं पाथ (एड्रेस) सेट करने हेतु
LOOP
कितने बार साउंड प्ले करना है, यह बताने हेतु (By default infinite loop)


Example: We can select a sound file as available in our computer with an appropriate path.
<HTML>
<HEAD>
<TITLE>Working with Multimedia </TITLE>
</HEAD>

<BODY BGCOLOR=“AQUA” TEXT=“GREEN”>
<H1> Background Sound</H1>
<BGSOUND SRC=“MySong.MP3”>
</BODY>
</HTML>
~ ~ ~ ~ ~ ~ ~ * ~ ~ ~ ~ ~ ~ ~


<EMBED> Tag: इस टैग का उपयोग मल्टीमीडिया Sound और Video को play करने के लिए किया जाता है | यह एक full कंट्रोल media player प्रदर्शित करता है जिसमे एक सामान्य मीडिया प्लेयर की तरह play, pause, stop, आदि गुण होते हैं | इसमें केंवल Start टैग की आवश्यकता होती है तथा इसे सभी web browsers के द्वारा सपोर्ट किया जाता है |

Attribute
Specification and Value
SRC
साउंड या विडियो फाइल का नाम एवं पाथ (एड्रेस) बताने हेतु
HEIGHT/WIDTH
Player का Height/Width को pixels में बताने हेतु
ALIGN
Left, Right, Center
HIDDEN
TRUE / FALSE


Example: We can select a sound file as available in our computer with an appropriate path.
<HTML>
          <HEAD><TITLE> Working with Multimedia </TITLE></HEAD>

          <BODY BGCOLOR=“AQUA” TEXT=“GREEN”>
                    <EMBED SRC=“MySong.MP3” Height=“200” width=“300”> <BR>

                   <EMBED SRC=“Comedy.mpg”>
          </BODY>
</HTML>
~ ~ ~ ~ ~ ~ ~ * ~ ~ ~ ~ ~ ~ ~


Inline Video: किसी विडियो को play करने के लिए <IMG> tag के “DYNSRC” attribute का भी उपयोग किया जाता है , परन्तु यह एक मीडिया प्लेयर का पूर्ण कन्ट्रोल नहीं देता | इसमें केंवल Start टैग की आवश्यकता होती है तथा इसे सभी web browsers के द्वारा सपोर्ट किया जाता है |

Example: <IMG   DYNSRC =“C:\Videos\Comedy.MPG”>

~ ~ ~ ~ ~ ~ ~ * ~ ~ ~ ~ ~ ~ ~

Video Link:

 


No comments:

Post a Comment