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.swfworksand a big video plays > > > > with skin. > > > >http://www.strahle.eu/movies/pawnee.swfshowsonly 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 > > ... > > 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.
