SlideShare a Scribd company logo
1 of 36
Download to read offline
<audio     <video
src=       src=       The url to the audio or video
           width=     The width of the video element
           height=    The height of the video element
           poster=    The url to the thumbnail of the video
preload=   preload=   (none, metadata, auto) Start downloading
autoplay   autoplay   Audio or video should play immediately
loop       loop       Audio or video should return to start and play
controls   controls   Will show controls (play, pause, scrub bar)
>          >
…          …
</audio>   </video>
!
    !                                                            *
*

                                       Chrome is removing support for H.264

        *   If WebM is installed   !   Microsoft released a H.264 Extension for Chrome on Windows 7
You Need More Than One
You Need Both Big & Small
Unlikely To Change Anytime Soon
<video controls>
<source src=hi-res.mp4 type=‘video/mp4;
   codecs="avc1.64001E, mp4a.40.2"’
   media="(min-device-width: 800px)">
<source src=lo-res.mp4 type=‘video/mp4;
   codecs="avc1.42E01E, mp4a.40.2"’>
<source src=hi-res.ogv type=‘video/ogg;
   codecs="theora, vorbis"’
   media="(min-device-width: 800px)">
<source src=lo-res.ogv type=‘video/ogg;
   codecs="theora, vorbis"’>
fall-back content only displayed by browsers that
do not support the <video> element
</video>
  Due to bug in iPhone/iPad iOS 3.x, mp4 should always be first
Encoding Optimizations
Offload Encoding to the Cloud
HTTP 1.1-compatible
web server




Seek Ahead
Bit Rate Throttling
Broadcast in HD Where Available




by Jo Christian Oterhals
Video Corruption – Dropped Frames
Are there encoding settings that we
can use to reduce corruption?
Baseline *                                                                          High
      Larger file                                    Main                            Smaller File
      Less CPU to Decode                                                             More CPU to Decode
      Quick to Encode                                                                Longer to Encode




baseline profile must be main profile compatible to support DirectX Video Acceleration
Typical Group Of Pictures
(GOP) structure
Styling with Canvas & CSS
Drawing with Canvas
Drawing with Canvas
   Hide the Video display a Canvas
  <div style="display:none">
     <video id="sourcevid" autoplay preload="auto" width="1920"
     onloadedmetadata="init()">
  </div>
  <canvas id="output" width="960" height="540"></canvas>
function init() {
       video = document.getElementById('sourcevid');
       var outputcanvas = document.getElementById('output');
       draw = outputcanvas.getContext('2d');
       setInterval("processFrame()", 33); // 30 fps
}

   30 times per second draw the cropped video onto canvas
function processFrame() {
       // manipulate image here cropping and scaling as needed
       draw.drawImage(video, cX, cY, w, h, 0, 0, w, h);
}
video {
  position: relative;
  border-radius:
  200px 50px 200px 50px;
  box-shadow:
  #244766 10px 10px 10px;
  transform: rotate(5deg)
  translate(15px,10px);
}
Styling Custom Controls
Custom Skinnable Players
 Media Element Methods
    play(), pause(), load(), canPlayType()

 Media Element Events

    video.addEventListener('play',
    function() {
      play.title = 'pause';
      play.innerHTML = 'ǁ';
    }, false);
Custom Controls
Going Full Screen
Going Full Screen
HTML5 Community Players
A Comparison of HTML5 Video Players
                                                      Flash
Name              Licence        JavaScript Library                iOS                    Full screen        Keyboard          Subtitles   easy to integrate easy to theme
                                                      fallback
Projekktor        GPL 3          jQuery               yes          yes                    noish              –                 –           yes              yes

FlareVideo        MIT            jQuery               yes          –                      yes*               play/ pause ***   –           yes              yes

