• Resolved todaro

    (@todaro)


    Dear experts,

    For some strange reason YouTube videos embedded in my WP-made site don’t play when open with MS Internet Explorer.

    I’ve performed tests with IE 7 on a Windows XP machine and IE 6 on a Windows 98 machine. On both machines the video plays well when the browser is Firefox. The same video embedded in other sites also plays well with IE.

    Example: the following is a non-WP-made site on which the referred video runs OK with IE:

    https://www2.uol.com.br/macpress/noticias/c045s05823.shtml

    The same video on the following page of my WP-made site doesn’t play with IE:

    https://applemania.info/?p=78

    What can possibly be the cause and how to fix it?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I can’t make out the Spanish in the code – sorry (I’m a beginner – still learning. I can say “hi” and ask you how you are, though ?? ). But first, try logging in to your admin area, and under your options panel (I think – it’s somewhere in there) uncheck the “correct invalid XHTML”.

    If it’s already unchecked, try *not* using your visual rich editor. If you’re not, then the only other thing I can think of is that you need a script to allow IE to run the object. (IE was sued – and lost – by a company for infringing rights by allowing stuff like Flash, Java and other things to run on their sites. They tried to get around it by implementing an “update” that rendered all such objects unusable, unless the end user *specifically* allows it to run. There’s a javascript out there that circumvents this.)

    Try the other two options first, though.

    I also see that tags are getting wrapped around your <embed> code. There’s a fix for that – if you search the forum, you can probably find it. That could also be the issue.

    Thread Starter todaro

    (@todaro)

    Thanks doodlebee for your considerations.

    First, that language is not Spanish but Brazilian Portuguese. ??

    Anyway, it doesn’t seem to make much sense the need of a script or something like that to turn IE able to play YouTube embedded videos as, as I mentioned, it actually does play them on non-WP-made sites.

    The problem is WordPress, it seems.

    In the case of the non-WP-site the code for the video was published as follows:

    <p align="center"><object width="425" height="350"><param name="movie" value="https://www.youtube.com/v/qHO8l-Bd1O4"></param><param name="wmode" value="transparent"></param><embed src="https://www.youtube.com/v/qHO8l-Bd1O4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

    (Which is exactly like YouTube supplies the code.)

    But on my site WordPress does this after saving:

    <p align="center">
    <object width="425" height="350">
    <param name="movie" value="https://www.youtube.com/v/qHO8l-Bd1O4"></param>
    <param name="wmode" value="transparent"></param>
    <embed src="https://www.youtube.com/v/qHO8l-Bd1O4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

    What the differences are?

    1. Wrapping;

    2. An undesired “<p>” parameter in the middle of the code.

    Wrapping doesn’t seem to be the issue (please correct me if I’m wrong) but as WordPress won’t let me get rid of that <p> (it always puts it back there) I can’t test otherwise.

    Ideas will be greatly appreciated.

    Thanks!

    First, that language is not Spanish but Brazilian Portuguese. ??

    Thanks for correcting me ?? (Shows how much I know!)

    Anyway, it doesn’t seem to make much sense the need of a script or something like that to turn IE able to play YouTube embedded videos as, as I mentioned, it actually does play them on non-WP-made sites.

    Actually, yes it does.

    IE lost a lawsuit last year to a company for infringing on their rights to object and Application-X files (like Flash, QuickTime, Java, etc.) So back in April 2006, IE sent out a required “upgrade” to the browser that was installed that effectively disabled such plugins to run on websites. So the stuff works in all other browsers *except* IE. They did this to deflect some of the $500 Billion in damages they were ordered to pay.

    Many sites use the script I mentioned so that their videos *will* play on IE sites – TONS of sites now utilize this. There’s various ways to make it work (not *just* javascript – there’s other ways too), but if you can go to a site using IE and run Quicktime or Flash without having to expressly give the browser permission to display it, then they are using such a script (or similar method to let it pass through). If you don’t use it, they won’t play.

    But on my site WordPress does this after saving:

    Wrapping doesn’t matter.

    The <p> tag *might*.

    As I said, you can turn off your RTE to see if that helps, if it doesn’t, there’s a solution to getting the <p> tag removed – just look for it in the forums. (see previous reply, as I addresses *both* of those issues.)

    Thread Starter todaro

    (@todaro)

    Hello doddlebee,

    Thanks for your replies. I’ll try the script you mentioned as disabling RTE didn’t make any difference.

    In case you feel like willing to help me a little bit further please suggest me some keywords appliable to this case from which I can begin my search in the forums (please have in mind that I’m not an English native speaker). The kernel of the problem still seems a bit vague for me.

    Thanks a lot!

    Thread Starter todaro

    (@todaro)

    Doodlebee,

    Please forget what I said above. I found out the solution, which is ridiculously simple and doesn’t involve scripts or hacks or fixes of any kind.

    All I had to do is to replace

    <p align="center">

    By

    <div style="text-align: center">

    As simple as that!

    Now Internet Explorer is able to play YouTube videos embedded in my WordPress pages.

    As I said before, it doesn’t seem to me to make sense that websites should be adapted to show flash videos on IE. As a webmaster I haven’t ever faced such problem before even using the <p aling=”center”> parameter as I always did. This was the first time and, by chance, it happened with WordPress pages — for some strange reason, I must say.

    Thank you for your kind attention anyway.

    Regards!

    Glad you got it sorted ??

    if you are haveing a similar problem there is a really easy fix that just makes your life better in general. install this plugin and it creates a button for you in wordpress to put youtube/googlevideo and more in easy.
    https://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress, YouTube and Internet Explorer’ is closed to new replies.