forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: hkr on April 16, 2008, 08:35:15 pm

Title: flv player help.
Post by: hkr on April 16, 2008, 08:35:15 pm
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..
Title: Re: flv player help.
Post by: Joachim Müller on April 17, 2008, 07:23:48 am
Posting a link to your gallery might be a good start, as we're not mind readers.
Title: Re: flv player help.
Post by: hkr on April 17, 2008, 10:23:23 am
gallery: www.clubturz.com/gallery

flv video link :  http://www.clubturz.com/gallery/displayimage.php?pos=-1114

Title: Re: flv player help.
Post by: Joachim Müller on April 17, 2008, 10:29:01 am
This is the generated ouput:
Code: [Select]
<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?
Title: Re: flv player help.
Post by: Nibbler on April 17, 2008, 10:37:21 am
You might need to adjust your apache configuration; the file is being sent as 'text/plain'.
Title: Re: flv player help.
Post by: hkr on April 17, 2008, 10:49:18 am
could you pls tell me what must I do in my apache config? I hav added flv to mime types already.

thnx..
Title: Re: flv player help.
Post by: Nibbler on April 17, 2008, 10:49:44 am
Ask your host.
Title: Re: flv player help.
Post by: hkr on April 17, 2008, 09:17:11 pm
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..
Title: Re: flv player help.
Post by: hkr on April 19, 2008, 02:11:23 pm
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..
Title: Re: flv player help.
Post by: Nibbler on April 19, 2008, 02:55:36 pm
Add the mime type into the .htaccess file as suggested.
Title: Re: flv player help.
Post by: hkr on April 19, 2008, 03:59:30 pm
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.
Title: Re: flv player help.
Post by: rphMedia on April 20, 2008, 02:34:27 pm
This is the generated ouput:
Code: [Select]
<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.
Title: Re: flv player help.
Post by: hkr on April 20, 2008, 03:18:05 pm
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..
Title: Re: flv player help.
Post by: Joachim Müller on April 21, 2008, 07:46:44 am
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
Title: Re: flv player help.
Post by: claire19 on April 28, 2008, 03:29:29 am
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 /
Title: Re: flv player help.
Post by: Joachim Müller on April 28, 2008, 07:18:51 am
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