Video JS          GPL 3          –                    yes          yes                    yes                –                 yes         yes              yes
JW Player         custom         –                    yes          yes                    yes                –                 –           yes              yes
Kaltura / Adobe   GPL 2          jQuery               yes          yes                    browser window     –                 –           yes              yes
html5media        GPL 3          –                    yes          yes                    yes*               –                 –           yes              –
jMediaelement     MIT            jQuery               yes          yes                    with plugin        yes               yes         yes              yes
OIPlayer          GPL 3          jQuery               yes          yes                    browser window     –                 –           noish            yes

HVideo            custom         jQuery               –            yes                    yes*               play/ pause ***   –           noish            yes

jQuery Video      ?              jQuery               –            –                      –                  –                 –           yes              –
Video for
                  CC             –                    yes          yes                    yes*               –                 –           yes              –
Everybody
Open Video
                  custom         jQuery               yes          yes                    browser window     –                 –           –                maybe
Player
HTML5 Video
                  ?              MooTools             –            yes                    –                  –                 –           yes              yes
Player
mediaelement.js   GPLv2 MIT      jQuery               yes          yes                    yes                –                 yes         yes              yes
SublimeVideo **   paid service                        yes          yes                    cmd/ctrl + click   –                 –           hell yes         –
Uppod.HTML5       ?              –                    includable   yes                    browser window     pause ***         –           yes              no
LeanBack          own            –                    yes          yes                    yes                yes               yes         yes              yes
Mooplay           GPL 3          MooTools             no           yes                    browser window     –                 yes         noish            yes
jPlayer           MIT and GPL    jQuery               yes          yes                    -                  –                 -           yes              yes

OSM Player        GPL 3          jQuery               yes          triple click to play   browser window     –                 –           hell no          –

             #videosws
A Selection of HTML5 Video Players
  Sublime Video – Player as a Service   mediaelement.js




  LeanBack Player – Keyboard Support    JW Player
5 Things You Need to Know to Start Using Video and Audio Today
5 Things You Need to Know to Start Using Video and Audio Today

More Related Content

Similar to 5 Things You Need to Know to Start Using Video and Audio Today

Html5 Open Video Tutorial
Html5 Open Video TutorialHtml5 Open Video Tutorial
Html5 Open Video TutorialSilvia Pfeiffer
 
Video Production Using Open Source Tools
Video Production Using Open Source ToolsVideo Production Using Open Source Tools
Video Production Using Open Source ToolsCrazed Mule
 
Building an HTML5 Video Player
Building an HTML5 Video PlayerBuilding an HTML5 Video Player
Building an HTML5 Video PlayerJim Jeffers
 
HTML5 Multimedia Accessibility
HTML5 Multimedia AccessibilityHTML5 Multimedia Accessibility
HTML5 Multimedia Accessibilitybrucelawson
 
Drupal Video Presentation
Drupal Video PresentationDrupal Video Presentation
Drupal Video PresentationEric Michalsen
 
Simple tricks to improve the performance of your site
Simple tricks to improve the performance of your siteSimple tricks to improve the performance of your site
Simple tricks to improve the performance of your siteMauricio Gelves
 
HTML Media: Where We Are & Where We Need To Go
HTML Media: Where We Are & Where We Need To GoHTML Media: Where We Are & Where We Need To Go
HTML Media: Where We Are & Where We Need To GoNigel Parker
 
Responsive browser-based video recording and playback
Responsive browser-based video recording and playbackResponsive browser-based video recording and playback
Responsive browser-based video recording and playbackOliver Friedmann
 
StoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep DiveStoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep Divestorycode
 
[1C5]Lessons from developing a web browser for raspberry pi
[1C5]Lessons from developing a web browser for raspberry pi[1C5]Lessons from developing a web browser for raspberry pi
[1C5]Lessons from developing a web browser for raspberry piNAVER D2
 
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012Patrick Lauke
 
Internet Archive Video Presentation
Internet Archive Video Presentation Internet Archive Video Presentation
Internet Archive Video Presentation tracey jaquith
 
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0Amir Zmora
 
HTML5 Video Presentation
HTML5 Video PresentationHTML5 Video Presentation
HTML5 Video Presentationsith33
 
