HTML Plug-ins external programs या software components होते हैं जो browser के अंदर special content run करने के लिए use किए जाते थे।
इनका इस्तेमाल audio, video, animations और interactive content दिखाने के लिए किया जाता था।
HTML5 आने से पहले plug-ins का use बहुत common था।
Plug-ins की जरूरत क्यों पड़ती थी?
HTML के पुराने versions multimedia support नहीं करते थे
Advanced graphics और animations के लिए support नहीं था
Audio और video playback native नहीं था
इसलिए external plug-ins का use किया जाता था।
Common HTML Plug-ins
Adobe Flash Player
Java Applet
Microsoft Silverlight
QuickTime Player
RealPlayer
ये सभी browser में install होने वाले plug-ins थे।
embed Element
<embed> element plug-in content को embed करने के लिए use होता है।
<embed src="file.swf" width="400" height="300">
यह audio, video और flash files embed करने के लिए use किया जाता था।
object Element
<object> element भी external resources embed करने के लिए use होता है।
<object data="movie.swf" width="400" height="300"></object>
यह plug-ins के साथ documents जैसे PDF embed करने में भी use होता था।
applet Element
<applet> element Java Applets embed करने के लिए use होता था।
<applet code="MyApplet.class" width="300" height="200"></applet>
यह element अब completely deprecated है।
Plug-ins की Problems
Security risks बहुत ज्यादा थे
Extra installation की जरूरत पड़ती थी
Mobile browsers में support नहीं था
Performance issues होते थे
इन्हीं कारणों से plug-ins धीरे-धीरे obsolete हो गए।
HTML5 और Plug-ins
HTML5 ने plug-ins की dependency खत्म कर दी।
<video> audio और video के लिए<audio> sound के लिए<canvas> graphics और animations के लिए<svg> scalable graphics के लिए
अब external plug-ins की जरूरत नहीं रहती।
Modern Browsers और Plug-ins
Modern browsers plug-ins को support नहीं करते
Adobe Flash officially discontinued हो चुका है
Java Applets और Silverlight deprecated हैं
आज के web में plug-ins almost completely unused हैं।
Plug-ins vs HTML5
Plug-ins external software पर depend करते थे
HTML5 native browser support देता है
HTML5 ज्यादा secure और fast है
HTML5 mobile-friendly है
HTML Plug-ins Summary
HTML Plug-ins पुराने web का हिस्सा थे
Security और performance issues के कारण deprecated हो गए
HTML5 ने plug-ins को replace कर दिया
Modern web development में plug-ins का use नहीं होता
