Jump to content

Deploying a flash video player


MikeFloutier

Recommended Posts

Hi,Ok, thanks to all your help I've got my mp3 player working well on my wife's site so I've turned my thoughts to video.So far I've got the following code which will show an swf video file but I can't figure out how to get some controls to appear and the only way to stop it is leave the page.I guess it's a <param> of some kind but all the ones I've tried have no effect.Can anyone help me with this?ThanksMike

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="260" title="movie one">				  <param name="movie" value="hemet.swf" />				  <param name="quality" value="high" />				  <embed src="hemet.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="260"></embed>				</object>			  </p>			  <p>Can't see these movies? You need the latest Flash Plugin and a high speed internet connection. <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get Flash here</a> </p>

Link to comment
Share on other sites

The controls you might be looking for would have to be embedded in the flash movie - there are no flash player controls (other than on the context menu) that flash player uses.

Link to comment
Share on other sites

In the end I found an excellent Flash Video PLayer called "FlowPlayer" which has it's own site at http://flowplayer.sourceforge.net/ and can be downloaded from http://sourceforge.net/projects/flowplayer .It has a good set of transport controls and will accept playlists or single video (.flv) files. It is also skinnable.My only problem is that, in Firefox I can't get the controls to work but I'm sure that's just my newbie coding and hopefully I'll discover how to fix it soon.MikePs Oh and it's completely free btw!PPs Oh sorry I forgot to include the code and a URL. Here they are!

<div id="flowplayercode"><object type="application/x-shockwave-flash" data="FlowPlayer.swf" id="FlowPlayer">		<param name="allowScriptAccess" value="sameDomain" />	<param name="movie" value="FlowPlayer.swf" />	<param name="wmode" value="transparent" />	<param name="quality" value="high" />	<param name="flashvars" value="videoFile=hemet.flv&splashImageFile=left-image_splash.jpg&autoPlay=true" />	 </object></div><!--width="320" height="263" style="width:90%; height:80%;" these are now controlled by the CSS file. Firefox seems to have problems with the dimension styling. When using % for height and width it wont display the object at all. When using % for just the width it will display and autoplay but the controls are not operable-->

http://www.exhortations.co.uk/hemet.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...