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