Advanced search  

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

Pages: 1 ... 3 4 5 6 [7]   Go Down

Author Topic: Another FLV Player  (Read 263761 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Another FLV Player
« Reply #120 on: May 02, 2010, 08:57:30 am »

how to not autostart playing videos?
Either set your Coppermine configuration accordingly or hardcode autostart to false.
Logged

navpaks

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Another FLV Player
« Reply #121 on: May 20, 2010, 09:40:51 pm »

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:
Code: [Select]
$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):


Code: [Select]
$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
« Last Edit: May 21, 2010, 07:45:17 am by Joachim Müller »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Another FLV Player
« Reply #122 on: May 20, 2010, 09:51:57 pm »

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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

navpaks

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Another FLV Player
« Reply #123 on: May 21, 2010, 01:11:05 am »

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.
Logged

navpaks

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Another FLV Player
« Reply #124 on: May 22, 2010, 12:27:16 pm »

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
Logged
Pages: 1 ... 3 4 5 6 [7]   Go Up
 

Page created in 0.023 seconds with 20 queries.