Fbml+youtube

Crusherxy85

Junior Member
Joined
Feb 16, 2010
Messages
110
Reaction score
3
Hm i used this code :
<fb:swf
swfbgcolor="000000" imgstyle="border-width:3px; border-color:white;"
swfsrc='http://www.youtube.com/v/xxxxxxxxxx'
imgsrc='http://img.youtube.com/vi/xxxxxxxxxx/2.jpg' width='340' height='270' />


but it doesn't work...any ideas?!
 
I'm pretty sure that you cannot use flash in FBML and the standard code for fbml apps is <fb:flash or something like that. Search youtube in the developers wiki.
Posted via Mobile Device
 
Of course you can = I did it. Even I made "Become a Fan" to see the video.

Ask me only in private.
 
yes ive seen some pages with youtube videos in too. ie become a fan to see video etc etc..
 
Yes, you definitely can embed Flash in Static FBML boxes. I wrote a tutorial about this: http://www.hyperarts.com/blog/how-to-embed-youtube-videos-flash-facebook-static-fbml-pages/

which should help.

But hopefully, you changed the imgsrc and swfsrc to actual URLs rather than just those x's?
 
I might be wrong but is it youtube that only works in boxes?
I did it along time ago on a freebies page so not 100% sure,
try the code in a "boxes" layout and see if thats true,

Jack

EDIT: Post above +1 Nice Article
 
Last edited:
I wouldn't worry too much about boxes as Facebook has announced they'll be going away, along with boxes content in the left column of your page, in "early 2010." You can read more about these coming changes here: http://www.hyperarts.com/blog/changes-facebook-boxes-tabs-fbml/

Cheers, Tim
 
I used this code a week ago and it worked

Code:
	<fb:swf swfsrc="http://www.youtube.com_video_path" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="430" height="352"></embed>
 
How to embed a youtube video into static FBML ;)

Code:
[url='http://www.hyperarts.com/blog/how-to-embed-youtube-videos-flash-facebook-static-fbml-pages/']http://www.hyperarts.com/blog/how-to-embed-youtube-videos-flash-facebook-static-fbml-pages/[/url]
 
Back
Top