flv player help. flv player help.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

flv player help.

Started by hkr, April 16, 2008, 08:35:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hkr

hi,
i installed the flv player,added file type using the file type editor, after uploading flv's the player buffers the video but it dosent start playing. what could be wrong?

thnx..

Joachim Müller

Posting a link to your gallery might be a good start, as we're not mind readers.


Joachim Müller

This is the generated ouput:<object id="SWFlash"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" width="320" height="285"><param name="autostart" value="true" /><param name="src" value="albums/testflv/Pulsar_Mania-_Awesome_TV_Commercial_of_Bajaj_Pulsar.flv" /><embed width="320" height="285" src="albums/testflv/Pulsar_Mania-_Awesome_TV_Commercial_of_Bajaj_Pulsar.flv" autostart="true" type="application/x-shockwave-flash" ></embed></object>Are you sure that it is correct?

Nibbler

You might need to adjust your apache configuration; the file is being sent as 'text/plain'.

hkr

could you pls tell me what must I do in my apache config? I hav added flv to mime types already.

thnx..

Nibbler


hkr

when i change the player type from "flash" to "window media player" the flv plays fine, but after that if i click on any link to go away from that page my browser freezes and crashes...any idea why this happens? thnx..

hkr

My host said the foll to me when i asked them about streaming flv's

Quote
With bluehost you will have to use the progressive download option. It is one of the availible options when you insert and display an FLV file in your HTML documents using the Flash Video component. You will also have to add a mime type either with the mime type icon or via the htaccess file, the htaccess file will have this code when complete "AddType video/x-flv .flv", which it sounds like you've already done.

1. Progressive Download Video:
If you choose this video type, the video is downloaded to the user's hard drive, but starts playing the video before it finishes downloading. The video is downloaded from beginning to end, unless the user closes the connection before the download is complete. The user must have Flash Player 6 r65 (or greater) installed to see videos encoded with Sorensen Spark (included with Flash MX Professional 2004 and its standalone encoder). The user must have Flash Player 8 installed to see videos encoded with the On2 codec. For more information on which versions of Flash Player work with the different video codecs, search “on2 VP6 video codec�(with quotes) in Macromedia Flash 8 Help (F1).

Note: The FLV video included with the article source files uses the Sorenson Spark codec, and can be viewed with Flash Player 6 r65 or greater.

2. Streaming Video: If you choose this option, the video starts playing after a short buffer period, when a small amount of data downloads to the computer to ensure smooth playback. You must have Macromedia Flash Media Server available if you select this option. The user must have Flash Player 6 (or greater) installed to see your video, assuming it uses the Sorenson Spark codec. This option will not work with bluehost as we do not have Flash Media Servers.

any advice?

thnx..

Nibbler

Add the mime type into the .htaccess file as suggested.

hkr

I had already added flv to the mime types in .htaccess file.
i think there is sum issue with the player, since as i said earlier whn i try to view the flv's in windows media player it works fins,except when trying to move away from that page the browser freezes and crashes.

rphMedia

Quote from: Joachim Müller on April 17, 2008, 10:29:01 AM
This is the generated ouput:<object id="SWFlash"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" width="320" height="285"><param name="autostart" value="true" /><param name="src" value="albums/testflv/Pulsar_Mania-_Awesome_TV_Commercial_of_Bajaj_Pulsar.flv" /><embed width="320" height="285" src="albums/testflv/Pulsar_Mania-_Awesome_TV_Commercial_of_Bajaj_Pulsar.flv" autostart="true" type="application/x-shockwave-flash" ></embed></object>Are you sure that it is correct?

If you're talking about this mod here - http://forum.coppermine-gallery.net/index.php/topic,43180.0.html

then, as Joachim pointed out, you failed to modify theme.php according to the instructions. The flv Player will not work with the basic Flash ActiveX code. Follow those instructions exactly and the player will work, I assure you.

Note: It would've been better to post your support request in that thread.

hkr

the function theme_html_picture()  dosent exist in my themes/yourtheme/theme.php, could you pls tell me what exactly i must copy and where exactly in /yourtheme/theme.php  should i paste it?

thnx..

Joachim Müller

If a particular section doesn't exist in your custom theme, copy it from themes/sample/theme.php, as suggested in the docs: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_sample

claire19

hello
i think the file theme.php is in include/theme.inc.php no ?
i installed the new version of coppermine and there is nothing in theme.php of my theme classic /

Joachim Müller

No, that's wrong: the file include/themes.inc.php contains the defaults that you should keep untouched. Instead, do as I suggested and only copy the stuff you need to see changed from themes/sample/theme.php. Do not copy from include/themes.inc.php. Do not modify include/themes.inc.php