try setting the base param like this
var param = {};
param.base = '/videos'; // crucial that you leave the trailing slash out NO
TRAILING SLASH HERE!!

I don't know of any specific resources about the base param - but
it specifies th where you flash movie is  loading assets from etc  by
defailt it is ./ which is the same directory - when you in flash authoring
the base is where your movie i; but your page referencing the movie is
likely to not be in the same directory setting (the default base param when
referancing from a  page  is still ./ but your relative position is now
different and paths may need adjusting) the base param will remedy this for
you (perhaps will cause you some short term pain; but the long run will be
less head ache)

you could try the kirupa forums or gotoandlearn forums; I think this
*should* resolve your issue

hth - S


2009/8/14 Tony <[email protected]>

>
> Thanks for the quick reply.  I tried adding in a flashvars for the
> skinname, and it still doesn't display.  I followed your advice about
> using Firebug, and I did find that SWFObject is loading in the
> playback skin from the wrong path:
>
> http://localhost/SkinUnderPlayStopSeekMuteVol.swf
>
> instead of:   http://localhost/videos/SkinUnderPlayStopSeekMuteVol.swf
>
> I took out the FLV param, as the video is on a Flash Media Server and
> is accessed via RTMP in the swf.  Yesterday I searched for info
> regarding the BASE param, but didn't find all that much on it.  Is
> there any resource online that you know of, or can you provide a quick
> example of how it's structured?  I apologize if this is beyond the
> focus of the group, but I still believe my problem here relates to
> swfobject (the swf is playing fine outside of using swfobject).
> Thanks again,
>
> Tony
>
> On Aug 13, 6:04 pm, Sam Sherlock <[email protected]> wrote:
> > if your using the generator click the more link in second legend set then
> > your can enter sets of key/value pairs for your swfobject
> > below is your project with two flashvars added skinpath & video (notice
> that
> > since this is static object the flashvars are defiend twice see the
> repeated
> > param tag); you may also benefit from using the param base.
> >
> > <head>
> > <title></title>
> > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
> />
> >  <script type="text/javascript" src="swfobject.js"></script>
> > <script type="text/javascript">
> >  swfobject.registerObject("video", "9.0.0");
> > </script>
> >  </head>
> > <body>
> > <div>
> >  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590"
> > height="400" id="video">
> >  <param name="movie" value="videos/test.swf" />
> > <param name="flashvars"
> >
> value="skinpath=/videos/SkinUnderPlayStopSeekFullVol.swf&amp;video=/videos/video.flv"
> > />
> >  <!--[if !IE]>-->
> > <object type="application/x-shockwave-flash" data="videos/test.swf"
> > width="590" height="400">
> >  <param name="flashvars"
> >
> value="skinpath=/videos/SkinUnderPlayStopSeekFullVol.swf&amp;video=/videos/video.flv"
> > />
> >  <!--<![endif]-->
> > <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>
> > <!--[if !IE]>-->
> > </object>
> >  <!--<![endif]-->
> > </object>
> > </div>
> >  </body>
> >
> > using firebug you can see http activity (safari has one too).  See what
> the
> > full address of the skin that is being loaded I think it may be loading
> > /SkinUnderPlayStopSeekFullVol.swf not
> >  /videos/SkinUnderPlayStopSeekFullVol.swf in this case the base param can
> be
> > useful but may require you to rework some paths.
> >
> > Also there are quite a few previous threads about flv skins which may be
> > helpful; forums like gotoandlearn.com & kirupa.com will have more
> general
> > flash information which is beyond the focus of this group
> >
> > - S
> >
> > 2009/8/13 Tony <[email protected]>
> >
> >
> >
> > > Hey everyone,
> >
> > > I've searched half of today trying to find a solution for this, but
> > > I've been unable to find anything definitive.  Basically here's what I
> > > have:
> >
> > > I've been working on some test files to see how SWFObject will work
> > > with our CMS, and for the life of me I can't seem to get the
> > > FLVPlayback skin to show up when using SWFObject.  I've read in other
> > > threads that the video, .swf (loads in .flv via FLVPlayback), and
> > > player.swf (player controls in flash) all need to be in the same
> > > directory in order for the player controls to work properly, or else
> > > you have to specifiy the path in a flashvars definition.
> >
> > > Basically here is my test folder structure:
> >
> > > root/test.html
> > > root/js_scripts/swfobject.js
> > > root/videos/test.swf (loads in FLV)
> > > root/videos/video.flv
> > > root/videos/SkinUnderPlayStopSeekFullVol.swf  (playback skin)
> >
> > > I'm able to set up SWFObject properly to get the video to play, I've
> > > just been unable to get the playback skin to load in.  Here's my
> > > sample HTML code:
> >
> > > <script type="text/javascript" src="/js_scripts/swfobject.js"></
> > > script>
> > >                <script type="text/javascript">
> > >                        swfobject.registerObject("video", "9.0.0");
> > >                </script>
> > >        </head>
> > >        <body>
> > >                <div>
> > >                        <object
> > > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > > width="590" height="400" id="video">
> > >                                <param name="movie"
> value="videos/test.swf"
> > > />
> > >                                <!--[if !IE]>-->
> > >                                <object
> type="application/x-shockwave-flash"
> > > data="videos/
> > > test.swf" width="590" height="400">
> > >                                <!--<![endif]-->
> > >                                        <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>
> > >                                <!--[if !IE]>-->
> > >                                </object>
> > >                                <!--<![endif]-->
> > >                        </object>
> > >                </div>
> > >        </body>
> >
> > > Any ideas of how I can set up a Flashvars to load in the playback
> > > skin?  Thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to