Error when embed swf file


(Khoa Nguyen) #1

I read a few posts about this topic in http://meta.discourse.com but none of them work for me.
I enabled “enable flash video onebox” in setting >> onebox
I set my domain in whitelist domain list (both hoidapyhoc.com and media.hoidapyhoc.com)
Here is an example of swf file: http://media.hoidapyhoc.com/tainguyen/cell/ER.swf
Here is the my test topic
http://ask.hoidapyhoc.com/t/testing-for-swf-embed/24/1

Onebox setting screenshot:

The browser console log show : 404 error with this URL: http://ask.hoidapyhoc.com/onebox?url=http://media.hoidapyhoc.com/tainguyen/cell/Cellstructureandfunction.swf

@sam @codinghorror


(Jeff Atwood) #2

@zogstrip can you quickly check this locally? does embedding swf/flv, if enabled, still work?


(Khoa Nguyen) #3

I changed the links above to my production website. Still not work.
@zogstrip you’re still admin of my discourse instance


(Régis Hanol) #4

sfw/flv oneboxing works just fine.

The issue comes from the domains you’ve whitelisted. They don’t support OpenGraph and generate errors.


(Khoa Nguyen) #5

@zogstrip I saw you embed flash file in try.discourse.org. How did you do that?
http://i.imgur.com/4GQWRhC.png


(Régis Hanol) #6

I just pasted the URL you gave as an example. The only difference between try and your instance is that try doesn’t have the 2 whitelisted domains you mentioned.


(Michael Solomon) #7

HI.
i dont get 404 error but it’s not embed my SWF, just show a link to download the SWF