Firefox lags with youtube and .gif images

Everytime I try to watch a video on YouTube or even on other sites FireFox lags aprox every 10 seconds. Is annoying. The same thing happens with .gif images.
How can I fix this?
== This happened ==
Every time Firefox opened
== Always

This can be a problem with session restore.
Firefox stores session data every 10 seconds to make it possible to restore a crashed session.
If you have (security) software that interferes with that or have many tabs open then that cause cause a delay.
Some have reported that increasing the session store saving interval worked for them.
See:
http://kb.mozillazine.org/browser.sessionstore.interval
http://kb.mozillazine.org/Session_Restore

Similar Messages

  • Problem with youtube and other video websites

    I have a problem with youtube and other video websites:
    Everything is up to date (flash, FF, my plug ins..) but i keep getting freezes when the video loads. I can hear sound but i can only see the first frame of the video.
    I've reinstalled flash/firefox or tried updating them again for about 4 times now and my cookies/cache has also been errased which i usually don't do. If i enter FF's safe mode it also freezes.
    I hope someone could help out, i've searched for answer on google before and tried everything i saw but it didn't helped.
    grts,
    agrash

    Hmm, so that person had a conflicting plug in.
    Problem is that whenever i enter firefoxes safe mode which disables every plug in, i still have the youtube freeze/crash

  • How to decoding and encoding PNG and GIF images?

    I could decode and encode JPEG images using following create functions which are in com.sun.image.codec.jpeg package.
    JPEGImageDecoder decoder = JPEGCodec          .createJPEGDecoder(inputStream);
    JPEGImageEncoder encoder = JPEGCodec                    .createJPEGEncoder(outputStream);
    But I dont know required package and functions to decode and encode PNG and GIF images. Please help me.

    Is the API that hard to follow?
    ImageIO.read( file/stream/url)
    ImageIO.write( image, format (e.g. PNG, GIF(1), JPEG), file/stream what have you)
    1) Not sure if Java supports GIF saving, it might if you install JAI, or Java 6.

  • I´ve made four Columns with text and an Image over the middle of two columns. How do I put a text u

    I´ve made four Columns with text and an Image over the middle of two columns. How do I put a text under the Image that spans over the Columns?

    Did you mean that?
    or
    Did you mean that?
    Let me know.

  • My apple TV dosent work anymore with youtube and netflix?

    my apple TV dosent work anymore with youtube and netflix? Use to work but not anymore, the rest of the apple tv works fine... I reboot everything....

    Allfilms,
    Try logging out of your Netflix and YouTube accounts and see if that will work.  If not, a common reset should solve the problem.
    Depending on the generation, you should be able to restart the Apple TV through the ,"General" option on your menu.
    http://support.apple.com/kb/ht3180  --> see this link in regards to reset. 
    Let us know how it turns out.

  • HT5117 I am producing an ibook with video and jpg images, what sizes should they be?

    I am producing an ibook with video and jpg images, what sizes should they be?
    <Image Edited by Host>

    I and others answered a similar question only  yesterday.
    There are also many other similar posts and it is advised we first check out "our"  problem by doing a search.
    I also  suggest you download "iBookstore Asset Guide 5" its a pdf and contains all the  information you  ask for.

  • Load, crop and saving jpg and gif images with JFileChooser

    Hello!
    I wonder is there someone out there who can help me with a applic that load, (crop) and saving images using JFileChooser with a simple GUI as possible. I'm new to programming and i hope someone can show me.
    Tor

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.filechooser.*;
    import javax.swing.filechooser.FileFilter;
    public class ChopShop extends JPanel {
        JFileChooser fileChooser;
        BufferedImage image;
        Rectangle clip = new Rectangle(50,50,150,150);
        boolean showClip = true;
        public ChopShop() {
            fileChooser = new JFileChooser(".");
            fileChooser.setFileFilter(new ImageFilter());
        public void setClip(int x, int y) {
            clip.setLocation(x, y);
            repaint();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(image != null) {
                int x = (getWidth() - image.getWidth())/2;
                int y = (getHeight() - image.getHeight())/2;
                g2.drawImage(image, x, y, this);
            if(showClip) {
                g2.setPaint(Color.red);
                g2.draw(clip);
        public Dimension getPreferredSize() {
            int width = 400;
            int height = 400;
            int margin = 20;
            if(image != null) {
                width = image.getWidth() + 2*margin;
                height = image.getHeight() + 2*margin;
            return new Dimension(width, height);
        private void showOpenDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    image = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("Read error for " + file.getPath() +
                                       ": " + e.getMessage());
                    image = null;
                revalidate();
                repaint();
        private void showSaveDialog() {
            if(image == null || !showClip)
                return;
            if(fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                String ext = ((ImageFilter)fileChooser.getFileFilter()).getExtension(file);
                // Make sure we have an ImageWriter for this extension.
                if(!canWriteTo(ext)) {
                    System.out.println("Cannot write image to " + ext + " file.");
                    String[] formatNames = ImageIO.getWriterFormatNames();
                    System.out.println("Supported extensions are:");
                    for(int j = 0; j < formatNames.length; j++)
                        System.out.println(formatNames[j]);
                    return;
                // If file exists, warn user, confirm overwrite.
                if(file.exists()) {
                    String message = "<html>" + file.getPath() + " already exists" +
                                     "<br>Do you want to replace it?";
                    int n = JOptionPane.showConfirmDialog(this, message, "Confirm",
                                                          JOptionPane.YES_NO_OPTION);
                    if(n != JOptionPane.YES_OPTION)
                        return;
                // Get the clipped image, if available. This is a subImage
                // of image -> they share the same data. Handle with care.
                BufferedImage clipped = getClippedImage();
                if(clipped == null)
                    return;
                // Copy the clipped image for safety.
                BufferedImage cropped = copy(clipped);
                boolean success = false;
                // Write cropped to the user-selected file.
                try {
                    success = ImageIO.write(cropped, ext, file);
                } catch(IOException e) {
                    System.out.println("Write error for " + file.getPath() +
                                       ": " + e.getMessage());
                System.out.println("writing image to " + file.getPath() +
                                   " was" + (success ? "" : " not") + " successful");
        private boolean canWriteTo(String ext) {
            // Support for writing gif format is new in j2se 1.6
            String[] formatNames = ImageIO.getWriterFormatNames();
            //System.out.printf("writer formats = %s%n",
            //                   java.util.Arrays.toString(formatNames));
            for(int j = 0; j < formatNames.length; j++) {
                if(formatNames[j].equalsIgnoreCase(ext))
                    return true;
            return false;
        private BufferedImage getClippedImage() {
            int w = getWidth();
            int h = getHeight();
            int iw = image.getWidth();
            int ih = image.getHeight();
            // Find origin of centered image.
            int ix = (w - iw)/2;
            int iy = (h - ih)/2;
            // Find clip location relative to image origin.
            int x = clip.x - ix;
            int y = clip.y - iy;
            // clip must be within image bounds to continue.
            if(x < 0 || x + clip.width  > iw || y < 0 || y + clip.height > ih) {
                System.out.println("clip is outside image boundries");
                return null;
            BufferedImage subImage = null;
            try {
                subImage = image.getSubimage(x, y, clip.width, clip.height);
            } catch(RasterFormatException e) {
                System.out.println("RFE: " + e.getMessage());
            // Caution: subImage is not independent from image. Changes
            // to one will affect the other. Copying is recommended.
            return subImage;
        private BufferedImage copy(BufferedImage src) {
            int w = src.getWidth();
            int h = src.getHeight();
            BufferedImage dest = new BufferedImage(w, h, src.getType());
            Graphics2D g2 = dest.createGraphics();
            g2.drawImage(src, 0, 0, this);
            g2.dispose();
            return dest;
        private JPanel getControls() {
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            gbc.gridwidth = GridBagConstraints.REMAINDER;
            panel.add(getCropPanel(), gbc);
            panel.add(getImagePanel(), gbc);
            return panel;
        private JPanel getCropPanel() {
            JToggleButton toggle = new JToggleButton("clip", showClip);
            toggle.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    showClip = ((AbstractButton)e.getSource()).isSelected();
                    repaint();
            SpinnerNumberModel widthModel = new SpinnerNumberModel(150, 10, 400, 1);
            final JSpinner widthSpinner = new JSpinner(widthModel);
            SpinnerNumberModel heightModel = new SpinnerNumberModel(150, 10, 400, 1);
            final JSpinner heightSpinner = new JSpinner(heightModel);
            ChangeListener cl = new ChangeListener() {
                public void stateChanged(ChangeEvent e) {
                    JSpinner spinner = (JSpinner)e.getSource();
                    int value = ((Number)spinner.getValue()).intValue();
                    if(spinner == widthSpinner)
                        clip.width = value;
                    if(spinner == heightSpinner)
                        clip.height = value;
                    repaint();
            widthSpinner.addChangeListener(cl);
            heightSpinner.addChangeListener(cl);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            gbc.weightx = 1.0;
            panel.add(toggle, gbc);
            addComponents(new JLabel("width"),  widthSpinner,  panel, gbc);
            addComponents(new JLabel("height"), heightSpinner, panel, gbc);
            return panel;
        private void addComponents(Component c1, Component c2, Container c,
                                   GridBagConstraints gbc) {
            gbc.anchor = GridBagConstraints.EAST;
            c.add(c1, gbc);
            gbc.anchor = GridBagConstraints.WEST;
            c.add(c2, gbc);
        private JPanel getImagePanel() {
            final JButton open = new JButton("open");
            final JButton save = new JButton("save");
            ActionListener al = new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    JButton button = (JButton)e.getSource();
                    if(button == open)
                        showOpenDialog();
                    if(button == save)
                        showSaveDialog();
            open.addActionListener(al);
            save.addActionListener(al);
            JPanel panel = new JPanel();
            panel.add(open);
            panel.add(save);
            return panel;
        public static void main(String[] args) {
            ChopShop chopShop = new ChopShop();
            ClipMover mover = new ClipMover(chopShop);
            chopShop.addMouseListener(mover);
            chopShop.addMouseMotionListener(mover);
            JFrame f = new JFrame("click inside rectangle to drag");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(chopShop));
            f.getContentPane().add(chopShop.getControls(), "Last");
            f.pack();
            f.setLocation(200,100);
            f.setVisible(true);
    class ImageFilter extends FileFilter {
        static String GIF = "gif";
        static String JPG = "jpg";
        static String PNG = "png";
        // bmp okay in j2se 1.5+
        public boolean accept(File file) {
            if(file.isDirectory())
                return true;
            String ext = getExtension(file).toLowerCase();
            if(ext.equals(GIF) || ext.equals(JPG) || ext.equals(PNG))
                return true;
            return false;
        public String getDescription() {
            return "gif, jpg, png images";
        public String getExtension(File file) {
            String s = file.getPath();
            int dot = s.lastIndexOf(".");
            return (dot != -1) ? s.substring(dot+1) : "";
    class ClipMover extends MouseInputAdapter {
        ChopShop component;
        Point offset = new Point();
        boolean dragging = false;
        public ClipMover(ChopShop cs) {
            component = cs;
        public void mousePressed(MouseEvent e) {
            Point p = e.getPoint();
            if(component.clip.contains(p)) {
                offset.x = p.x - component.clip.x;
                offset.y = p.y - component.clip.y;
                dragging = true;
        public void mouseReleased(MouseEvent e) {
            dragging = false;
        public void mouseDragged(MouseEvent e) {
            if(dragging) {
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                component.setClip(x, y);
    }

  • Firefox 7.0.1 problems with Youtube and exit "x" button

    When I am on Firefox, I can't click on the "-"minimize or "x" exit button, I have to right-click in order to minimize or close the screen, also, when I am on Youtube and I click on a video it will start playing fine, but when I try to hit Play/Pause button, skip through video, adjust volume, change quality, or enter full-screen the buttons don't work, the cursor won't even change to a hand. This only happens when I am on Firefox, when I am on IE it works fine.

    I came across this and it worked for me.
    GMail entire message content missing (blank) after header title
    In Firefox, if you have "Adblock Plus" extension.
    1. "Ctrl+Shift+F" Preferences (or right click on ADP symbol, and choose preferences)
    2. 'Filters' menu > "Update all subscriptions"
    reference: https://support.mozilla.com/questions/896267

  • Web of Trust no longer working with google and bing image searches

    Hello All,
    I have searched and searched but have not found an answer that matches my specifics. Any help would be appreciated.
    I used to be able to do this but now I can no longer search and browse images on google or bing image search and have Web of Trust function. Here is how I am going about it.
    What I use:
    DuckDuckGo's annoymous google or bing image search link when I enter querries. Also, searching directly from Google's or Bing's image search page doesn't work with WOT anymore either.
    Firefox 23.0.1
    The following add-on's:
    Add-block plus 2.3.2
    BetterPrivacy 1.68
    Flagfox 4.2.12
    Ghostery 5.0.4
    Google/Yandex search link fix 1.4.1
    No Script 2.6.7.1
    Web of Trust 20130515
    If anyone has a fix for this please let me know.

    I guess what I learned is that sometimes the best solution is to do nothing and wait for the problem to solve itself! Funny, this has never worked for me before.
    WOT is now working for me but often for only the first few rows of images. That's cool that it is also working with bing images.
    Boudica, thanks for understanding. I am new contributor/ question-asker here on mozilla and may not understand how things are done. I was just frustrated, getting an email saying that my question was answered, logging in to find that it wasn't.
    Now we have the functionality that we wanted, right?

  • Problem with Youtube and Flashplayer : some options are not responding anymore

    I have a very strange problem since few days only on Youtube (other famous flashvideo websites are working without problem) I tried many things already without success.
    I can still play videos on youtube, excepted the buttons under the player are not responding AT ALL. I can still see them but it's not responding (or for exemple when Im going on the youtube player "Sound" icon the bar volume doesn't appear)
    I tried already to uninstall flashplayer and update it to the last version (10...38) but no changes. I have the same problems on all browers (IE; Firefox and Chrome). I also reset all Firefox and IE without success. Reinstall Java. And I have the last drivers for my graphic ard AMD. 
    Here is a few pics to show my problem : 
    You can see clearly that the button for resolution doesn't appear at all. 
    Picture of my youtube player : 
    on Firefox :
    http://imageshack.us/photo/my-images/607/firefoxu.jpg/ 
    on IE
    http://imageshack.us/photo/my-images/225/29761205.jpg/ 
    Quite strange also on IE you can see that there is a kind of bar who seems to block me the access to the control of the youtube player icons : 
    http://imageshack.us/photo/my-images/812/ie2q.jpg/ 
    Im on Windows 7 64Bits, but i'm using the 32Bits version of Firefox and IE, I tried also to turn OFF my Avast Antivirus and my firewall. But no changes. 
    If anyone has an idea, i would really appreciate because even if i can still watch video, i cannot change the audio volume of it and change the resolution or even activate the google subtitles options. The only icons who are responding on the youtube players are the two on the right (to enlarge the screen). 
    Regards, 
    Yann

    Yamoona wrote:
    Here is a few pics to show my problem
    Images are good to document a problem, butI don't see any images in your post.  Use the camera icon to insert images into a post.

  • Issue with Youtube and Flash Player, videos don't play after a while

    When I go to Youtube I can watch videos, but after I've player 5 or 6, when I select the next one, I get a snowy screen with a message "The Adobe Flash Player is required for video playback. Get the latest Flash Player".  Issues is I already have the latest Flash Player, and it was playing fine just a minute ago. But from then on I cannot play more videos until I restart the computer. I'm tired of reinstalling Flash every day.
    Win 7 64 bits, IE 9 and Firefox (happens with both)
    Flash Player 11.7.700.202
    Apparently the browser at first recognizes that Flash is installed, but then it doesn't find it anymore. Not sure how that happens.

    strangest thing...  a few 'non-youtube' sites still work ok, but still complain 'no javascript' ..
    so went to firefox (v17.0.4 ESR) 'tools, options, content' and yup,  javascript UNTICKED!!   :O :O  my bad memory? something else???  {shrugs}
    ticked it, now ok........  think im getting old??????  ROFL..

  • Apple Tv does not work with youtube and movies on iphone or ipad

    I am on my 2nd generation apple TV. Always worked with Youtube, my iphones and ipads and Netflix.
    I think it started about a month ago.  I can only use Netflix.
    If I try YouTube and select a video (even if small) it just keep spinning and never starts.
    The same thing happens with my video from iphone 5S, 5, and ipad 2.
    Than I went to my sons house with a Apple TV 3rd generation and different wifi,
    same thing happens, I can not show a video from my iPhone 5S.
    What is going on, did Apple TV change something?
    Is this a update that went wrong?
    (I have auto update and also checked manually to make sure have latest apple TV FW)
    (All iphone and ipads are latest FW).

    Hi pcorsaro,
    You may need to restore your Apple TV and see if the issue is resolved after that process:
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    http://support.apple.com/kb/ht4367
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • How do I fix problem with linked and cropped image frames not printing properly when spanning pages?

    We are using InDesign (ID) to develop and print church bulletins which contain a combination of text frames and graphics. One of the graphic types we use are TIF files which are high-resolution scans of hymns.
    A hymn usually has a combination of the musical score, plus the lyrics - with many verses., so the modular structure is 'staff' composed of a treble clef, followed by verses, followed by a base clef.
    If the example above had 6 verses instead of one, we would crop the image by adjusting the frame, so that the treble clef and the desired verses showed through the frame.
    We would then copy and link the frame - piggy back - adjusting the next content window etc....so we build a custom version of the music as a series of linked frames - each with the same base image, but a different frame position.
    So this works fine, when we do this on a single page, but when we then add a 'last staff' at the top of the following page, we encounter print problems with some output devices.
    Imagine a two-page spread, with a full page of music on the left, and the last staff (treble clef, verses, base clef) unit as a separately linked frame at the top of the right page of the spread.
    It displays correctly, and will print individually as pages correctly, but when we print it as a booklet, the last frame drops out and we have blank space.
    I can print the document to PDF and it works fine, but if I print it to a copier or laser printer I get drop out.
    It is inconsistent.
    Previews are always okay. Individual page prints are okay, but when you print the entire document, the last frame in this kind of linked series gets blanked.
    If we create and name the image differently, and call it in as a new image - (not linked to the previous), but it is still a large image that is cropped to a small piece, then it doesn't print.
    If we save the last frame as a different image type (take the TIFF file into photoshop, crop it and save it as a jpg - so it is only the 'snippet') and then import it, it works fine.
    So my question to you InDesigners....is there some setting or tip or trick I need to know to be able to link a series of frames with the same base image, but different crops and make it span across two pages properly.
    Or do we need to play this game of crop and trim the image so that it doesn't drop out?
    Any thoughts, advice, direction would be gratefully received!

    I did a lot of such hymn things in the past, but I was alway working on the scans in Photoshop, like adjusting, retouching spots and cropping. And I was always seperating those images to be more flexible so I never run into such a problem.
    I am always scanning in a higher quality level than I would need, I scan it in color, this allows me to eliminate paper color easily, even if I need 1-bit images at the end, I do it in color, so I can also turn the image.
    I did once run into a similar problem with a scan I have got from a copier-scanner machine (it was not a song). But saving as PSD resolved my problem.
    So I would suggest: Open your files in Photoshop, resave them as PSD files and use those instead. If you use 1-bit images (which is fine for this type of images) you should use a resolution equal to the printer's resolution.

  • Enhanced Podcast Playback, with chapters and useable images?

    I'm having trouble streaming enhanced podcasts from my iTunes PC to my Apple TV (software v.2.0). The audio plays, but there are no chapter markers show and no images.
    If I sync the enhanced podcast I get the images (without any obvious chapter markers). The problem with this is that the images are displaced in the "angled" box next to the playtime line on the AppleTV. This is OK for some images, but useless for some that are presentation slides, e.g. in the excellent Jeff Curto photography history podcasts. http://photohistory.jeffcurto.com/
    has anyone any suggestions on how I can view the slides "face on" and preferably full screen?
    Thanks
    Martin

    I have been having a similar problem too. I have noticed that the enhanced podcast works on ipods, laptops, etc but I have yet to see it work correctly on Apple TV. The more I look into the problem... the more I begin to believe it is a bug with Apple TV.
    I am hoping an answer comes up very soon or even an update.

  • Problems with YouTube and Facebook Videos

    Error message something like 'Unable to play video, please retry'.. and that's for ANY video and no matter how many times I retry it fails.I have been having this problem for weeks with both YouTube and Facebook, and both apps have been updated a few times in that time. The last few days I had a notification to update to latest firmware, so today I updated then completely factory reset even erasing data.. And still the problem persists. It's really annoying... Only way to get it to work is reboot the Tablet. Clearing cache and data does not work. Current YouTube version is 10.28.59Current Facebook version is 39.0.0.36.238My Z2 tablet is SGP 511On Android lollipop 5.1.1Build 23.4.A.0.546

    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    If the issue should still remain I think that this needs to be examined and fixed at a repair center. For more information about how to submit your phone for repair and where, contact your local support team.

Maybe you are looking for