954,178 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Content playing

Hello guys I'm new on this field!
I can't get my *.avi working with tag!!
Is there any other way to play diferent content (movies like)?Mybe some other script language like PHP? :cry:

pajac
Light Poster
33 posts since Jan 2005
Reputation Points: 10
Solved Threads: 0
 

you need to use the object tag and then use the embed tag with its application type like so: this will play mp3 files, just change the extensions and it should play avis too

<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="one..mpg"> 
<param name="animationatStart" value="true"> 
<param name="transparentatStart" value="true"> 
<param name="autoStart" value="true"> 
<param name="showControls" value="true"> 
<param name="Volume" value="-450"> 
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="one.mpg" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450> 
</object>


Eddie Traversa

DHTML Nirvana

http://dhtmlnirvana.com/

Spiritual Blog

http://www.truthrealization.com/

Eddie Traversa
Newbie Poster
20 posts since Jul 2005
Reputation Points: 11
Solved Threads: 0
 

TNX 100^n times!!
It's working. :mrgreen:

pajac
Light Poster
33 posts since Jan 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You