Youtube video in pagina ta Facebook

Stim de posibilitatea FBML-ului.
Dar cum sa bagam un video in continut?

Simplu:
<fb:swf swfbgcolor=”000000″ swfsrc=’http://www.youtube.com/v/IDYOUTUBE’  width=’466′ height=’267′ />
Avem posibilitatea de a pune si o imagine cu preview cu ajutorul tagului imgsrc = “calea imagine”

Mai multe detalii referitor la tag gasiti aici:
http://developers.facebook.com/docs/reference/fbml/swf/
Eu am intimpinat probleme in chrome cu scroll barele, solutia a fost css hack:
.vblock, iframe
{
overflow:hidden;
}
.vblock iframe
{
width:480px;
height:280px;
}

<div>
<fb:swf swfbgcolor=”000000″ swfsrc=’http://www.youtube.com/v/IDYOUTUBE’  width=’466′ height=’267′ />
</div>

Leave a Reply

Your email address will not be published. Required fields are marked *