WebRTC Live Q&A and Screen Capture session 3
WebRTC Live Q&A and Screen Capture session 3WebRTC Live Q&A and Screen Capture session 3
WebRTC Live Q&A and Screen Capture session 3Amir Zmora
 

Similar to 5 Things You Need to Know to Start Using Video and Audio Today (20)

Html5video
Html5videoHtml5video
Html5video
 
Video Meets Documentation
Video Meets DocumentationVideo Meets Documentation
Video Meets Documentation
 
Html5 Open Video Tutorial
Html5 Open Video TutorialHtml5 Open Video Tutorial
Html5 Open Video Tutorial
 
Video Production Using Open Source Tools
Video Production Using Open Source ToolsVideo Production Using Open Source Tools
Video Production Using Open Source Tools
 
Building an HTML5 Video Player
Building an HTML5 Video PlayerBuilding an HTML5 Video Player
Building an HTML5 Video Player
 
HTML5 Multimedia Accessibility
HTML5 Multimedia AccessibilityHTML5 Multimedia Accessibility
HTML5 Multimedia Accessibility
 
Php2pdf
Php2pdfPhp2pdf
Php2pdf
 
Drupal Video Presentation
Drupal Video PresentationDrupal Video Presentation
Drupal Video Presentation
 
Simple tricks to improve the performance of your site
Simple tricks to improve the performance of your siteSimple tricks to improve the performance of your site
Simple tricks to improve the performance of your site
 
HTML Media: Where We Are & Where We Need To Go
HTML Media: Where We Are & Where We Need To GoHTML Media: Where We Are & Where We Need To Go
HTML Media: Where We Are & Where We Need To Go
 
Responsive browser-based video recording and playback
Responsive browser-based video recording and playbackResponsive browser-based video recording and playback
Responsive browser-based video recording and playback
 
StoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep DiveStoryCode Immersion #5 - Popcorn.JS Deep Dive
StoryCode Immersion #5 - Popcorn.JS Deep Dive
 
JS Days Mobile Meow
JS Days Mobile MeowJS Days Mobile Meow
JS Days Mobile Meow
 
[1C5]Lessons from developing a web browser for raspberry pi
[1C5]Lessons from developing a web browser for raspberry pi[1C5]Lessons from developing a web browser for raspberry pi
[1C5]Lessons from developing a web browser for raspberry pi
 
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012
HTML5 multimedia - browser-native video and audio - JSDay / Verona / 17 May 2012
 
Internet Archive Video Presentation
Internet Archive Video Presentation Internet Archive Video Presentation
Internet Archive Video Presentation
 
HTML5 Audio & Video
HTML5 Audio & VideoHTML5 Audio & Video
HTML5 Audio & Video
 
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
 
HTML5 Video Presentation
HTML5 Video PresentationHTML5 Video Presentation
HTML5 Video Presentation
 
WebRTC Live Q&A and Screen Capture session 3
WebRTC Live Q&A and Screen Capture session 3WebRTC Live Q&A and Screen Capture session 3
WebRTC Live Q&A and Screen Capture session 3
 

Recently uploaded

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

