Another FLV Player - Page 7 Another FLV Player - Page 7
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Another FLV Player

Started by rphMedia, April 18, 2007, 02:40:41 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Αndré

Quote from: andy_cul on May 02, 2010, 04:04:59 AM
how to not autostart playing videos?
Either set your Coppermine configuration accordingly or hardcode autostart to false.

navpaks

#121
Hi Guys

I have intgrated this player into my site and would like to say thanks for your hard work.

I just have one small problem however.

I have 720 x 405 video and I have changed the code as you stated:

>
I think it would look fine, but if you want to change the size of the player permanantly, just input the dimensions in this line (2 places):

Change:
$pic_html = "<script type=\"text/javascript\" src=\"flashobject.js\"></script><div id=\"flashcontent\" style=\"width: 330px; height: 270px\"></div><script type=\"text/javascript\">var fo = new FlashObject(\"flvPlayer.swf\", \"animationName\", \"330\", \"270\", \"8\", \"#FFFFFF\");fo.addParam(\"allowScriptAccess\", \"sameDomain\");fo.addParam(\"quality\", \"high\");fo.addParam(\"FlashVars\", \"flvPath=$picture_url&flvTitle=$descript\");fo.addParam(\"wmode\", \"transparent\");fo.write(\"flashcontent\");</script>";


To (your dimensions):


$pic_html = "<script type=\"text/javascript\" src=\"flashobject.js\"></script><div id=\"flashcontent\" style=\"width: 480px; height: 360px\"></div><script type=\"text/javascript\">var fo = new FlashObject(\"flvPlayer.swf\", \"animationName\", \"480\", \"360\", \"8\", \"#FFFFFF\");fo.addParam(\"allowScriptAccess\", \"sameDomain\");fo.addParam(\"quality\", \"high\");fo.addParam(\"FlashVars\", \"flvPath=$picture_url&flvTitle=$descript\");fo.addParam(\"wmode\", \"transparent\");fo.write(\"flashcontent\");</script>";
>

substituting 720 and 405 in both places but it doesn't resize the player. It loads, sizes to the bottom of the screen and then bounces back where it was.

http://www.ampthill.tv/coppermine14x/displayimage.php?album=lastup&cat=3&pos=0

Can anyone help?

Thanks

Howard

phill104

Blimey, I didn't know Ampthill had a site (other than the weatherstation). Great village (I'm a Brogborough sailor) who even donated some cash to the windsurfing club.

Back to your problem, did you change the size of the video in it's properties?

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#edit_vids
It is a mistake to think you can solve any major problems just with potatoes.

navpaks

Well Phil, I'm glad you like my weather station. Ampthill is actually a town, not a village by the way.

Yes the properties of the file have been changed to 720 x 405 within coppermine.

navpaks

I've been moving and changing files about and the URL of one of the problem files has changed to

http://www.ampthill.tv/coppermine14x/displayimage.php?album=lastup&cat=3&pos=1

Thanks

Howard