Now I've given up the idea to get this with .f4v files to work. I could never figure out where to put the web.config file. I tried to put a small web.config file in the root directory but it screwed up everything. I have now tried with .flv and when I put all four files (pawnee.flv, expinstall.swf, pawnee.swf and pawnee.php in the same directory ( in this case /movies) everything works perfectly - with skin and all. I have then tried to change the urls in the pawnee.php to point at the 'movies' directory and put the file in the root directory where I think it belongs and then again - nothing works, just a white screen. I know that relative addresses with Flash is said to be tricky but this is too much. Is there a solution to this? After all, the basics work now so the solution can't be far away, or ...?
Hans Strahle On Sep 7, 11:12 pm, Aran Rhee <[email protected]> wrote: > That is out of the scope of this list Hans. A quick Google search turns up > results like > :http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-w... > > Have to definitely determined with godaddy support that it is in fact the > mime type which is blocking the ability to view the video file? > > Aran > > > > On Tue, Sep 7, 2010 at 2:26 PM, hcccs <[email protected]> wrote: > > The MIME type for f4v is not included in my hosting plan with > > GoDaddy.com. I asked them to tell me how to add it but I need to do it > > myself. This is what they say: "When using IIS 7 on your Windows > > hosting plan, you can add MIME Types through a customized web.config > > file." I thought that the web.config file ought to changed at their > > end. I can't even find one on my own local server so I don't know what > > it should look like. So, how do I do it? > > > Hans > > > On Sep 1, 12:26 am, Aran Rhee <[email protected]> wrote: > > > I don't know, but if you go to the below address, it comes up with a 404, > > > which means your server is not finding the file. > > > > Are you sure you uploaded this file to that location with the exact name > > > (case sensitive) ? > > > > What type of web server is it, and is it set up to handle .f4v mimetypes > > ? > > > (the mimetype tells the server what it should do with the file when that > > > type of file is requested). > > > > The mimetype for F4v is: > > > > video/mp4 > > > > as described here: > >http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.... > > > > Aran > > > > On Tue, Aug 31, 2010 at 3:57 PM, hcccs <[email protected]> wrote: > > > > How can it not find the file - it has been in the /movies directory > > > > for a week. I re-transferred it but the result is the same. > > > > Could it have anything to do with how the file is transferred. I added > > > > the .f4v and .swf extensions to Options - Transfer - ASCII filenames > > > > but it didn't make any difference. > > > > > Hans > > > > > On Aug 31, 10:00 pm, Aran Rhee <[email protected]> wrote: > > > > > 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.swfworksanda big video plays > > > > > > with skin. > > > > > >http://www.strahle.eu/movies/pawnee.swfshowsonlya 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 = {}; > > ... > > 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]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
