Silverlight object-tag problems in Firefox

Silverlight apps are embedded into web pages using the <object> tag. Now for some reason, Firefox refuses to instantiate the Silverlight application if the object-tag attributes are not in a certain order. As example, this won’t work in Firefox:

<object width="100%" height="100%" 
data="data:application/x-silverlight-2" type="application/x-silverlight-2">

One has to position the data and  type attributes first to make it work, like this:

<object data="data:application/x-silverlight-2" type="application/x-silverlight-2" 
width="100%" height="100%">

Strange bug..

Advertisements

0 Responses to “Silverlight object-tag problems in Firefox”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: