Flash content using FBML

chiuming07 - October 22, 2008 - 10:10
Project:Drupal for Facebook
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

when I try to post flash video using FBML like this

http://www.oniva.com/upload/1356/fb4.jpg

the video won't show up.

is this a bug in Durpal for Facebook?

Since I think it supports FBML right?

#1

Dave Cohen - October 22, 2008 - 17:20
Status:active» postponed (maintainer needs more info)

Drupal's default input format will strip out fbml tags. So make sure you're using an input format that does not do that.
View the source of the resulting page and compare it to the body of your node to see if that is happening.

Also you have a strange error message at the top of your screenshot. I have not seen that before.

#2

chiuming07 - October 22, 2008 - 18:01

do you know any module support FBML input format? since default input format only has 3 options
A) Filtered HTML
B) PHP code
C) Full HTML

http://www.oniva.com/upload/1356/fb6.jpg

#3

Dave Cohen - October 22, 2008 - 18:16

Either full html or php should work fine.

#4

chiuming07 - October 22, 2008 - 20:26

I tired the following at the demo site nothing show up though, do you have any idea?
http://www.oniva.com/upload/1356/fb9.jpg

the flash tag is posted at your site located at
http://apps.facebook.com/drupalforfacebook/node/1104

#5

Dave Cohen - October 22, 2008 - 22:05
Category:bug report» support request
Status:postponed (maintainer needs more info)» fixed

As I said earlier, you have to view the source of your canvas page to see how the markup is different from what you've typed.

Drupal's input filter is adding breaks because of returns in your markup. For your test content, I simply changed the input filter to php and it worked fine. This is one of the intricacies of Drupal's input filters. Not specific to Facebook so I don't consider it a bug.

You can easily create a new input format for FBML. Make it similar to Full HTML, but without automatic line breaks.

#6

Anonymous (not verified) - November 5, 2008 - 22:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.