NetTalk Central

Author Topic: FB 3.5 and video  (Read 3168 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
FB 3.5 and video
« on: August 19, 2009, 05:59:42 AM »
Hi,
Now in FB 3.5 theres a <video> </video> tag
I try to add the code of the FB page to a NetWebSource proc but it does not work.
I only see a FB logo.

  packet = clip(packet) & |
        '<div class="mozilla-video-scaler">'&|
        '    <div class="mozilla-video-control">'&|
        '         <video id="video" src="http://www.dailymotion.com/cdn/OGG-320x240/video/x9euyb?key=a99e7056808342ad0868b4decfe811c814044ec"></video>'&|
        '    </div>'&|
        '</div>'&|
        ''

Any idea of how to mwke it work?
Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: FB 3.5 and video
« Reply #1 on: August 19, 2009, 11:07:24 PM »
Hi Alberto,

the <video> tag is part of the (not yet finalized) HTML 5 specification.
Some browsers have implemented it, but not all, not it's very risky to be using it at this point.

One of the sticking issues with regard to this tag is the codec that the video has to be in. As of writing this there is no codec that all the browser manufacturers can agree on. the last time I checked they'd agreed not to agree on a codec which means using this tag will be a complete balls-up down the road. Each video will need to be encoded in at least 2 different ways, and the server will need to determine which to supply.

cheers
Bruce