Dynamic rich media component for ASP.Net Flash, Video and Audio controls for C# and VB.Net
Welcome Guest Search | Active Topics | Members | Log In | Register

Firefox and IE8 problem Options · View
ipiret
Posted: Friday, July 09, 2010 3:58:33 PM
Rank: Member
Groups: Member

Joined: 2/2/2010
Posts: 13
Points: 39
Location: United Kingdom
Hi i am having problem with the following

<ASPNetFlash:Flash ID="Flash1" runat="server"
MovieURL="~/solvexxLearningPortal.swf"
AllowScriptAccess="SameDomain" DebugMode="false" Quality="Best"
WindowMode="Transparent" Alignment="center" Enabled="true"
Width="100%" Height="100%" HeightAutoDetect="false" WidthAutoDetect="false"
SwLiveConnect="True" ScaleMode="ShowAll" BackColor="#477d9f" >
<HTMLAlternativeTemplate>
<div class="noflash" style="height:385px; width:922px;">
<p>This site is designed to work best with the Flash player. Click here to
<a target="_blank" href="http://get.adobe.com/flashplayer/">get the Flash player</a></p>
</div>
</HTMLAlternativeTemplate>
</ASPNetFlash:Flash>

In IE7, Chrome and Safari it resizes neatly the swf to fit in the page. Though in Firefox the swf is simply not loaded, nothing appears and in IE8 it is squashed.

In order to have it work on all browsers, the following is currently deployed and can be seen at http://vle.theresultsacademy.com/
<ASPNetFlash:Flash ID="Flash1" runat="server"
MovieURL="~/solvexxLearningPortal.swf"
AllowScriptAccess="SameDomain" DebugMode="false" Quality="Best"
WindowMode="Transparent" Alignment="center" Enabled="true"
SwLiveConnect="True" ScaleMode="ShowAll" BackColor="#477d9f" >
<HTMLAlternativeTemplate>
<div class="noflash" style="height:385px; width:922px;">
<p>This site is designed to work best with the Flash player. Click here to
<a target="_blank" href="http://get.adobe.com/flashplayer/">get the Flash player</a></p>
</div>
</HTMLAlternativeTemplate>
</ASPNetFlash:Flash>

But really would want the first solution to work on Firefox and IE8, any ideas?

Jake
Posted: Saturday, July 10, 2010 5:57:45 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Please post a URL so we can help.



http://www.aspnetmedia.com
ipiret
Posted: Monday, July 12, 2010 5:42:47 PM
Rank: Member
Groups: Member

Joined: 2/2/2010
Posts: 13
Points: 39
Location: United Kingdom
ipiret
Posted: Monday, July 12, 2010 6:23:33 PM
Rank: Member
Groups: Member

Joined: 2/2/2010
Posts: 13
Points: 39
Location: United Kingdom
I have now deployed on the server the 3 possibilities:

# http://webinar.solvexx.com/default.aspx is using ASPNetFlash no resizing, works in all browsers (IE7 & 8, Chrome, Safari and Firefox)

# http://webinar.solvexx.com/default_resizebug.aspx is using ASPNetFlash with resizing, though only works in IE7, Chrome and Safari, but doesn't in IE8 and Firefox

# http://webinar.solvexx.com/defaultjs.aspx is NOT using ASPNetFlash only JS and embedded code though resizes in all browsers (IE7 & 8, Chrome, Safari and Firefox)

Hope that helps
ipiret
Posted: Tuesday, July 13, 2010 11:18:59 AM
Rank: Member
Groups: Member

Joined: 2/2/2010
Posts: 13
Points: 39
Location: United Kingdom
It seems to be related to the DOCTYPE, ie

# when using <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> it does not work in Firefox and IE8;

# when using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> it even works in Firefox and IE8!



Jake
Posted: Tuesday, July 20, 2010 6:08:51 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Hi

The problem is that the Flash element is collapsing to 0px height.

Try setting the control's height manually in pixels to start off with. Either using Height or Style.

http://www.aspnetmedia.com
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.