5 Things You Need to Know to Start Using Video and Audio Today

  • 1.
  • 2.
  • 3.
  • 4. <audio <video src= src= The url to the audio or video width= The width of the video element height= The height of the video element poster= The url to the thumbnail of the video preload= preload= (none, metadata, auto) Start downloading autoplay autoplay Audio or video should play immediately loop loop Audio or video should return to start and play controls controls Will show controls (play, pause, scrub bar) > > … … </audio> </video>
  • 5.
  • 6.
  • 7.
  • 8. ! ! * * Chrome is removing support for H.264 * If WebM is installed ! Microsoft released a H.264 Extension for Chrome on Windows 7
  • 9. You Need More Than One
  • 10. You Need Both Big & Small
  • 11. Unlikely To Change Anytime Soon
  • 12. <video controls> <source src=hi-res.mp4 type=‘video/mp4; codecs="avc1.64001E, mp4a.40.2"’ media="(min-device-width: 800px)"> <source src=lo-res.mp4 type=‘video/mp4; codecs="avc1.42E01E, mp4a.40.2"’> <source src=hi-res.ogv type=‘video/ogg; codecs="theora, vorbis"’ media="(min-device-width: 800px)"> <source src=lo-res.ogv type=‘video/ogg; codecs="theora, vorbis"’> fall-back content only displayed by browsers that do not support the <video> element </video> Due to bug in iPhone/iPad iOS 3.x, mp4 should always be first
  • 14. Offload Encoding to the Cloud
  • 15. HTTP 1.1-compatible web server Seek Ahead Bit Rate Throttling
  • 16.
  • 17. Broadcast in HD Where Available by Jo Christian Oterhals
  • 18. Video Corruption – Dropped Frames
  • 19. Are there encoding settings that we can use to reduce corruption?
  • 20. Baseline * High Larger file Main Smaller File Less CPU to Decode More CPU to Decode Quick to Encode Longer to Encode baseline profile must be main profile compatible to support DirectX Video Acceleration
  • 21. Typical Group Of Pictures (GOP) structure
  • 24. Drawing with Canvas Hide the Video display a Canvas <div style="display:none"> <video id="sourcevid" autoplay preload="auto" width="1920" onloadedmetadata="init()"> </div> <canvas id="output" width="960" height="540"></canvas> function init() { video = document.getElementById('sourcevid'); var outputcanvas = document.getElementById('output'); draw = outputcanvas.getContext('2d'); setInterval("processFrame()", 33); // 30 fps } 30 times per second draw the cropped video onto canvas function processFrame() { // manipulate image here cropping and scaling as needed draw.drawImage(video, cX, cY, w, h, 0, 0, w, h); }
  • 25. video { position: relative; border-radius: 200px 50px 200px 50px; box-shadow: #244766 10px 10px 10px; transform: rotate(5deg) translate(15px,10px); }
  • 27.
  • 28. Custom Skinnable Players Media Element Methods play(), pause(), load(), canPlayType() Media Element Events video.addEventListener('play', function() { play.title = 'pause'; play.innerHTML = 'ǁ'; }, false);
  • 33. A Comparison of HTML5 Video Players Flash Name Licence JavaScript Library iOS Full screen Keyboard Subtitles easy to integrate easy to theme fallback Projekktor GPL 3 jQuery yes yes noish – – yes yes FlareVideo MIT jQuery yes – yes* play/ pause *** – yes yes Video JS GPL 3 – yes yes yes – yes yes yes JW Player custom – yes yes yes – – yes yes Kaltura / Adobe GPL 2 jQuery yes yes browser window – – yes yes html5media GPL 3 – yes yes yes* – – yes – jMediaelement MIT jQuery yes yes with plugin yes yes yes yes OIPlayer GPL 3 jQuery yes yes browser window – – noish yes HVideo custom jQuery – yes yes* play/ pause *** – noish yes jQuery Video ? jQuery – – – – – yes – Video for CC – yes yes yes* – – yes – Everybody Open Video custom jQuery yes yes browser window – – – maybe Player HTML5 Video ? MooTools – yes – – – yes yes Player mediaelement.js GPLv2 MIT jQuery yes yes yes – yes yes yes SublimeVideo ** paid service yes yes cmd/ctrl + click – – hell yes – Uppod.HTML5 ? – includable yes browser window pause *** – yes no LeanBack own – yes yes yes yes yes yes yes Mooplay GPL 3 MooTools no yes browser window – yes noish yes jPlayer MIT and GPL jQuery yes yes - – - yes yes OSM Player GPL 3 jQuery yes triple click to play browser window – – hell no – #videosws
  • 34. A Selection of HTML5 Video Players Sublime Video – Player as a Service mediaelement.js LeanBack Player – Keyboard Support JW Player