Hi Robert,Lumpy Burgertushie wrote:that looks like it is supposed to be the youtube video bbcode.
can you give me a link to a facebook video so I can see exactly what the html replacement is supposed to be.
robert
I hope you can work on this problem sir Robert. Its giving me a headache on how to embed FB videos on our site. A lot of forumers are asking for it already.Lumpy Burgertushie wrote:well the reason your old code doesn't work is because facebook changed the embed code for the videos just like youtube did some time ago.
It is now using a iframe code.
I am working on it but having a problem getting it to work.
the youtube one works just fine, and it should be the same but so far no luck,
robert
So far, I can't figure out why its no longer functioning.RMcGirr83 wrote:Do you see anything different between the link you posted and the html replacement you are using?
It's OK Robert. Thanks a lot.Lumpy Burgertushie wrote:as I said above, it quit working because facebook changed how they do it to using a iframe instead of the way it was before.
however, I have tried just about every way possible to create a bbcode using the iframe embed code they give you and I can not make it work at all.
sorry, I give up.
robert
Code: Select all
[iframe]{URL}, {NUMBER}, {NUMBER2}[/iframe]
Code: Select all
<iframe src="{URL}" width="{NUMBER}" height="{NUMBER2}" frameborder="0"></iframe>
Code: Select all
[iframe]http://example.com, 480, 270[/iframe]
<iframe src="[color=#FF0000]https://www.facebook.com/video/embed?video_id=4965679772271[/color]" width="[color=#FF0000]640[/color]" height="[color=#FF0000]360[/color]" frameborder="0"></iframe>
Hi 5hock,5hocK wrote:This ones a bit fiddly to use but it works.
bbcode usagehtml replacementCode: Select all
[iframe]{URL}, {NUMBER}, {NUMBER2}[/iframe]
help lineCode: Select all
<iframe src="{URL}" width="{NUMBER}" height="{NUMBER2}" frameborder="0"></iframe>
Click embed under facebook options to get this code:Code: Select all
[iframe]http://example.com, 480, 270[/iframe]
<iframe src="[color=#FF0000]https://www.facebook.com/video/embed?video_id=4965679772271[/color]" width="[color=#FF0000]640[/color]" height="[color=#FF0000]360[/color]" frameborder="0"></iframe>
highlighted is what's needed.
Example: http://www.headnog.com/viewtopic.php?f=2&t=11
Code: Select all
[facebookvideo]{NUMBER}, {NUMBER2}, {NUMBER3}[/facebookvideo]
Code: Select all
<iframe src="https://www.facebook.com/video/embed?video_id={NUMBER}" width="{NUMBER2}" height="{NUMBER3}" frameborder="0"></iframe>
seems not working dude...can you please check it again and maybe have a sample?t_backoff wrote:I highly advise NOT to use that BBCode. Any malicious user could embed any webpage using that format. I haven't tested, but how about something like this:
BBCode:HTML replacement:Code: Select all
[facebookvideo]{NUMBER}, {NUMBER2}, {NUMBER3}[/facebookvideo]
Code: Select all
<iframe src="https://www.facebook.com/video/embed?video_id={NUMBER}" width="{NUMBER2}" height="{NUMBER3}" frameborder="0"></iframe>
Code: Select all
[facebookvideo]{NUMBER1}, {NUMBER2}, {NUMBER3}[/facebookvideo]
Code: Select all
<iframe src="https://www.facebook.com/video/embed?video_id={NUMBER1}" width="{NUMBER2}" height="{NUMBER3}" frameborder="0"></iframe>