Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to YouTube movie causes "Unknown runtime error" in IE6 and IE8 when inside a <P> block #1

Open
HammerNL opened this issue Feb 23, 2010 · 0 comments

Comments

@HammerNL
Copy link

The following HTML triggers an "Unknown runtime error" in at least IE6 and IE8. It works fine in FF3.5 and Chrome4.

<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github.com/chili-1.7.pack.js"></script>
<script type="text/javascript" src="http://malsup.com/jquery/jquery.metadata.v2.js"></script>
<script type="text/javascript" src="http://github.com/malsup/media/raw/master/jquery.media.js?v0.92"></script>
<script type="text/javascript" src="http://malsup.com/jquery/media/swfobject.js"></script>
<script type="text/javascript">

  $(function()
  {
    $('a.media').media();
  });

&lt;/script>

</head>

<body>

<P>Free text <A class="media {width:480, height:380, type:'swf'}" href="http://www.youtube.com/v/6MJCvHMtwE4" target=_blank>Palin video</A></P>

</body>

</html>

When I remove the <P> </P> tags around the link, everything works fine.

**DAMN: This site does not correctly handle postings that contain tags... hope you can read the posting anyway. If not, mail me, I'll send you the HTML by email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant