FBML for video

Discussion in 'Facebook' started by zakster, Jan 25, 2011.

  1. #1
    I'm trying to add video to a Facebook page using the well-documented code,


    <fb:swf swfbgcolor="000000" imgstyle="border-width:3px; border-color:white;" swfsrc='http://www.youtube.com/watch?v=xxxxxxxxxx&autoplay=1' imgsrc='http://xxxxxxxxxx.net/images/xxxxxxxxxx.jpg' width='340' height='270' />
    
    Code (markup):

    ...unfortunately, the result is an empty page.

    I've triple-checked that the quotes are correct (also tried using single and double quotes) and the URLs I'm using for both the vid and the image display properly in a browser.

    Any suggestions as to why this code isn't working??

    Also, can anyone shed some definitive light on whether FBML is actually deprecated or not? And if not, is there a timeline when it will be??

    thanks very much in advance...
     
    zakster, Jan 25, 2011 IP
  2. music legend

    music legend Well-Known Member

    Messages:
    1,322
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    180
    #2
    facebook does not allow fbml anymore. you can only use fbml if you have had it since back in the day. otherwise you have to use iframe
     
    music legend, Jan 25, 2011 IP
  3. zakster

    zakster Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    hmmm, thx. I was wondering if that was the case but... I added fbml to a page last week and it works fine. So.... no more NEW fbml?? Is there a post/press release re this somewhere??
     
    zakster, Jan 25, 2011 IP
  4. zakster

    zakster Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    btw... if fbml is finally deprecated, and iframes are disallowed.... how do we customize our pages from now on..??
     
    zakster, Jan 25, 2011 IP
  5. AHEINC

    AHEINC Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can still put a video on facebook fan page without a problem... Few things I see in your code:

    - add </fb:swf> to close it
    - instead of using 'http://www.youtube.com/watch?v=xxxxxxxxxx&autoplay=1' try 'http://www.youtube.com/v/xxxxxxxxxx&amp;autoplay=1'

    Facebook keeps saying FBML will get deprecated "SOON" , which in facebook years may be a long time..;-)
     
    AHEINC, Jan 25, 2011 IP
  6. zakster

    zakster Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    thx for your input, AHEINC. I've actually tried both of your suggestions previously and the outcome is the same -- no difference.

    - have tried adding/omitting "watch?"
    - have used "</fb:swf>" and "/>"

    ...still nothing to look at.

    more suggestions, please??
     
    zakster, Jan 25, 2011 IP
  7. AHEINC

    AHEINC Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hmmm..Interesting.. One other thing I can think of is an actual video image issue... You can't see the video but did you try to mouse over that blank space...? Initially, I had an image problem and turned out my video was there although I couldn't see it..;-)
     
    AHEINC, Jan 25, 2011 IP
  8. zakster

    zakster Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #8
    ...there's no activity at all from hovering over the browser area. This is a sample vid that i'm using -- it exists in a new tab, just not my static fbml content.

    swfsrc='http://www.youtube.com/v/JOt2Qp0H9G8&autoplay=1'

    more ideas??....
     
    zakster, Jan 25, 2011 IP
  9. AHEINC

    AHEINC Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    This is what I pasted into an FBML box and it works just fine:

    <fb:swf swfbgcolor="000000" imgstyle="border-width:3px; border-color:white;"
    swfsrc='http://www.youtube.com/v/JOt2Qp0H9G8&amp;autoplay=1'
    imgsrc='http://www.clashmusic.com/files/imagecache/big_node_view/files/images/beatles-grammy-tribute-2008-hanks-across-universe.jpg' width='422' height='344' /></fb:swf>

    What did you mean exactly by "it exists in a new tab, just not my static fbml content"?
     
    AHEINC, Jan 25, 2011 IP
  10. zakster

    zakster Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #10
    ooohh-kayy....
    I'm at a loss for words/thoughts because I copied your code into my fbml box and it's all good. THEN... i deleted it and re-pasted my original code and i get video (and my image)!! What's with that..?!?

    I'm embarrassed to say that this has had me bamboozled for DAYS and now... suddenly... it works??
    (What would I have done without AHEINC and the Beatles! ;)

    Thanks for your troubleshooting -- i am VERY relieved and can FINALLY move on to something else.... (although i'll prob'ly spend too much time trying to figure out what the original problem was)

    PS
    - that was a poor way of saying that the raw URL played in a new browser tab but not showing up on my Fanpage tab. Sorry for the bad wording...
     
    zakster, Jan 25, 2011 IP
  11. AHEINC

    AHEINC Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hehe These sort of things happen all the time..;-) Aaaaanyway, glad it's working for you now!:)
     
    AHEINC, Jan 25, 2011 IP