Results 1 to 4 of 4

Thread: Windows media playback

  1. #1
    Xstr8guy
    Guest

    Windows media playback

    Is there code to put in an embedded .wmv that will stop it from playing automatically? I have a big sample video on a tour page but I don't want it to start playing unless it is clicked. Or is it something that must be done to the video as it's encoded? I'm using Vegas to encode vids.


  2. #2
    Paco
    Guest
    I assumed this is for the vid on http://www.uknakedmen.com/videos.html (what a hot site, BTW).
    -----------------

    I am somewhat positive all you have to do is add
    <param name="AutoStart" value="false">

    .. after your
    <param name="FileName" value="videos/naked-men.wmv">

    I hope that is correct, or that it at the least kick-starts something (uh, idea, thought etc).

    If not, you may slap me!


  3. #3
    Xstr8guy
    Guest
    Thanks for the compliment and tip Paco. It worked in IE but FF still autoplays.


  4. #4
    Servhot
    Guest
    Quote Originally Posted by Xstr8guy
    Thanks for the compliment and tip Paco. It worked in IE but FF still autoplays.
    Of course, for mozilla based browsers you have to put it into the embeded code parameters, just a sample below:

    Code:
    <OBJECT id="Windows Media Player" 
    	codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 
    	type=application/x-oleobject 
    	height=582 
    	standby="Bitte warten ... Video wird geladen !" 
    	width=640 
    	align=center 
    	classid=clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6>
    		<PARAM NAME="URL" VALUE="http://yoururltothevideo">
    		<PARAM NAME="rate" VALUE="1">
    		<PARAM NAME="balance" VALUE="0">
    		<PARAM NAME="currentPosition" VALUE="0">
    		<PARAM NAME="defaultFrame" VALUE="">
    		<PARAM NAME="playCount" VALUE="1">
    		<PARAM NAME="autoStart" VALUE="-1">
    		<PARAM NAME="currentMarker" VALUE="0">
    		<PARAM NAME="invokeURLs" VALUE="-1">
    		<PARAM NAME="baseURL" VALUE="">
    		<PARAM NAME="volume" VALUE="75">
    		<PARAM NAME="mute" VALUE="0">
    		<PARAM NAME="uiMode" VALUE="full">
    		<PARAM NAME="stretchToFit" VALUE="1">
    		<PARAM NAME="windowlessVideo" VALUE="0">
    		<PARAM NAME="enabled" VALUE="-1">
    		<PARAM NAME="enableContextMenu" VALUE="false">
    		<PARAM NAME="fullScreen" VALUE="0">
    		<PARAM NAME="SAMIStyle" VALUE="">
    		<PARAM NAME="SAMILang" VALUE="">
    		<PARAM NAME="SAMIFilename" VALUE="">
    		<PARAM NAME="captioningID" VALUE="">
    		<PARAM NAME="enableErrorDialogs" VALUE="0">
    		<PARAM NAME="_cx" VALUE="13758">
    		<PARAM NAME="_cy" VALUE="11906">
            <embed  type="application/x-mplayer2" 
    			pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" 
    			ID="Windows Media Player" 
    			align="middle" 
    			width="640" 
    			height="520" 
      			src="http://yoururltothevideo" 
    			autostart="true">
    		</embed>
    	</OBJECT>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •