It is a relative pathing issue.
I'd say you want to set your BASE param on your player swf to "videofolder".
You can set the base param to either a full path (ie
http://www.some.com/videofolder") or a relative path ( ie ../videofolder)
var params = {};
params.base = "videofolder";
try the absolute path option 1st to ensure it is working and then move to
the relative path (you may need to try a variation like /videofolder or
./videofolder)
Aran
On Wed, Sep 8, 2010 at 5:09 PM, [email protected] <
[email protected]> wrote:
> Hello,
> I am running a standard script generated by the code generator.
> All the files are inside the "videofolder" directory.
> If I place this file (temp.html) inside the videofolder the skin.swf
> shows fine and the whole thing works.
>
> However if I place this file (themp.html) in the root directory and
> call for the videofolder/untitled.swf
> from outside the "videofolder" then skin.swf does not show.
> I was wandering if anybody had this experience?
> Thanks in advance
> Carlos
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
> <head>
> <title>temp</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=utf-8" /
> >
> <script type="text/javascript"
> src="videofolder/swfobject.js"></
> script>
> <script type="text/javascript">
> var flashvars = {};
> var params = {};
> var attributes = {};
> swfobject.embedSWF("videofolder/untitled.swf",
> "myAlternativeContent", "800", "600", "9.0.0", false, flashvars,
> params, attributes);
> </script>
> </head>
> <body>
> <div id="myAlternativeContent">
> <a href="http://www.adobe.com/go/getflashplayer">
> <img src="
> http://www.adobe.com/images/shared/download_buttons/
> get_flash_player.gif" alt="Get Adobe Flash player" />
> </a>
> </div>
> </body>
> </html>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.