netscape doesn't load wmv file

  • emac
  • Born
  • Born
  • No Avatar
  • Joined: Apr 07, 2004
  • Posts: 4
  • Status: Offline

Post April 7th, 2004, 9:56 pm

the site is http://www.thelastlaugfl.com when you view it in IE the link to the video in the pop-up works fine, i netscape it just shows you a bunch of jiberish. any suggestions. I have the page onLoad on an image in the menus which is in a javascript comand, does this have anything to do with it? I'm a newbie at best and just started doing this site so any help is greatly appreciated. thx
emac
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 7th, 2004, 9:56 pm

  • Nunzio390
  • Student
  • Student
  • User avatar
  • Joined: Mar 22, 2004
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)
  • Status: Offline

Post April 8th, 2004, 3:49 am

Quote:
when you view it in IE the link to the video in the pop-up works fin

Not true at all. Doesn't work for me in IE and may not work for others either. Why? Because you are merely linking to the WMV file itself and that causes the movie to either not play at all, play in whatever local media player is designated to play that file-type on the end-user's system, or "possibly" play within a browser window (no guarantees).

Instead of using what you have now, use Windows Media Player object and embed controls (for cross-browser compatability), to allow the video to play and work perfectly in all major browsers (eg: MSIE, Netscape/Mozilla, and Opera browsers). I use this technique at my Wacky Videos page at my site.

In your case I have created a working example (specifically for use at your site). This will open a new "pop-up" window with WMP object and embed controls, and will work in all browsers.

Working example for your site

OK. First thing you do is create a new page with this content...

Code: [ Download ] [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>JMFINAL</title>
<style type="text/css">
body {
padding-top:0;
padding-bottom:0;
padding-left:0;
padding-right:0;
margin-top:0;
margin-bottom:0;
margin-left:0;
margin-right:0;
background-color: #000000;
}
</style>
</head>
<body>
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/ en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="256">
<param name="fileName" value="http://thelastlaughfl.com/JMFINAL.wmv">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-20">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://thelastlaughfl.com/JMFINAL.wmv" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-20>
</object>
</body>
</html>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  5. <title>JMFINAL</title>
  6. <style type="text/css">
  7. body {
  8. padding-top:0;
  9. padding-bottom:0;
  10. padding-left:0;
  11. padding-right:0;
  12. margin-top:0;
  13. margin-bottom:0;
  14. margin-left:0;
  15. margin-right:0;
  16. background-color: #000000;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/ en/nsmp2inf.cab#Version=5,1,52,701"
  22. standby="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="256">
  23. <param name="fileName" value="http://thelastlaughfl.com/JMFINAL.wmv">
  24. <param name="animationatStart" value="true">
  25. <param name="transparentatStart" value="true">
  26. <param name="autoStart" value="true">
  27. <param name="showControls" value="true">
  28. <param name="Volume" value="-20">
  29. <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://thelastlaughfl.com/JMFINAL.wmv" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-20>
  30. </object>
  31. </body>
  32. </html>


Name the above new page to JMFINAL.htm.

Next, you need to change/modify a line within your http://www.thelastlaughfl.com/dvd.htm page.
Change this exsiting line...

Code: [ Download ] [ Select ]
<a href="http://thelastlaughfl.com/JMFINAL.wmv" target="_blank" onMouseOut="MM_nbGroup('out');" onMouseOver="MM_nbGroup('over','Jackpoppic_r2_c2','Jackpoppic_r2_c2_f2.jpg','Jackpoppic_r2_c2_f4.jpg',1);" onClick="MM_nbGroup('down','navbar1','Jackpoppic_r2_c2','Jackpoppic_r2_c2_f3.jpg',1);">


to this instead...

Code: [ Download ] [ Select ]
<a href="http://thelastlaughfl.com/JMFINAL.htm" onMouseOut="MM_nbGroup('out');" onMouseOver="MM_nbGroup('over','Jackpoppic_r2_c2','Jackpoppic_r2_c2_f2.jpg','Jackpoppic_r2_c2_f4.jpg',1);" onClick="window.open(this.href,'JMFINAL','top=50,left=50,width=280,height=257,toolbar=no,menubar=no,location=no, scrollbars=no,resizable=no');return false;">


Let me know when you have it all right so that I can remove the temp file I uploaded to my server.
  • Nunzio390
  • Student
  • Student
  • User avatar
  • Joined: Mar 22, 2004
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)
  • Status: Offline

Post April 12th, 2004, 3:08 pm

emac...

Received your PM. Glad to see it worked. :)

Temp files have been removed from my server.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 93 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.