Home > Project Rethink > Easily Embed HTML5 Video

Easily Embed HTML5 Video

May 13th, 2010

If you’ve ever watched video on the Internet, chances are you’ve seen JW Flash Player, created by Jeroen Wijering at http://www.longtailvideo.com/.  The JW Flash Player is the most popular open-source video player on the Internet today.

Yesterday, Jeroen and his team at LongTail Video announced a public beta for the next evolution of their most popular player, JW Player for HTML5.

With a few lines of code, the JW Player for HTML5 allows you to easily embed, configure, and skin video players using the HTML5 standard.  If a user is using a browser that does not support HTML5, the embed code will automatically fallback to the original JW Flash Player.  HTML5 is widely supported in many modern browsers, including Safari, Chrome, Firefox and IE9 — but most importantly, mobile devices including the iPhone, Android and the iPad.

The JW Player for HTML5 is a fully skinnable and configurable player based on the new <video> tag found in HTML5. It is built using javascript (jQuery) and enables a seamless fallback to the popular JW Player for Flash. Currently, our HTML5 player is in Beta. Certain functionalities that we consider essential are missing in this Beta version, and will be included in the 1.0 release.

Source: http://www.longtailvideo.com

It’s that easy.  Jeroen has posted multiple examples of the player and is actively looking for feedback.  Just as a quick demo, the video below was embeded using the following lines of code and will play on your desktop, iPad, iPhone, or anything in between.

Thanks Jeroen!

HTML Code

Here is the code for this setup. Make sure to change all links to the scripts, player, image and video. They must refer to the correct files on your server.

First, place this code in the <head> of your page:

<script type="text/javascript" src="/scripts/jquery.js"></script>
<script type="text/javascript" src="/scripts/jquery.jwplayer.js"></script>

Second, place this code where you want the video to appear:

<video height="270" id="player" poster="/files/bunny.jpg"
  src="/files/bunny.mp4" width="480"></video>

<script type="text/javascript">
  $('#player').jwplayer({
    flashplayer:'/files/player.swf',
    skin:'/files/five.xml'
  });
</script>

Example

