HTML5 dessin et video

HTML5 ouvre de nouvelles perspectives pour dessiner directement en HTML et pour insérer une vidéo.
Voici un exemple de page HTML5 combinant un dessin et une vidéo superposée.

Le nouvel élément CANVAS de HTML5 :

<canvas id="DrawingArea"></canvas>

Avec un javascript on viendra écrire dans ce canvas

Pour la vidéo ce sera très simple :


<source src="video.ogv" type='video/ogg; codecs="theora, vorbis"'>

<source src="video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> </video>

Pour l’instant Firefox 3.5 reconnait le codec Ogg Theora, Chrome et Safari savent lire le mp4 . On peut mettre donc les deux formats, le navigateur choisira. Explorer, bien sûr ne sait pas lire le HTML5, à moins que vous ayez installé le plugin Google Chrome Frame

Voici un test en HTML5 : video Rihanna
Don’t Stop The Music
ici L’effet est psychédélique digne de Jean Christophe Averty (bon anfin presque …une vidéo du maitre pour comparer) :

Histoire De Melody Nelson Par Jean-Christophe Averty (1971)

et on peut twitter en HTML5 aussi avec mirTwit exemple ici

  1. yeezy shoes

    I and my guys were actually going through the great recommendations found on your site and unexpectedly I got an awful feeling I never thanked you for those secrets. Most of the women became for this reason thrilled to see them and already have undoubtedly been having fun with these things. Many thanks for truly being quite accommodating as well as for selecting certain fantastic useful guides millions of individuals are really wanting to learn about. My personal sincere regret for not expressing appreciation to you earlier.

  2. nike off whtie

    I would like to show my gratitude for your generosity for visitors who really want guidance on this important area. Your real commitment to passing the message along became exceptionally helpful and has constantly made guys and women like me to reach their desired goals. Your amazing invaluable information means this much to me and somewhat more to my mates. Many thanks; from all of us.

  3. golden goose sneakers

    My spouse and i felt now contented Raymond managed to finish up his investigations through the ideas he obtained when using the web pages. It is now and again perplexing just to continually be giving out key points which some others have been trying to sell. So we know we need the writer to be grateful to because of that. All of the explanations you have made, the easy site navigation, the relationships your site assist to engender – it is everything wonderful, and it’s aiding our son and the family recognize that the situation is thrilling, and that is incredibly indispensable. Many thanks for all the pieces!

  4. supreme clothing

    I needed to put you the little bit of note to finally thank you so much the moment again considering the fantastic opinions you have provided above. It was quite tremendously generous with people like you to present without restraint all many individuals would have made available for an e book to help with making some cash on their own, chiefly now that you might have tried it in the event you desired. Those tricks additionally acted like a good way to be sure that other individuals have the same zeal the same as my own to grasp more and more regarding this issue. I am certain there are many more enjoyable sessions in the future for people who read carefully your website.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.