tags:

views:

57

answers:

2

I used the longtail flv player setup wizard to embed a video on a web page. It worked on the wizard but not after I copied and pasted into my page. Does anyone see anything obvious? The thumbnail for the screenshot works and is in the same location as the flv file.

???????

Link is here

A: 

I'm fairly confident it's throwing a wobbly at the fact that you're including the flv file as:

so.addVariable('file','http://www.thurstonchamber.com/WorkForAll/ICANCap.flv');

Try just reducing it to:

 so.addVariable('file', 'ICANCap.flv');

and seeing if that work.

Steerpike
'Throwing a wobbly' is the technical term of course, I can explain it more simply if you prefer?
Steerpike
Thanks. I tried that and still no difference. I'm really stumped!
Perhaps their server doesn't support flv? I ran into that a few months ago with another client.
That's very strange, because I grabbed your code from your server and tried it and it worked fine.
Steerpike
Thank you for your help... see my comment below :)
A: 

This is the fist thing that the Flash Debug play showed when I visited your site.

SecurityError: Error #2123: Security sandbox violation: Loader.content: http://workforall.biz/workforall/player.swf cannot access http://www.thurstonchamber.com/WorkForAll/thumb.jpg. No policy files granted access.
    at flash.display::Loader/get content()
    at com.jeroenwijering.player::Model/resizeHandler()

Flash is expecting to be able to reference a Jpeg of another domain, and there is nothing in the swf which is telling it that "This is allowable" so it is throwing an error.

Christopher W. Allen-Poole
I see, so how would I fix that? This site is a subdomain of the chamber...
Unless you have access to the code, you will need to put http://workforall.biz/workforall/player.swf and http://www.thurstonchamber.com/WorkForAll/thumb.jpg in the same folder.
Christopher W. Allen-Poole
Thanks for pointing things out to me... I must have mistyped in the wizard. I started from scratch and it works. My error was my own, not using the proper file path. Sorry all!