Categories: Project Rethink Tags:
  1. June 27th, 2011 at 22:40 | #2

    iphone case
    iphone cover
    iphone cases
    iphone 4 case
    iphone 4 cover
    iphone 3GS case
    iphone 4 case
    ipad case
    ipad cover

    Tiffany Jewellery
    tiffany uk
    tiffany and co
    Tiffany Jewelery

    abercrombie fitch
    fitch abercrombie
    abercrombie and fitch

    thomas sabo
    sabo thomas
    thomas sabo jewellery
    sabo charms
    thomas sabo charms

    Links of London
    silver jewellery
    Links of London Bracelets
    Links of London Charms

    Nike Air Max
    Air Max pas cher
    Air Max 90 pas cher
    Air Max 90
    Nike Air Max 90
    Nike Shox

    Nike Shox Pas cher
    Air Max pas cher
    Nike pas cher
    basket nike pas cher
    Air Max 90 pas cher
    Nike Air Max pas cher
    Nike Air Max 90 Pas cher

    Air Max 90
    Nike Air Max
    Nike Air Max 95
    Nike Air Max 90

    Digital Thermometer
    Infrared Thermometer
    Ear Thermometer

    Nike Air Max 90
    Nike Shox
    Nike Air Max

    ED Hardy
    ED Hardy Clothing
    Christian Audigier

    Chanel Handbags
    Coach Handbags
    Louis Vuitton Handbags

    Air Max 90 pas cher
    Nike pas cher
    Nike Shox Pas cher

    Wedding Dress
    Wedding Dresses
    Bridesmaid Dresses
    Prom Dresses

    iphone 4 case
    iphone 4 cover
    iphone 4 cases

    lingerie
    sexy lingerie
    sexy sexy lingerie
    sexy underwear
    lingerie sexy

    Nike Air Max 90
    Nike Shox
    Nike Air Max

    Air Max 90
    Nike Shox
    Nike Air Max 90
    Nike rift

    Air Max 90
    Nike Rift
    Nike Air Max 90

    Brian Atwood
    Atwood Brian
    Brian Atwood Shoes
    Atwood Pumps
    Brian Atwood Pumps

    Mont Blanc Pens
    MontBlanc Pens
    Fountain Pen
    Ball Pens

    ysl shoes
    jimmy choo shoe
    christian louboutin shoe
    christian louboutin pumps
    jimmy choo boots

    Tory Burch
    Tory Burch Shoes
    Tory Burch Flats
    Tory Burch Handbags
    Tory Burch boots
    Tory Burch Flip Flops
    abercrombie & fitch
    tiffany & co

  2. June 28th, 2011 at 02:41 | #4

    PANDORA’s mission – then and today – is to offer women across the world a universe of high quality, hand finished, modern and genuine pandora Bracelets products at affordable prices, thereby inspiring women to express their individuality.

  3. 1111
  4. ugg
  5. June 28th, 2011 at 06:01 | #7

    Air Jordan shoes are designed with comfort in mind and all at affordable prices. We have a range of cheap jordan shoes to complement any style of dress, or occasion, from the relaxed outdoor evening with friends, a day in the office and even you wedding day. Jordans shoes With Style also supply a comprehensive range of cocktail, debutante and after five air jordan retro . Together with matching handbags with a large range of nike air jordan that will make any occasion a very special one. Please explore our online store, and enjoy your shopping experience.

  6. June 29th, 2011 at 10:06 | #8

    Thanks, It will help me a lot in embedding videos!

  7. June 30th, 2011 at 23:06 | #9

    The manufacturer has been serving the Louis Vuitton customers can use for over a century now, they’ve the confidence Replica Louis Vuitton of numerous amp you can get them at very affordable rates as well. The experience guitar amp custom Louis Vuitton Bags together have permitted them to make the trendiest from the designs with the most Louis Vuitton Ailleurs elegant seeking colours. Louis Vuitton Spring Summer 2011 These shoes are available at all all online stores while the Louis Vuitton Monogram Empreinte nearby markets can be even be searched these boots. Buying a acceptable support of sports shoes and allotment the Louis Vuitton Antheia correct shoe for the appropriate action is actual important, uncommon aback there are Louis Vuitton Monogram Canvas brands in the bazaar that will action action specific shoes or boots.Among the able-bodied accounted Louis Vuitton Monogram Vernis brands is also Ed Hardy that has attained immense acceptability in Louis Vuitton Monogram Mini Lin the accouterment bazaar and is acknowledged to be one of the top makers of aerial affection sports footwear that not alone attending Monogram Multicolore modern but additionally action all the support, flexibility, Louis Vuitton Nomade Leather backbone and extra padding that is appropriate in any sport.ed hardy men denim Ed Hardy shoes are recommended application the latest Louis Vuitton Monogram Idylle technology and innovations aback compared to abounding added brand names. Damier Geant Canvas Ed Hardy shoes include a array of designs, kinds, and colours and aloft most action specific shoes which have been alone meant for that distinct action in mind. Whether its footwear, baseball shoes, basketball high quality replica louis vuitton boots and shoes or football shoes, Ed Hardy shoes accept these to accommodated Wholesale Louis Vuitton Replica your requirements for any absolute sport. The Impotence problems Hardy Shoes are actual Louis Vuitton Monogram Idylle Cosmetic Pouch acknowledged cossack amid the ladies or young girls of the Monogram Eclipse western world.impotence problems hardy dresses The appearance of mainly because is fit for every category and they are beloved Louis Vuitton Enigme articles inside the bazaar as able-bodied as the appearance cares. These boots Good Quality Louis Vuitton are one of the best benefits acquainted and branded boot footwear in the market. The client of these cossack consistently Louis Vuitton Enigme Sunglasses acquisition themselves on the gainer additional instead of also-ran side. Aour favourite Edward Hardy shoes,Replica Louis Vuitton Bags accomplish abiding your shoe is neither too bound nor too aside as this can Louis Vuitton Bags Replica account aback affliction Louis Vuitton Eclipse Alma and abrasion while participating in. Also, accomplish abiding that Louis Vuitton Sunglasses your Impotence Hardy shoes is meant with the action you intend to comedy to help you get the best out of your advance Louis Vuitton Wallets in it and additionally accept a good timeyour video game.

  8. July 1st, 2011 at 02:02 | #10

    The celebrity jewelry group includes a wide Cheap Bags Plaza variety of accessories including gorgeous necklaces, sparkly bands,Hunt Cheap Bags stylish bracelets, delicate organizations, and dangling earrings. Constructed from sterling silver, all celebrity My Luxury Bags Mall jewelry pieces are studded with jewels like CZ diamonds, turquoises, pearls, and also crystals. Want Cheap Bags You will find an array of celebrity jewelry that will perfectly complement all your trendy outfits.Jewellery has always been Stylish Bags Zone close to the heart of ladies. Rare had been the times when jewelry was not All kinds of chic bags considered as synonymous to the word women. There had been various types and categories of jewelries which have been in use for the last lots of hundred decades. Each age had its own personal fashion and charm added to like the jewelry of the era.Fashionable and beautiful fashion jewelry is definitely worn to match Order Cheap Bags the wardrobe of your choice. Elegantly crafted plus designed, fashion cheap tiffany jewelry is set with precious stones and even semi-precious stones. Your beautiful clothing will definitely be incomplete with no presence of fashion jewelry. My own Wedding Shop Luxury Bags Jewelry offers a choice of fashion jewelry for all special Buy Cheap Bags occasions.Since it is not possible for the people to wear the heavy weighted jewelry pieces round the day, they are inclining to your fashion tiffany jewelry. They are auto racing hard to get the best possible and unique style and design Cheap Bags For You which is not possessed by its friends. In such a situation, the particular designs in the fashion jewelries are overflowing thus resulting in the possibility of wide range and better alternatives for the users.

  9. ASDFAA
    July 1st, 2011 at 02:50 | #11

    wedding party dresses wedding party dresses
    protestant wedding ceremony protestant wedding ceremony
    bridal party dresses bridal party dresses
    wedding dresses wedding dresses
    party dresses 2011 party dresses 2011
    wedding favors under 1.00 wedding favors under 1.00
    vera wang bridesmaids dresses vera wang bridesmaids dresses
    bridal gowns bridal gowns
    cocktail party dress cocktail party dress

    maggie sottero wedding dresses maggie sottero wedding dresses
    tea length bridal gowns tea length bridal gowns
    cheap wedding miscellaneous cheap wedding miscellaneous
    junior party dresses junior party dresses
    gifts for wedding gifts for wedding
    vintage evening gowns vintage evening gowns
    tea party dress tea party dress
    sexy party dress sexy party dress
    civil ceremony wedding dresses civil ceremony wedding dresses
    bridesmaids dresses under 100 bridesmaids dresses under 100
    red party dresses red party dresses
    bridal gowns 2010 bridal gowns 2010
    wedding favors uk wedding favors uk

  10. July 1st, 2011 at 03:06 | #12

    Very nice, gives me a lot of inspiration being right in the midst of a redesign.
    DC shoes hats
    Cheap DC shoes hats
    DC shoes hats Sale

  11. July 2nd, 2011 at 05:12 | #13

    I had a rare occasions this weekend to get dressed up all fancy, check out a new restaurant and celebrate my sister’s birthday. My outfit consisted of my fancy gold t-strap
    Coach Handbags Outlet that I never wear, my beloved
    Coach Purse,
    Coach Diaper Handbags from the gap,
    Coach OP Art Bags, and a funky black top and earings from Urban Outfitters.

Comment pages
1 7 8 9 291
Comments are closed.