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 > > > > > > >> > path to the correct location (we can use a param called > BASE, > > > which > > > > > can > > > > > > >> set > > > > > > >> > the root forlder for relative pathing) > > > > > > > > >> > Aran > > > > > > > > >> > On Tue, Aug 17, 2010 at 2:36 PM, hcccs <[email protected]> > wrote: > > > > > > >> > > It's strange. It is definitely in there. I even recreated > it > > > and > > > > > > >> > > transferred it again. > > > > > > >> > > Even locally, if I > runhttp://localhost:8080/movies/pawnee.swf, > > > it > > > > > > >> > > doesn't show but the SkinUnderPlaySeekStop.swf which is > > > referenced > > > > > in > > > > > > >> > > it and resides in the same folder appears. Could it have > > > anything > > > > > to > > > > > > >> > > do with how it was created? > > > > > > >> > > I'm at a loss now. > > > > > > > > >> > > Hans > > > > > > > > >> > > On Aug 17, 8:37 pm, Aran Rhee <[email protected]> > wrote: > > > > > > >> > > > Ok, so right now the page is looking forhttp:// > > > > > > >> > >www.strahle.eu/movies/pawnee.swfandnotfindingit(404). > > > > > > > > >> > > > Aran > > > > > > > > >> > > > On Tue, Aug 17, 2010 at 1:29 PM, hcccs <[email protected] > > > > > wrote: > > > > > > >> > > > > Ok, here it is:http://www.strahle.eu/test.php > > > > > > >> > > > > I don't think I fully understand all of it but it is > taken > > > > > from an > > > > > > >> > > > > example of static publishing at > > > > > > >> > > > > > http://learnswfobject.com/the-basics/static-publishing/ > > > > > > > > >> > > > > Hans > > > > > > > > >> > > > > On Aug 17, 3:34 pm, Aran Rhee <[email protected]> > > > wrote: > > > > > > >> > > > > > Sorry, I meant a link to your page, so that I can > debug > > > the > > > > > http > > > > > > >> > > traffic. > > > > > > >> > > > > It > > > > > > >> > > > > > is really easy to see where the files are being > > > requested > > > > > (and > > > > > > >> if > > > > > > >> > > there > > > > > > >> > > > > are > > > > > > >> > > > > > any mis-paths etc). > > > > > > > > >> > > > > > Aran > > > > > > > > >> > > > > > On Mon, Aug 16, 2010 at 3:29 PM, hcccs < > [email protected] > > > > > > > wrote: > > > > > > >> > > > > > > This is the actual page. I have now taken the > example > > > html > > > > > > >> file > > > > > > >> > > > > > > 'index_static.html' and put in my own values and > it > > > 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>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"); > > > > > > >> > > > > > > </script> > > > > > > >> > > > > > > </head> > > > > > > >> > > > > > > <body> > > > > > > >> > > > > > > <div> > > > > > > >> > > > > > > <object > > > > > > >> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > > > > > > >> > > > > > > width="400" height="300" id="pawnee"> > > > > > > >> > > > > > > <param name="movie" > value="/movies/pawnee.swf" > > > /> > > > > > > >> > > > > > > <!--[if !IE]>--> > > > > > > >> > > > > > > <object > type="application/x-shockwave-flash" > > > > > > >> data="/movies/ > > > > > > >> > > > > > > pawnee.swf" width="400" height="300"> > > > > > > >> > > > > > > <!--<![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> > > > > > > >> > > > > > > </html> > > > > > > > > >> > > > > > > The pawnee.swf is in the folder 'movies' so > > > > > > >> '/movies/pawnee.swf' > > > > > > >> > > must > > > > > > >> > > > > > > be correct!? > > > > > > >> > > > > > > I have tried without the leading '/' but it > doesn't > > > work > > > > > > >> either. I > > > > > > >> > > > > > > don't get any errors - just a white page with > nothing > > > on > > > > > it. > > > > > > >> > > > > > > Since this is an example file it ought to work. > > > > > > > > >> > > > > > > On Aug 16, 1:17 am, Aran Rhee < > [email protected]> > > > > > wrote: > > > > > > >> > > > > > > > If you could post your actual page, that would > be > > > most > > > > > > >> helpful. > > > > > > > > >> > > > > > > > I am imagining that it is just a relative > pathing > > > issue > > > > > > >> (remember > > > > > > >> > > if > > > > > > >> > > > > you > > > > > > >> > > > > > > are > > > > > > >> > > > > > > > loading a video/skin from within flash, that it > is > > > > > relative > > > > > > >> to > > > > > > >> > > your > > > > > > >> > > > > swf, > > > > > > >> > > > > > > not > > > > > > >> > > > > > > > your HTML page). > > > > > > > > >> > > > > > > > Aran > > > > > > > > >> > > > > > > > On Fri, Aug 13, 2010 at 1:34 PM, hcccs < > > > [email protected] > > > > > > > > >> wrote: > > > > > > >> > > > > > > > > I have done things according to the > documentation > > > and > > > > > I > > > > > > >> can't > > > > > > >> > > see > > > > > > >> > > > > the > > > > > > >> > > > > > > > > video, just a blank frame. > > > > > > >> > > > > > > > > I have the files pawnee.f4v, pawnee.swf and > > > > > > >> skin_etc_etc.swf in > > > > > > >> > > > > > > > > folder /movies/ and this is my test code: > > > > > > > > >> > > > > > > > > <!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> > > > > > > >> > > > > > > > > <meta http-equiv="Content-Type" > > > content="text/html; > > > > > > >> > > > > > > > > charset=ISO-8859-1" /> > > > > ... > > > > 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.
