This is a message.

My logo wont show up in player Created Oct 26, 2011

This thread is solved

Views: 1417     Replies: 9     Last reply Jan 2, 2012  
You must login first before you can use this feature

MaxB

Posts: 6

Registered:
Sep 2, 2011

My logo wont show up in player

Posted: Oct 26, 2011

I notice there are a lot of these threads, but no one seems to have a clear answer to this issue, so it seems like I must start my own alongside theirs. Here is my code, and here is the url I am trying to get it to work on http://atgstores.com/flashVideo.aspx?group_id=450997)


            key: "d31c761f5189b9a3577",       //atgstores.com
            logo: {
                url: "http://sa.atgstores.com/images/layout/atgs_logo.png",
                fullscreenOnly: false,
                top: "45%",
                left: "50%"
            }

I am able to get the FlowPlayer logo to disappear, but the logo that I want to show up doesnt. The key works, pretty sure of it, because the flowplayer logo reappears once I change it. The logo image that I am trying to add to this player also exists (at the correct url), so I don't see any issues as to why this won't work. Any ideas anyone?

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» My logo wont show up in player

Posted: Oct 26, 2011

Reply to: My logo wont show up in player, from MaxB
I get the following error in the console:

[ERROR] time 23:59:06.391 :: org.flowplayer.view::LogoView : cannot load logo from domain atgstores.com

While the logo url is corrct, the player is located at the hi.atgimg.com domain and you load the logo from the sa.atgstores.com domain. I guess this leads to Flash crossdomain policy problems. A crossdomain.xml file at the root of hg.atgimg.com will probably help.
flowplayer.org has a very loose one here:
http://flowplayer.org/crossdomain.xml

See also:
http://kb2.adobe.com/cps/142/tn_14213.html

MaxB

Posts: 6

Registered:
Sep 2, 2011

» » My logo wont show up in player

Posted: Oct 26, 2011

Reply to: » My logo wont show up in player, from blacktrash
Wow, to think something so simple could have caused me so many hours of unnecessary work! Thanks Christian, I have redirected the url to the appropriate site and now everything works great :D!

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» » » My logo wont show up in player

Posted: Oct 26, 2011

Reply to: » » My logo wont show up in player, from MaxB
Phew. Glad you got it working. The way I explain this to myself in layman's terms is: the logo sort of "becomes part of the swf" - note that if you give a relative url, it must be relative to flowplayer.swf - and therefore Flash security applies.