youtube video does not show in Internet Explorer but is ok in FF (9 posts)

  1. bhcatiger
    Posted 7 years ago #

    youtube videos in my blog do not show when my blog is viewed in internet explorer. Where the video should be you only see a white field (with a red 'x' in the upper corner).

    However, everything works fine when viewed with firefox.

    How can I fix this?

    Thank you!!

  2. esmi
    Forum Moderator
    Posted 7 years ago #

    Site url?

  3. bhcatiger
    Posted 7 years ago #

    actually the blog is http://ForeverSmokefree.com/blog

  4. Shane G
    Posted 7 years ago #


    Assign require permissions to wp-contents folder and add require MIME Types in hosting control panel which may resolve the case..

    Also check with different theme


    Shane G.

  5. bhcatiger
    Posted 7 years ago #

    Shane G. -

    I really appreciate the advise, but I have NO idea what you are saying... lol.

    Also, I could not find a tab that says 'control panel'.

    Could you walk me through this?

    Thanks so much.

  6. marjoaho
    Posted 7 years ago #

    I have the same problem and have not found a solution anywhere on the internet. Also, I notice that when I go to other WP blogs I cannot see embedded video using IE (7 or 8) but using FF they appear just fine. Isn't theer anyone out there who has a solution to this apparently very common problem?

  7. Rhand
    Posted 6 years ago #

    I have a similar problem. I do not see Youtube movies embedded on WordPress blog in IE6. I know Youtube no longer supports Internet Explorer 6 and rightfully so, but I was hoping there was a solution to this issue anyways...

  8. Hpatoio
    Posted 6 years ago #

    I've the very same problem after updating my blog to versione 2.84 !

    I don't have any plugin to insert video but I use the standard button "Embed Media" in WYSIWYG Editor.

    I've noticed that the code inserted in the post in different from the previous version. Now an attribute classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" is added.

    I've noticed that also on TinyMCE forum people are talking about this

    If I delete "classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" from the code inserted by the "Embed Media" button the video show up.

    Now I've to figure out why they added this part in the generated code and how auto remove it.


  9. MartyThornley
    Posted 6 years ago #

    @hpatoio - thanks for finally pointing out a solution that worked. I've been struggling with this strange IE thing for a while now.

    I am trying to write a filter to automate the removal and I have it somewhat working. The problem is that every time I make the switch from HTML to visual editor, it adds that classid line back in.

    So I may be a bit redundant with some of the filters/actions I added this to, but I needed to make sure it works with excerpts, content, etc. Any ideas if I can eliminate some of the add_filter or add_action lines at the end? Or does it even matter and I can just keep them all?

    add the following to your functions.php and it seems to work:

    function clean_youtube ($content) {
    		$content = preg_replace ('/classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"/', '', $content);
    		return $content;
    add_filter('the_content', 'clean_youtube');
    add_filter('the_content_rss', 'clean_youtube');
    add_filter('the_excerpt', 'clean_youtube');
    add_filter('the_excerpt_rss', 'clean_youtube');
    add_filter('get_the_excerpt', 'clean_youtube'); 
    add_filter('content_edit_pre', 'clean_youtube');
    add_filter('content_save_pre', 'clean_youtube');
    add_filter('content_filtered_save_pre', 'clean_youtube');
    add_action('publish_post', 'clean_youtube');
    add_action('save_post', 'clean_youtube');
    add_action('edit_post', 'clean_youtube');

Topic Closed

This topic has been closed to new replies.

About this Topic