Windows Media Video Files not playing through

Discussion in 'Software' started by harper77, Nov 22, 2005.

  1. harper77

    harper77 Private E-2

    I have some videos that I am trying to play on-line with Windows Media Player. The movies are all about 60 to 70 megs each.

    Problem is that when they play they seem to stop in the middle do a "buffering" and sometimes just not continue.

    Can you please take a look at them and see if you experience the same issue as we do?

    http://realestatevideoguide.com/videos.htmWebsite here

    At a loss as to what to do. Here is the code I put in my HEADER AND HTML.


    THIS IS THE HTML INSERTION:

    <A
    HREF="#"
    ONCLICK="javascript:showwmv('The Beaches of Hilton Head', 'http://www.realestatevideoguide.com/video_wmv/thebeaches.wmv'); return false;"
    TITLE="Click here to view the Video in Windows Media 9 format"
    ONMOUSEOVER="status='The Beaches of Hilton Head Video Community Guide in Windows Media 9 format'; return true;"
    ONMOUSEOUT="status=''; return true;"><IMG
    SRC="http://www.realestatevideoguide.com/images/icon-windows.gif" WIDTH="25"
    HEIGHT="22" BORDER="0"
    ALT="The Beaches of Hilton Head Real Estate Video Community Guide"></A>


    THIS IS THE JAVASCRIPT HEADER;

    <SCRIPT LANGUAGE="JavaScript"><!--

    windowtitle = '';

    videoname = '';

    xMax = 0;

    yMax = 0;

    xOffset = 0;

    yOffset = 0;



    function centerWindow() {

    if (document.all) {

    xMax = screen.width;

    yMax = screen.height;

    } else {

    if (document.layers) {

    xMax = window.outerWidth;

    yMax = window.outerHeight;

    } else {

    xMax = 640;

    yMax=480;

    }

    }

    xOffset = (xMax - 320)/2;

    yOffset = (yMax - 261)/2;

    }



    function showmov(wintl,vidnme) {

    if (typeof vidwin != 'undefined') vidwin.close();

    centerWindow();

    vidwin = window.open('about:blank','','height=236,width=320,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');

    windowtitle = wintl;

    videoname = vidnme;

    setTimeout('displaymov()',500)

    }



    function displaymov() {

    doc = vidwin.document;

    doc.open('text/html');

    doc.write('<HTML>\n<HEAD>\n<TITLE>' + windowtitle + '<\/TITLE>\n<\/HEAD>\n');

    doc.write('<BODY bgcolor="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">\n');

    doc.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"\n');

    doc.write(' width="320" height="246"\n');

    doc.write(' codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n');

    doc.write('<param name="src" value="' + videoname + '">\n');

    doc.write('<param name="autoplay" value="true">\n');

    doc.write('<param name="controller" value="true">\n');

    doc.write('<param name="loop" value="false">\n');

    doc.write('<param name="bgcolor" value="#C3C3C3">\n');

    doc.write('<embed src="' + videoname + '" pluginspage="http://www.apple.com/quicktime/download/"\n');

    doc.write(' height="246" width="320" autoplay="true" loop="false" controller="true">\n');

    doc.write('</embed></object>\n<\/BODY>\n<\/HTML>');

    doc.close();

    }



    function showwmv(wintl,vidnme) {

    if (typeof vidwin != 'undefined') vidwin.close();

    centerWindow();

    vidwin = window.open('about:blank','','height=286,width=320,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');

    windowtitle = wintl;

    videoname = vidnme;

    setTimeout('displaywmv()',500)

    }



    function displaywmv() {

    doc = vidwin.document;

    doc.open('text/html');

    doc.write('<HTML>\n<HEAD>\n<TITLE>' + windowtitle + '<\/TITLE>\n<\/HEAD>\n');

    doc.write('<BODY bgcolor="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">\n');

    doc.write('<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"\n');

    doc.write(' standby="Loading Microsoft® Windows® Media Player components..."\n');

    doc.write(' type="application/x-oleobject"\n');

    doc.write(' codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">\n');

    doc.write('<param name="filename" value="' + videoname + '">\n');

    doc.write('<param name="AutoStart" value="true">\n');

    doc.write('<param name="ShowControls" value="true">\n');

    doc.write('<param name="ShowStatusBar" value="true">\n');

    doc.write('<param name="Autorewind" value="true">\n');

    doc.write('<param name="ShowDisplay" value="false">\n');

    doc.write('<embed src="' + videoname + '" width=320 height=286\n');

    doc.write(' type="application/x-mplayer2" name=MediaPlayer\n');

    doc.write(' autostart=1 showcontrols=1 showstatusbar=1 autorewind=1 showdisplay=0>\n');

    doc.write('</embed></object>\n<\/BODY>\n<\/HTML>');

    doc.close();

    }

    //--></SCRIPT>


    APPRECIATE ANY HELP HERE!

    HARPER
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds