Recently, I've noticed that I have a lot of tabs open in Firefox and taking up 700MB or more of memory. Things slow down. What to do? The PC has Win 7 x64 with 8GB of RAM. It might be time to move to the 64-bit version of Firefox and take advantage of the extra legroom on this system.
The problem is how to move the profile from my 32-bit version to the 64-bit "Minefield" beta edition of Firefox 4. The solution? Use the new Sync feature in FF 4, which allows you to store your bookmarks, etc., to a Firefox server, then load the information into another copy of Firefox.
If you open your old 3.6.13 version of Firefox, it, too, will pop up a box to ask if you want to sync things up. Then you can have this be your base version, which holds all your profile. Then when you open the beta 4.0 32-bit, it can pull in the data. And the 64-bit one can also pull the information, too. I'm new to it and haven't yet figured out how the form usernames/passwords are pulled in; the experts say we need to use the 32-bit edition awhile for the sync to pick up all the data.
Either way, this is a fantastic new addition to Firefox. It makes moving profiles so easy. Just ensure that you save your Firefox Sync Key somewhere that you can find it; all other browser versions will require that key to connect.
Some final thoughts: The 32-bit version of the Flash player won't work in the 64-bit version of Firefox; you'll need to download the preview version of Adobe's 64-bit player. In addition, some add-ons won't load via Firefox; you'll have to download the XPI then run them. Firebug loads fine using this technique.
Web application R&D notes, from the world of Java, Flex, CSS, XHTML, Flash, .NET, cross-browser compatibility, JavaScript, AJAX, ADA compliance, Photoshop, and any and all things related to Web development!
Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts
07 February 2011
13 September 2010
17 August 2010
Disappearing background image in the Web Developer plug-in for Firefox
One of the most powerful ways to view and edit the CSS of web sites on Firefox is the Web Developer extension. However, I recently noticed that when I selected Edit CSS from the extension's toolbar, the background images on the page disappeared.
Some research revealed a good thread on this issue. The problem had to do with the "../" notation in the stylesheet; changing these to be relative to the site root fixed the problem. For example, this:
Some research revealed a good thread on this issue. The problem had to do with the "../" notation in the stylesheet; changing these to be relative to the site root fixed the problem. For example, this:
background: transparentbecomes this:
url(../img/bg.png) no-repeat 0 0;
background: transparentThis is assuming that the background image is here:
url(/cms_prd/global/img/bg.png) no-repeat 0 0;
http://localhost/cms_prd/global/img/bg.png
29 July 2010
Firefox Environment Backup Extension
Back up Firefox profiles on Mac, Windows, and Linux with this handy plugin.
15 June 2010
OGV/OGG and the HTML5 player in Firefox
I tried playing an OGV video on Firefox using the new HTML5 video tag; the video played fine in the latest versions of Opera, Chrome, and Safari. But Firefox 3.6.3 would only show a big "X" -- no errors, nothing.
Some research revealed the answer: The video is being served as application/octet-stream. The other browsers can detect the type from the extension; Firefox, following good standards, is checking the mime type. The same issue existed on my localhost, with IIS running.
Solution is to add the OGV/OGG mime type to the server; different servers have different ways of doing this. For IIS, it's pretty simple. Follow the linked article, and simply replace the "Extension" with .ogg and the "MIME type" with application/ogg and restart IIS. Additional information on Firefox and mime type configuration can be found here. I recommend the OGG file extension and application/ogg mime type because they're included on Apache servers by default -- so no need to update configuration files and restart your production server.
But there's more to it. The type attribute on the source has to be shorter (this is a known Firefox bug). In addition, the OGG file has to be encoded correctly for it to work in all the browsers supporting the HTML5 video tag. The best encoding tool I've found thus far is FireFogg. It created the OGV that works like a charm on all the appropriate browsers (I just renamed the extension to OGG).
One last gotcha: IE doesn't like the source tag not being closed and will throw JavaScript errors; the other browsers don't care. So simply add a closing tag to the source tag and IE is happy. Now, why use a video tag in IE, when IE doesn't support that yet? Simple: The html5media library automatically replaces the video tag in unsupported browsers, such as IE, with the Flowplayer Flash player.
The final result is this; note the closing source tags; also, the MP4 source has to come first for it to work correctly on the iPhone/iPad:
Some research revealed the answer: The video is being served as application/octet-stream. The other browsers can detect the type from the extension; Firefox, following good standards, is checking the mime type. The same issue existed on my localhost, with IIS running.
Solution is to add the OGV/OGG mime type to the server; different servers have different ways of doing this. For IIS, it's pretty simple. Follow the linked article, and simply replace the "Extension" with .ogg and the "MIME type" with application/ogg and restart IIS. Additional information on Firefox and mime type configuration can be found here. I recommend the OGG file extension and application/ogg mime type because they're included on Apache servers by default -- so no need to update configuration files and restart your production server.
But there's more to it. The type attribute on the source has to be shorter (this is a known Firefox bug). In addition, the OGG file has to be encoded correctly for it to work in all the browsers supporting the HTML5 video tag. The best encoding tool I've found thus far is FireFogg. It created the OGV that works like a charm on all the appropriate browsers (I just renamed the extension to OGG).
One last gotcha: IE doesn't like the source tag not being closed and will throw JavaScript errors; the other browsers don't care. So simply add a closing tag to the source tag and IE is happy. Now, why use a video tag in IE, when IE doesn't support that yet? Simple: The html5media library automatically replaces the video tag in unsupported browsers, such as IE, with the Flowplayer Flash player.
The final result is this; note the closing source tags; also, the MP4 source has to come first for it to work correctly on the iPhone/iPad:
<video id="vid" width="372" height="209" poster="global/vid/historydetectives-poster.jpg" controls preload>
<source src="global/vid/historydetectives.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'></source>
<source src="global/vid/historydetectives.ogg" type='application/ogg'> </source>
</video>
04 June 2010
26 February 2010
18 February 2010
30 December 2009
23 December 2009
03 December 2009
27 November 2009
Subscribe to:
Posts (Atom)