A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Youtube embeds not working in Explorer

  1. #1
    Senior Member
    Join Date
    Jun 2000
    Posts
    123

    Youtube embeds not working in Explorer

    Hello everyone! This is to ask if anybody has encountered this problem, it seems like a known issue for IE 8 but I can't get an straight solution. My site is in the final stages of development and this issue is causing me a skin rash:

    Using Internet Explorer, please let me know if you can see the embedded Youtube movies located at the right side of this page:
    http://animaxima.com/portfolio.htm

    Does anybody know why youtube embeds don't show in IE 8? any feasible workaround?

    Thanks in advance
    :: Animaxima :: Your company's art dept.
    www.animaxima.com

  2. #2
    Junior Member
    Join Date
    Sep 2010
    Posts
    21
    Sorry, couldn't see the Youtube movie.

    Usually, websites like YouTube give us boilerplate code that you can insert into your documents. YouTube's code goes like this:
    <object width="425" height="350">
    <param name="movie" value="http://www.youtube.com/v/AyPzM5WK8ys" />
    <param name="wmode" value="transparent" />
    <embed src="http://www.youtube.com/v/AyPzM5WK8ys"
    type="application/x-shockwave-flash"
    wmode="transparent" width="425" height="350" />
    </object>
    There are two things to note about this code:
    <embed> is not recognized by W3C, so if you want standards-compliant code, you'll have to get rid of it.
    The code is exactly the same for all instances, except for the identifier AyPzM5WK8ys which tells us which movie file to retrieve.



    Marcos Coon
    Last edited by MarcosCoon; 09-16-2010 at 10:17 PM.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    123
    thanks Marcos, that's exactly the code I'm using.

    There are other sites that display Youtube embeds in IE8 with no problem. I just want to find out what's wrong with mine.
    :: Animaxima :: Your company's art dept.
    www.animaxima.com

  4. #4
    Senior Member
    Join Date
    Sep 2010
    Posts
    324
    Don't know the exact cause of the problem but it seems security related. Testing the urls used in the post above and from source code of your site.

    http://www.youtube.com/v/AyPzM5WK8ys
    and
    http://www.youtube.com/v/CKY_FeJ_W4w..._US&fs=1&rel=0

    Both work fine when direct downloaded (url directly in address bar) in FF. But for both, IE throws up a security warning. Choose "open" and it still doesn't open right off, but refresh the page and it will then open in IE.
    Not sure how to fix that but will watch thread for the answer.
    Video Man

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center