Log in

View Full Version : embeding video in html is not playing



vst
01-05-2010, 07:31 AM
Hi.. I am using the below code to embed my video to my site.It only shows the media player image, but the video is not playing. expecting yr kind help..:)
<OBJECT id=WindowsMediaPlayer1 width=320 height=264 hspace=5
vspace=5 classid=clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 border="5" align="middle">
<param name="URL" value="Baletaci.wmv" ref>
<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="50">
<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="-1">
<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="9260">
<param name="_cy" value="9790">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="264"
src="Baletaci.wmv" autostart="true" designtimesp='5311'>
</EMBED>
</OBJECT>

davelf
01-06-2010, 03:28 AM
it's really a long way to insert video, i don't really understand where the bug is.

have you ever try using this

http://flowplayer.org/tools/flashembed.html

I think, it's more simple. Gud Luck, sorry don't help you much.

smrnsmile
01-06-2010, 05:58 AM
try using this code:

<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<param name="filename" value="http://yourdomain/yourmovie.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

<embed type="application/x-mplayer2" src="http://media.pmcmovies.com/SixtiesLove.wmv" name="MediaPlayer" width=320 height=240></embed>

</object>

kaos
01-18-2010, 02:08 AM
Don't know where the bug is either... You could try the JW player. I use it for my site it it works great.

http://www.longtailvideo.com/

Hermes
02-04-2010, 04:37 PM
Not sure that'll help you much but you can search for an answer in these tutorials (http://*************/tutorial.html)