background preloader

HTML5 Video

HTML5 Video

video + canvas = magic You’ve already learned about the <video> and <canvas> elements, but did you know that they were designed to be used together? In fact, the two elements are absolutely wondrous when you combine them! I’m going to show off a few super-simple demos using these two elements, which I hope will prompt cool future projects from you fellow web authors. First, the basics If you’re just starting with HTML5, you may not be familiar with the <video> element and how to use it. The <video> element contains two attributes: @controls and @loop. Then, inside the <video> element, we have three child <source> elements, each pointing to a different encoding of the same video. See this code in action, playing the intro to one of the greatest cartoon series of all time. (A note about fallback: all of these demos assume that your browser has <video> support, which isn’t true in IE8 or earlier. Now, a simple example Now that we know how to play a video, let’s mix in some <canvas> shenanigans. Done? <! },false);

Raphaël—JavaScript Library Formation en soirée Objet Direct : HTML5 ! Le 25 juin à Toulouse | Objet Direct Write once, run every … Smartphone Ou comment développer 1 application en HTML5 compatible avec la majorité des Smartphones. L’engouement actuel pour les Smartphones a conduit de nombreuses entreprises à développer des applications spécifiques pour l’iPhone, Android, BlackBerry, Windows Phone, Symbian, … Avec l’adoption massive par les navigateurs Web de HTML5 et de CSS3 d’une part, mais aussi du moteur WebKit d’autre part, il est possible aujourd’hui de n’investir que dans un seul développement. Alternative aux APIs propriétaires, HTML5 et CSS3 permettent néanmoins de construire des applications dont l’apparence est proche d’une application native. Les performances et l’intégration de fonctionnalités spécifiques aux smartphones sont aussi au rendez-vous. Nous commencerons cette formation par la découverte des principales APIs de HTML5. HTML5 versus un développement natif, L’avenir de HTML5. Vous allez : Informations et inscription* : afouquet[@]objetdirect.com

WebRTC L’infographie ultime sur le HTML 5 Le HTML 5 s’annonce depuis pas mal de temps comme l’une des technologies qui va permettre de multiplier encore plus les usages du Web. Si vous avez toujours voulu savoir en quoi consistait cette évolution sans jamais avoir osé le demander (bande de petits canaillous ! :-p), voici une très bonne infographie qui fait le point sur cette technologie en passe de changer nos habitudes en ligne : Si vous travaillez dans le Web, il va vraiment falloir s’y mettre ! Source et Image jQuery Ninja power: open-source HTML5 toolset aims to enable richer Web apps Modern HTML rendering engines and emerging standards make it possible to create a new class of rich experiences that could previously be achieved only with native development toolkits—but developers need better Web development frameworks and authoring tools in order to take advantage of the possibilities. Three new open-source software projects developed at Motorola Mobility hope to address the problem. We—Tim Statler, Zachary Cohen, and Kris Kowal—have had the pleasure of working on a new content creation tool called Ninja, a JavaScript development framework called Montage, and a testing automation tool called Screening. The Ninja authoring tool is a Google Chrome app for designing keyframe-based animation with HTML5, including 3D scenes and vector graphics. Montage bridges the gap between developing native applications and Web sites. Modularity is a key theme of the project. Ninja also creates high-quality markup and code that’s easily maintained outside of the tool. Workspace Layout

HTML5 Cross Browser Polyfills · Modernizr/Modernizr Wiki The No-Nonsense Guide to HTML5 Fallbacks So here we're collecting all the shims, fallbacks, and polyfills in order to implant HTML5 functionality in browsers that don't natively support them. The general idea is that: We, as developers, should be able to develop with the HTML5 APIs, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly. Looking to conditionally load these scripts (client-side), based on feature detects? svgweb by Brad Neuberg & others Fallback via FlashSnap.SVG from scratch by the author of Raphaël (Dmitry Baranovskiy) Abstracted API. FakeSmile by David Leunen Canvas Web Storage (LocalStorage and SessionStorage) Non HTML5 API Solutions ssw by Matthias Schäfer$.store by Rodney Rehmlawnchair by Brian Lerouxstore.js by Marcus WestinPersistJS by Paul DuncanSquirrel.js by Aaron GustafsonjStorage by Andris Reinman Video

20 canvas HTML5 pour vous inspirer Ah les canvas en HTML5 c'est vraiment sympa et le débat est toujours aussi animé entre l'utilisation de Flash et des canvas HTML5. Mais depuis qu'Adobe a annoncé se concentrer sur HTML5 au détriment de Flash, je pense qu'il est temps de voir quelques réalisations croustillantes de canvas HTML5 pour vous inspirer. L'utilisation des canvas a besoin de décoller car en ce moment il en est encore à son stade "trial" en raison de la limitation au niveau des navigateurs et le manque de ressources au niveau du code et des tutoriaux. Mais il ne demande qu'à grandir! HTML5 offre de grandes possibilités et de fonctionnalités avancées par rapport à ce que l'HTML est capable de faire. Dans la suite de cet article vous trouverez 20 canvas HTML5 avec des animations, des jeux et des outils

HTML5 : L'élément <datalist> Avec l'annonce d'HTML5, de grandes nouveautés accompagnent les formulaires. Ils peuvent enfin s'enrichir afin de s'adapter au plus près des nouveaux besoins. Ainsi l'élément <datalist> fait son entrée. Des suggestions de choix Inauguré avec la vague HTML5, <datalist> est un élément de formulaire permettant de lier une liste de choix à un élément input. Par défaut, <datalist> demeure invisible. Compatibilité navigateur de l'élément <datalist> Un navigateur ne supportant pas l'élément n'affichera aucune suggestion. Utilisation classique Dans la majorité des situations, il sera utile d'associer un champ d'entrée texte <input type="text"> à une liste de suggestions. <label for="choix_bieres">Indiquez votre bière préférée :</label><input list="bieres" type="text" id="choix_bieres"><datalist id="bieres"><option value="Meteor"><option value="Pils"><option value="Kronenbourg"><option value="Grimbergen"></datalist> Démonstration Aperçu sous Internet Explorer 10 Utilisation multiple Démonstration

Snap.svg - Why Snap Snap.svg is a brand new JavaScript library for working with SVG. Snap provides web developers with a clean, streamlined, intuitive, and powerful API for animating and manipulating both existing SVG content, and SVG content generated with Snap. Currently, the most popular library for working with SVG is Raphaël. One of the primary reasons Raphaël became the de facto standard is that it supports browsers all the way back to IE 6. However, supporting so many browsers means only being able to implement a common subset of SVG features. Snap was written entirely from scratch by the author of Raphaël (Dmitry Baranovskiy), and is designed specifically for modern browsers (IE9 and up, Safari, Chrome, Firefox, and Opera). Another unique feature of Snap is its ability to work with existing SVG. Finally, Snap supports animation. Snap is 100% free and 100% open-source (released under an Apache 2 license).

Related: