whenpenguinsattack.com

Friday, January 27, 2006

How to play a movie on your website

The following html code will allow you to play flash,quicktime,real meadia, or microsoft media files from your webpage.

Flash:






codebase=
'http://download.macromedia.com/pub/shockwave/cabs
/flash/swflash.cab#version=6,0,0,0'
width="320" height="240">




height="240" loop="true" type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>





Quicktime:






height="255" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>




controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>




REAL:













width="320" height="240">





loop="true" type='audio/x-pn-realaudio-plugin' controls='imagewindow' console='video' autostart="true">



width="320" height='30'>




controls='ControlPanel' type='audio/x-pn-realaudio-plugin' console='video' autostart="true">



Launch in external player




Microsoft media:








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'>






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="285"
src="http://yourpage/yourmovie" autostart="true" designtimesp='5311' loop="false">



Launch in external player

1 Comments:

  • Doesn't seem to look right in Firefox on a Mac

    By Anonymous Anonymous, at 8:22 AM  

Post a Comment

Links to this post:

Create a Link

<< Home