[Day Nine]
HTML Video, HTML Audio,
HTML Plug-ins, HTML
YouTube
Course: Web Design and Develop
Date: 2017/05/22
Lecturer: Mohammad Rafi Haidari
Last Lesson Conclusion!
• What does API stands for?
• Talk about HTML Geolocation
• Talk about HTML Drag and Drop
• Talk about HTML Local Storage
• Talk about HTML Web Workers
• Talk about HTML SSE
HTML Multimedia
Multimedia comes in many different formats. It can
be almost anything you can hear or see.
Examples: Images, music, sound, videos, records,
films, animations, and more.
Web pages often contain multimedia elements of
different types and formats.
Browser Support
The first web browsers had support for text only,
limited to a single font in a single color.
Later came browsers with support for colors and
fonts, and images!
HTML5 Video
Before HTML5, a video could only be played in a
browser with a plug-in (like flash).
The HTML5 <video> element specifies a standard
way to embed a video in a web page.
<video width="320" height="240“ autoplay
controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
HTML5 Audio
Before HTML5, audio files could only be played in a
browser with a plug-in (like flash).
The HTML5 <audio> element specifies a standard
way to embed audio in a web page.
To play an audio file in HTML, use
the <audio> element:
<audio autoplay controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
HTML Plug-ins
The purpose of a plug-in is to extend the functionality
of a web browser.
The <object> Element
<object width="400" height="50" data="bookmark.swf"></object>
<object width="100%" height="500px" data="snippet.html"></object>
The <embed> Element
<embed width="400" height="50" src="bookmark.swf">
<embed width="100%" height="500px" src="snippet.html">
HTML YouTube Videos
The easiest way to play videos in HTML, is to use
YouTube.
<iframe width="420" height="315"
src="https://www.youtube.com/embed/XGSy3_Czz8k?autoplay=1">
</iframe>
<object width="420" height="315"
data="https://www.youtube.com/embed/XGSy3_Czz8k">
</object>
Using iFrame (recommended)
<embed width="420" height="315"
src="https://www.youtube.com/embed/XGSy3_Czz8k">
Using <object> (deprecated)
Using <embed> (deprecated)
Lesson Conclusion Game!
• What are Multimedia?
• The first web browsers had support multiple fonts
and colors
• Tags and attributes for inserting Videos in HTML
• Tags and attributes for inserting Audios in HTML
• What are plugins in HTML?
• How to insert videos fro Youtube?
Question?
Thank you!

More Related Content

PPTX
Introduction to Webcomponents
PDF
Beginner's Guide to WordPress For Noncoders
PPT
WordCamp Boston 2012 - Creating Content With Shortcodes
KEY
All About WordPress
PDF
Wordpress website development workshop by Seham Abdlnaeem
PDF
Website Using WordPress
KEY
Theming websites effortlessly with Deliverance (CMSExpo 2010)
PPTX
Website using word press
Introduction to Webcomponents
Beginner's Guide to WordPress For Noncoders
WordCamp Boston 2012 - Creating Content With Shortcodes
All About WordPress
Wordpress website development workshop by Seham Abdlnaeem
Website Using WordPress
Theming websites effortlessly with Deliverance (CMSExpo 2010)
Website using word press

What's hot (8)

PDF
WordPress 101 Sunday Session
DOCX
link ke Http
PPTX
A word press site even your mother can use
PPTX
Word press 101
PPTX
Video Seo Essentials 2011
PPTX
WordPress
PPTX
Wordpress Shortcode
PPTX
WordPress Workshop
WordPress 101 Sunday Session
link ke Http
A word press site even your mother can use
Word press 101
Video Seo Essentials 2011
WordPress
Wordpress Shortcode
WordPress Workshop

Similar to Lecture9 web design and development (20)

PPTX
Html audio video
PPTX
Use of Multimedia tag in HTML using exmples
PPTX
HTML Multimedia.pptx
PPTX
HTML Media
PPTX
Html media
PPTX
Replacing flash with HTML5 and CSS3
PPTX
Html multimedia
PPTX
HTML 5: Audio And Video
PDF
PPT
Chapter 11 - Web Design
PDF
HTML5 Multimedia: where we are, where we're going
PPTX
KEY
Looking into HTML5 + CSS3
PDF
Basics of HTML5 for Phonegap
PPT
Httml flash
PPT
Intro to HTML5 audio tag
PDF
HTML5 multimedia - where we are, where we're going
PPT
HTML5 video & Amazon elastic transcoder - FCIP August 2014
PPT
HTML5 Presentation
PPTX
HTML5 - Audio/Video Encoding
Html audio video
Use of Multimedia tag in HTML using exmples
HTML Multimedia.pptx
HTML Media
Html media
Replacing flash with HTML5 and CSS3
Html multimedia
HTML 5: Audio And Video
Chapter 11 - Web Design
HTML5 Multimedia: where we are, where we're going
Looking into HTML5 + CSS3
Basics of HTML5 for Phonegap
Httml flash
Intro to HTML5 audio tag
HTML5 multimedia - where we are, where we're going
HTML5 video & Amazon elastic transcoder - FCIP August 2014
HTML5 Presentation
HTML5 - Audio/Video Encoding

