That is because on your live site it cannot find:

http://www.strahle.eu/movies/Pawnee.f4v

Put this file in the movies directory.

Aran

On Tue, Aug 31, 2010 at 2:31 PM, hcccs <[email protected]> wrote:

> Test HTML this time:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
> <head>
>   <title>Test</title>
>   <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />
>  <script type="text/javascript" src="/js/swfobject.js"></script>
>  <script type="text/javascript">
>    swfobject.registerObject("pawnee", "9.0.0", "/movies/
> expressInstall.swf");
>  </script>
> </head>
> <body>
> <div>
>   <object id="pawnee" classid="clsid:D27CDB6E-
> AE6D-11cf-96B8-444553540000" width="400" height="340">
>     <param name="movie" value="/movies/pawnee.swf"/>
>  <!--[if !IE]>-->
>    <object type="application/x-shockwave-flash" data="/movies/
> pawnee.swf" width="400" height="340">
>   <!--<![endif]-->
>  <a href="http://www.adobe.com/go/getflashplayer";>
>    <img src="/images/getflash.gif" alt="Get Adobe Flash player" />
>  </a>
>  <!--[if !IE]>-->
>    </object>
>  <!--<![endif]-->
>  </object>
> </div>
> </body>
> </html>
>
> In position and size in Flash I have made changes:
> X, Y = 0
> W=400 H=300
>
> In the PHP file I have added 40px to the height allow for the skin.
> When I play it locally the video plays, no skin but threre is a grey
> area under the video where the skin would have gone.
> When I play it in my real web site I see the skin and nothing else.
> (http://www.strahle.eu/test.php)
> http://localhost:8080/movies/pawnee.swf works and a big video plays
> with skin.
> http://www.strahle.eu/movies/pawnee.swf shows only a skin.
> It is getting more and more weird by the day.
>
> Hans
>
> On Aug 31, 12:03 am, Aran Rhee <[email protected]> wrote:
> > So you need to make sure you give enough room in your swf to display the
> > skin. As you have specified the "under" skin, ot means you need at least
> > 20px or so of extra height to display the skin under the video. What are
> the
> > dimensions of your f4v?
> >
> > To be clear, everything is displaying correctly when you export the HTML
> /
> > Flash file on your desktop? (I am just surprised how much trouble you are
> > having if everything was already working as intended before you tried to
> > place your content on your web server)
> >
> > Aran
> >
> >
> >
> > On Mon, Aug 30, 2010 at 4:46 PM, hcccs <[email protected]> wrote:
> > > Whichever publishing method I choose the video plays but I cannot get
> > > any control (skin).
> > > I set the parameters in Components Inspector thus:
> > > align=topleft
> > > autoplay=true
> > > skin=SkinUnderPlaySeekStop.swf
> > > skinAutoHide=false
> > > source=pawnee.swf
> >
> > > I assume that the 'source' parameter is the relative referencing that
> > > your told me to use.
> >
> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> > >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
> > > <head>
> > >   <title></title>
> > >   <meta http-equiv="Content-Type" content="text/html;
> > > charset=iso-8859-1" />
> > >  <script type="text/javascript" src="/js/swfobject.js"></script>
> > >  <script type="text/javascript">
> > >     swfobject.registerObject("pawnee", "9.0.0", "/movies/
> > > expressInstall.swf");
> > >   </script>
> > > </head>
> > > <body>
> > >  <div>
> > >    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > > width="400" height="400" id="pawnee">
> > >      <param name="movie" value="/movies/pawnee.swf" />
> > >      <!--[if !IE]>-->
> > >        <object type="application/x-shockwave-flash" data="/movies/
> > > pawnee.swf" width="400" height="400">
> > >      <!--<![endif]-->
> > >        <a href="http://www.adobe.com/go/getflashplayer";>
> > >           <img src="/images/getflash.gif" alt="Get Adobe Flash
> > > player" />
> > >        </a>
> > >      <!--[if !IE]>-->
> > >        </object>
> > >      <!--<![endif]-->
> > >    </object>
> > >  </div>
> > > </body>
> > > </html>
> >
> > > Hans
> >
> > > On Aug 25, 8:24 pm, Aran Rhee <[email protected]> wrote:
> > > > Ok, so to save everyone some time, I made a test page with valid
> code:
> >
> > > >http://www.misterhee.com/tests/strahle/
> >
> > > > <http://www.misterhee.com/tests/strahle/>So, after seeing requests
> to
> > > the
> > > > server for both the swf and skin file, I could not see the swf
> requesting
> > > > the video. So I decompiled your swf, and I can see that you reference
> > > your
> > > > source as:
> > > > "C:\\temp\\Pawnee.f4v"
> >
> > > > As per the previous emails, can you please reference the resources
> Flash
> > > > needs to load as relative paths? (we went through this with the skin
> file
> > > > before)
> >
> > > > regarding the autoplay - this is something to set in your FLVplayback
> > > > component in the FLA, not the HTML. The play param is only for the
> parent
> > > > swf. You currently have it set to:
> > > > autoPlay = true;
> >
> > > > Once you change these values, the test page I made SHOULD work as
> > > > intended...
> >
> > > > Also, your code will not read any of the params, as you are missing
> the
> > > > expressInstall param in your embedSWF() call, which means all values
> are
> > > out
> > > > of index by one. Can you please use the code generator to help you
> write
> > > > valid code?
> >
> > > > Aran
> >
> > > > On Wed, Aug 25, 2010 at 12:15 PM, hcccs <[email protected]> wrote:
> > > > > I started all over from and reencoded the .avi and recreated the
> .fla
> > > > > file.
> > > > > The pawnee.f4v, pawnee.swf, SkinUnderPlaySeekStop.swf and
> > > > > expressInstall.swf file reside in folder /movies.
> > > > > The test file, testdyn.php, is in the root folder and looks like
> this:
> >
> > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > > > > <html xmlns="http://www.w3.org/1999/xhtml"; lang="en"
> xml:lang="en">
> > > > >   <head>
> > > > >       <title>SWFObject dynamic embed</title>
> > > > >       <meta http-equiv="Content-Type" content="text/html;
> > > > > charset=iso-8859-1" />
> > > > >      <script type="text/javascript"
> src="/js/swfobject.js"></script>
> > > > >      <script type="text/javascript">
> > > > >          var flashvars = {};
> > > > >         var params = {};
> > > > >         var attributes = {};
> > > > >         params.play = "false";
> > > > >         params.loop = "false";
> > > > >         params.menu = "true";
> > > > >         params.quality = "autohigh";
> > > > >         params.wmode = "windows";
> > > > >         params.base ="/";
> > > > >         swfobject.embedSWF("/movies/pawnee.swf", "alternative",
> > > > > "400", "300", "9", flashvars, params, attributes);
> > > > >      </script>
> > > > >      </head>
> > > > >      <body>
> > > > >         <div id=alternative>
> > > > >            <h1>Alternative content</h1>
> > > > >             <p><a href="http://www.adobe.com/go/getflashplayer
> "><img
> > > > > src="/images/getflash.gif" alt="Get Flash player" /></a></p>
> > > > >         </div>
> > > > >      </body>
> > > > > </html>
> >
> > > > > The video plays ok but the skin doesn't show and it starts
> > > > > automatically in spite of the 'play' parameter.
> > > > > A little step forward but still things that don't work.
> >
> > > > > Hans
> >
> > > > > On Aug 18, 11:01 pm, Aran Rhee <[email protected]> wrote:
> > > > > > Change the refernce in the flash IDE of your skin from:
> >
> > > > > >http://localhost:8080/SkinUnderPlaySeekStop.swf
> >
> > > > > > to:
> >
> > > > > > SkinUnderPlaySeekStop.swf <
> > > > >http://localhost:8080/SkinUnderPlaySeekStop.swf>
> >
> > > > > > (you have a hard coded reference to localhost which means it will
> > > never
> > > > > work
> > > > > > on your production server)
> >
> > > > > > Aran
> >
> > > > > > On Wed, Aug 18, 2010 at 3:18 PM, hcccs <[email protected]> wrote:
> > > > > > > What exactly do you mean by "if you change to ..." ??
> >
> > > > > > > On Aug 18, 12:57 pm, Sam Sherlock <[email protected]>
> wrote:
> > > > > > > > server seems to be struggling currently.
> >
> > > > > > > > but it did load and using firebug (extension for firefox) I
> can
> > > see
> > > > > that
> > > > > > > the
> > > > > > > >  flash file is trying to load
> >
> > > > > > > >http://localhost:8080/SkinUnderPlaySeekStop.swf
> >
> > > > > > > > if you change to
> > > > > > > > /SkinUnderPlaySeekStop.swf
> >
> > > > > > > > it should work both locally (on localhost) and online
> >
> > > > > > > >  - S
> >
> > > > > > > > On 18 August 2010 11:41, hcccs <[email protected]> wrote:
> >
> > > > > > > > > I did that and it's the same. I then changed the file
> > > 'pawnee.swf'
> > > > > to
> > > > > > > > > 'test.swf', which is the file that comes with the download
> and
> > > > > shows a
> > > > > > > > > green rectangle with your flash player version. This worked
> so
> > > I 'm
> > > > > > > > > wondering if I have created my .swf file incorrectly. The
> > > > > pawnee.swf
> > > > > > > > > file can't be all wrong because if I double-click it it
> comes
> > > up
> > > > > and
> > > > > > > > > starts playing.
> >
> > > > > > > > > Hans
> >
> > > > > > > > > On Aug 18, 1:05 am, Sam Sherlock <[email protected]>
> > > wrote:
> > > > > > > > > > replace
> >
> > > > > > > > > > <param name="base" value="http://localhost:8080/"; />
> >
> > > > > > > > > > with
> >
> > > > > > > > > > <param name="base" value="/" />
> > > > > > > > > > -or-
> > > > > > > > > > <param name="base" value="./" />
> >
> > > > > > > > > > and try then.
> >
> > > > > > > > > > I could not find the flv or f4v (is that another format
> of
> > > flash
> > > > > > > video)
> > > > > > > > > on
> > > > > > > > > > server
> >
> > > > > > > > > >  - S
> >
> > > > > > > > > > On 17 August 2010 23:38, Aran Rhee <[email protected]>
> > > wrote:
> >
> > > > > > > > > > > your server seems down, so I cannot check.
> >
> > > > > > > > > > > On Tue, Aug 17, 2010 at 4:11 PM, hcccs <
> [email protected]>
> > > > > wrote:
> >
> > > > > > > > > > >> I have now put the files pawnee.swf, pawnee.f4v in the
> > > root
> > > > > folder
> > > > > > > and
> > > > > > > > > > >> added the BASE parameter to test.php like this:
> >
> > > > > > > > > > >> <object id="pawnee"
> > > > > > > > > > >> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > > > > > > > > > >>   width="550px"
> > > > > > > > > > >>  height="400px">
> > > > > > > > > > >>  <param name="base"  value="www.strahle.eu/" />
> > > > > > > > > > >>  <param name="movie" value="/movies/pawnee.swf" />
> > > > > > > > > > >>  <param name="wmode" value="opaque" /><!-- optional,
> used
> > > here
> > > > > as
> > > > > > > an
> > > > > > > > > > >> example -->
> > > > > > > > > > >>  <param name="allowScriptAccess" value="always" /><!--
> > > > > optional,
> > > > > > > used
> > > > > > > > > > >> here as an example -->
> > > > > > > > > > >> <!--[if !IE]>-->
> > > > > > > > > > >>  <object type="application/x-shockwave-flash"
> > > > > > > > > > >>  data="/movies/pawnee.swf"
> > > > > > > > > > >>     width="550px"
> > > > > > > > > > >>    height="400px">
> > > > > > > > > > >>  <param name="base"  value="www.strahle.eu/" />
> > > > > > > > > > >>  <param name="wmode" value="opaque" /><!-- optional,
> used
> > > here
> > > > > as
> > > > > > > an
> > > > > > > > > > >> example -->
> > > > > > > > > > >>  <param name="allowScriptAccess" value="always" /><!--
> > > > > optional,
> > > > > > > used
> > > > > > > > > > >> here as an example -->
> >
> > > > > > > > > > >> No change as I can see.
> >
> > > > > > > > > > >> Hans
> >
> > > > > > > > > > >> On Aug 17, 10:16 pm, Aran Rhee <[email protected]>
> > > wrote:
> > > > > > > > > > >> > Ok, we have some forward motion.
> >
> > > > > > > > > > >> > On your live server, I can now see a grey square
> > > > > (pawnee.swf)
> > > > > > > being
> > > > > > > > > > >> > displayed.
> >
> > > > > > > > > > >> > Now, as I mentioned in my earlier post, relative
> pathing
> > > can
> > > > > be
> > > > > > > a
> > > > > > > > > bit
> > > > > > > > > > >> > strange, so right now, the page is looking for the
> skin
> > > file
> > > > > > > here:
> >
> > > > > > > > > > >> >http://www.strahle.eu/SkinUnderPlaySeekStop.swf
> >
> > > > > > > > > > >> > I also presume it will look for the video file in
> the
> > > same
> > > > > > > folder
> > > > > > > > > > >> location.
> >
> > > > > > > > > > >> > put the files where it is looking for them
> temporarily
> > > > > (let's at
> > > > > > > > > least
> > > > > > > > > > >> get
> > > > > > > > > > >> > the player displaying the video), and then we can
> work
> > > out
> > > > > how
> > > > > > > to
> > > > > > > > > get it
> > > > > > > > > > >> to
> >
> > ...
> >
> > read more ยป- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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.

Reply via email to