More from Rafi Haidari (17)

PPTX
Lecture8 web design and development
PPTX
Lecture7 web design and development
PPTX
Lecture6 web design and development
PPTX
Lecture5 web design and development
PPTX
Lecture4 web design and development
PPTX
Lecture3 web design and development
PPTX
Lecture2 web design and development
PPTX
Lecture1 Web Design and Development
PDF
Bootstrap day3
PDF
Bootstrap day2
PDF
Bootstrap day1
PPTX
CSS_Day_ONE (W3schools)
PPTX
CSS_Day_Two (W3schools)
PPTX
CSS_Day_Three (W3schools)
PPTX
Html_Day_One (W3Schools)
PPTX
Html_Day_Three(W3Schools)
PPTX
HTML_Day_Two(W3Schools)
Lecture8 web design and development
Lecture7 web design and development
Lecture6 web design and development
Lecture5 web design and development
Lecture4 web design and development
Lecture3 web design and development
Lecture2 web design and development
Lecture1 Web Design and Development
Bootstrap day3
Bootstrap day2
Bootstrap day1
CSS_Day_ONE (W3schools)
CSS_Day_Two (W3schools)
CSS_Day_Three (W3schools)
Html_Day_One (W3Schools)
Html_Day_Three(W3Schools)
HTML_Day_Two(W3Schools)

Recently uploaded (20)

PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PPTX
CRM(Customer Relationship Managmnet) Presentation
PDF
Human Computer Interaction Miterm Lesson
PPTX
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
PDF
TicketRoot: Event Tech Solutions Deck 2025
PDF
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
PDF
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
PDF
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
PDF
Decision Optimization - From Theory to Practice
PDF
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
PDF
NewMind AI Journal Monthly Chronicles - August 2025
PPTX
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PPTX
Information-Technology-in-Human-Society.pptx
PDF
Altius execution marketplace concept.pdf
PDF
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
PDF
Revolutionizing recommendations a survey: a comprehensive exploration of mode...
PDF
Optimizing bioinformatics applications: a novel approach with human protein d...
PDF
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
CRM(Customer Relationship Managmnet) Presentation
Human Computer Interaction Miterm Lesson
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
TicketRoot: Event Tech Solutions Deck 2025
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
Decision Optimization - From Theory to Practice
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
NewMind AI Journal Monthly Chronicles - August 2025
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Information-Technology-in-Human-Society.pptx
Altius execution marketplace concept.pdf
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
Revolutionizing recommendations a survey: a comprehensive exploration of mode...
Optimizing bioinformatics applications: a novel approach with human protein d...
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER

Lecture9 web design and development

  • 1. [Day Nine] HTML Video, HTML Audio, HTML Plug-ins, HTML YouTube Course: Web Design and Develop Date: 2017/05/22 Lecturer: Mohammad Rafi Haidari
  • 2. Last Lesson Conclusion! • What does API stands for? • Talk about HTML Geolocation • Talk about HTML Drag and Drop • Talk about HTML Local Storage • Talk about HTML Web Workers • Talk about HTML SSE
  • 3. HTML Multimedia Multimedia comes in many different formats. It can be almost anything you can hear or see. Examples: Images, music, sound, videos, records, films, animations, and more. Web pages often contain multimedia elements of different types and formats.
  • 4. Browser Support The first web browsers had support for text only, limited to a single font in a single color. Later came browsers with support for colors and fonts, and images!
  • 5. HTML5 Video Before HTML5, a video could only be played in a browser with a plug-in (like flash). The HTML5 <video> element specifies a standard way to embed a video in a web page. <video width="320" height="240“ autoplay controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
  • 6. HTML5 Audio Before HTML5, audio files could only be played in a browser with a plug-in (like flash). The HTML5 <audio> element specifies a standard way to embed audio in a web page. To play an audio file in HTML, use the <audio> element: <audio autoplay controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>
  • 7. HTML Plug-ins The purpose of a plug-in is to extend the functionality of a web browser. The <object> Element <object width="400" height="50" data="bookmark.swf"></object> <object width="100%" height="500px" data="snippet.html"></object> The <embed> Element <embed width="400" height="50" src="bookmark.swf"> <embed width="100%" height="500px" src="snippet.html">
  • 8. HTML YouTube Videos The easiest way to play videos in HTML, is to use YouTube. <iframe width="420" height="315" src="https://www.youtube.com/embed/XGSy3_Czz8k?autoplay=1"> </iframe> <object width="420" height="315" data="https://www.youtube.com/embed/XGSy3_Czz8k"> </object> Using iFrame (recommended) <embed width="420" height="315" src="https://www.youtube.com/embed/XGSy3_Czz8k"> Using <object> (deprecated) Using <embed> (deprecated)
  • 9. Lesson Conclusion Game! • What are Multimedia? • The first web browsers had support multiple fonts and colors • Tags and attributes for inserting Videos in HTML • Tags and attributes for inserting Audios in HTML • What are plugins in HTML? • How to insert videos fro Youtube?