This plugin uses JW Media Player (http://www.longtailvideo.com/players/jw-flv-player/) to play mp4, flv, webm, aac, mp3 and ogg files in your gallery (please consider the noncommercial license (http://creativecommons.org/licenses/by-nc-sa/3.0/) of the player).
Installation is as simple as it can be: just install the plugin with the plugin manager. That's all.
If you want to use a skin, just copy the skin file to the corresponding directory (plugins/flash_media_player/skins/). The plugin automatically uses the skin file if there's one (and only if there's exactly one skin file).
You can also store your media files on another server and embed them with this plugin. Just add the target URL to a blank text file and then rename it exactly as the target file (
including its extension!).
To use JW Player's YouTube support, just add one of the supported URL formats (see box below) to a blank text file and change its extension to either
mp4,
flv or
webm. You need at least the plugin version 2.0 to use this feature (version 2.1 if you want to use
webm file extension).
Quote from: YouTube URL formats supported by JW Playerhttp://www.youtube.com/watch?v=ylLzyHk54Z0
http://www.youtube.com/watch#!v=ylLzyHk54Z0
http://www.youtube.com/v/ylLzyHk54Z0
http://youtu.be/ylLzyHk54Z0
It's a good idea to upload thumbnails for your audio/video files with the
Custom Thumbnail plugin.
sweet! Thanks for the quick response!
I installed the media player plug in as well as JW player and created a thumbnail pic. When I click to view the vide, all I get is an overlay that says "Video not found or access denied". Any ideas on how to fix that?
Post a link to your uploaded video:
Quote from: Joachim Müller on September 28, 2008, 10:27:07 AM
8. Post links
When posting a support request, it's helpfull for supporters in most cases to see what the actual page looks like, that's why it's mandatory that you always post a link to your coppermine gallery page when asking for support. If your site contains adult content, make sure to post a warning together with your link!
Quote from: sixgill on December 19, 2009, 02:12:42 AM
I installed the [..] JW player
You don't have to install anything else than this plugin (no desktop application and nothing on your server).
I have performed some actions on this plugin in the subversion repository. First of all, I renamed it to give it a more descriptive name to "flash_media_player". Secondly, I have added a changelog and license file and have removed the reference to the GNU GPL: if this plugin is based on a piece of software that is being released under the creative commens license you can't release a piece of software that uses the library under another license - that's what the creative commons license clearly says. The rest of my changes are purely cosmetical.
Good job though on the plugin: it works flawlessly for me out of the box on all of my testbeds as far as I can see.
Subversion web access: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/flash_media_player/
Download from repository at sourceforge.net: https://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_flash-media-player_v1.4.zip/download
Version 1.4 is attached to the initial post.
Changelog:
- Internationalization
- Updated JW Player to version 5.0.753
- Dropped popup button and removed code
Is it possible that flash plugin and lightbox could work together if a future update? or is this like out of the question as it not possible?
Test gallery link of 1.5.2
http://www.purplefreak3.com/gallery1-5/ (http://www.purplefreak3.com/gallery1-5/)
Quote from: purplefreak3 on January 06, 2010, 06:59:19 AM
Is it possible that flash plugin and lightbox could work together if a future update?
Fixed. Problem was not related to this plugin, but to the lightbox plugin. See here (http://forum.coppermine-gallery.net/index.php/topic,62905.msg313402.html#msg313402).
Quote from: Αndré on January 06, 2010, 08:37:02 AM
Fixed. Problem was not related to this plugin, but to the lightbox plugin. See here (http://forum.coppermine-gallery.net/index.php/topic,62905.msg313402.html#msg313402).
Thank You
any plans to include support for avi files?
--BT
The underlying player is not being developed by us. So the answer probably is no.
This thread is going into a direction that it should not go: there is currently no support for cpg1.5.x yet and therefore no support for this plugin neither. Use this plugin at your own risk.
As long as the player doesn't avi, this plugin doesn't support avi, too.
is it possible to set the autoplay on / off and change the aspect ration? i currently have a 16:9 video but appears in a 4:3 box with black top and bottom bars?
Thanks
Quote from: Dwayne Dibbley on March 16, 2010, 06:27:37 PM
is it possible to set the autoplay on / off
Just change the Coppermine setting accordingly.
Quote from: Dwayne Dibbley on March 16, 2010, 06:27:37 PM
is it possible to change the aspect ration? i currently have a 16:9 video but appears in a 4:3 box with black top and bottom bars?
You have two possibilities:
1.) Change the dimensions in the 'edit file' form (
edit_one_pic.php)
2.) Set the default aspect ratio in
codebase.php. Add something like
if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
$CURRENT_PIC_DATA['pwidth'] = 640;
$CURRENT_PIC_DATA['pheight'] = 360;
}
Thanks for that, i have now checked the autoplay off in settings :) and i found that specifying the dimensions 640 x 360 in the file info works, as they were 0 x 0
Nigel
I am using 1.5.3 Rc , and got warned that the plugins version cannot be determined.
Shell I continue to install it or wait for a new release ?
Thank You :)
The message means exactly what it says: that the version can't be determined, that's all. It doesn't say "don't use the plugin". It just says "hey, I'm not sure if the plugin you're about to install matches the version of coppermine". The message just means that you (as a human) have to check because the machine can't. So you check: what version of the plugin are you trying to install? If it's this version (the one that comes with this thread) and you're actually using cpg1.5.x, you're fine to go ahead and use the plugin. We can't tell you more, as you failed to respect board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).
After enable this plugin, and select an flv file, I get this message under IE8:
Get the Flash Player to see this player.
Latest version installed from flash... What's the problem?
Did you read the thread you're replying to?
Quote from: Αndré on December 19, 2009, 12:45:51 PMPost a link to your uploaded video:
Quote from: Joachim Müller on September 28, 2008, 10:27:07 AM
8. Post links
When posting a support request, it's helpfull for supporters in most cases to see what the actual page looks like, that's why it's mandatory that you always post a link to your coppermine gallery page when asking for support. If your site contains adult content, make sure to post a warning together with your link!
Here is my FLV file what not start under IE8:
http://foto.acegem.hu/displayimage.php?pid=685#top_display_media
Quote from: http://foto.acegem.hu/displayimage.php?pid=685Error
The selected album/file does not exist!
Here is new link, because I upgrade now again:
http://foto.acegem.hu/displayimage.php?album=21&pid=686#top_display_media
Please post debug output. I'm quite sure that you haven't installed this plugin, as it doesn't use swfobject.
Ok, I solved: rewrite theme.php file latest lines, and working now. I use noteBored theme, and this was 1.4x theme, with upgrade, but theme.php include was older lines. Replace lines from curve theme, and working now. Thanks for support!
Sorry, just a question more: where can I change player color? Now all controls black and can's see buttons or volume.
Thanks!
Quote from: mykee on June 05, 2010, 05:12:31 PM
Sorry, just a question more: where can I change player color?
Sorry my question, here is, if anyone needs in a future:
open
codebase.php and change values or comment out these lines:
$player .= "&backcolor={$style['background']}";
$player .= "&frontcolor={$style['color']}";
$player .= "&lightcolor={$style['color']}";
Thank you Αndré
Attached arabic
Thanks for your contribution. Your file is ANSI encoded. Can you please attach a UTF-8 encoded language file?
Sorry now file UTF-8 encoded without BOM
Hi Andrè, thanks for this, i'm using this for a video gallery and it works pretty well =)
2 questions. I often need subtitles for my videos, and JWPlayer has a plugin for this. I edited codebase.php and concatenated some more stuff to the $player string, specifically:
$subtitle = substr_replace($file, "srt", -3);
$player .= "&plugins=captions-1&captions.file={$subtitle}";
I'm aware this is as rough as it can possibly get, but it works nice if you assume video and subtitles filename are the same. I was wondering if you could help me refining this, in particular i'd like to check if <filename>.srt exists before adding the necessary arguments.
The second question is: views counter does not increase when playing a video with your plugin. Is it possible to make it do so?
Hi Folks
I installed the said plugin, but when I click on the audio file uploaded, all I get is another small box poping up and nothing else.
Site url: http://www.kennygrimsleyband.com/showcase/index.php
Any help or suggestion is most welcome!
TIA....
Quote from: ssdaa on June 14, 2010, 11:03:28 PM
Sorry now file UTF-8 encoded without BOM
Added in r7684.
Quote from: Mister Hahn on June 15, 2010, 01:22:45 AM
i'd like to check if <filename>.srt exists before adding the necessary arguments.
http://www.php.net/manual/en/function.file-exists.php - additionally you can check the content of that file using http://www.php.net/manual/en/function.file-get-contents.php
Quote from: Mister Hahn on June 15, 2010, 01:22:45 AM
The second question is: views counter does not increase when playing a video with your plugin. Is it possible to make it do so?
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_count_album_hits
Quote from: shareef on June 15, 2010, 02:22:41 AM
all I get is another small box poping up and nothing else.
Plugins seems not to work with full size mode. Please enable intermediate view until I release an updated plugin version.
Quote from: Αndré on June 15, 2010, 06:10:53 PM
Plugins seems not to work with full size mode. Please enable intermediate view until I release an updated plugin version.
Thank you VERY much! That did the trick! :-)
Quote from: shareef on June 15, 2010, 02:22:41 AM
all I get is another small box poping up and nothing else
Quote from: Αndré on June 15, 2010, 06:10:53 PM
Plugins seems not to work with full size mode
Please try if version 1.6 (attached to initial post) works as expected with full size mode and report back. Thank you.
Thanks for another great plugin.
Just a question - my MP4 files play audio - but do not show the video. FLVs are fine. Is this a known issue with the plugin?
Quote from: diafol on August 03, 2010, 11:22:26 PM
my MP4 files play audio - but do not show the video. FLVs are fine. Is this a known issue with the plugin?
No. Please post a link to a mp4 video in your gallery.
Quote from: sixgill on December 19, 2009, 02:12:42 AM
I installed the media player plug in as well as JW player and created a thumbnail pic. When I click to view the vide, all I get is an overlay that says "Video not found or access denied". Any ideas on how to fix that?
Same problem - and can't find any answer in the thread;
URL: http://www.bunkertours.se/e107_plugins/cpg14x/displayimage.php?album=96&pid=1263
Quote from: lhansson on August 10, 2010, 01:25:13 PM
http://www.bunkertours.se/e107_plugins/cpg14x/displayimage.php?album=96&pid=1263
Quotehttp://www.bunkertours.se/e107_plugins/cpg15x/albums/ukraina/SNC00101.mp4
Find the difference ;)
Thanks for the hint.I see the difference :)
but the second link doesn't work as I don't have any 15x folder. The story is that I reused the 14x folder when upgrading to 15x as I had many links out pointing on the albums. So all the pictures are in 14x/albums and that is working even that the link actually says 15x/albums there as well. Apparently the plugin for mp4 (in my case) looks at the full URL and the pictures only at a relative URL.
I've just tested to add the file into a new 15x/albums folder and now I got sound, but no picture...
Quote from: lhansson on August 10, 2010, 02:33:08 PM
the second link doesn't work as I don't have any 15x folder
I know. You have to enter the correct path for that (http://documentation.coppermine-gallery.net/en/configuration.htm#admin_general_coppermine-url) setting.
QuoteIt is absolutely mandatory that you enter the gallery URL setting properly - if you don't, you will almost certainly experience "funny" behaviours of your gallery.
Quote from: lhansson on August 10, 2010, 02:33:08 PM
I've just tested to add the file into a new 15x/albums folder and now I got sound, but no picture...
Please undo.
Hi Αndré, when you have a moment, could you take a look at an MP4 video I uploaded and see if you can give me any hints as to why it won't show the video? It plays just the audio.
My gallery is here: http://photos.envail.com/
This is the specific video: http://photos.envail.com/displayimage.php?album=16&pid=324
If you need any more information or anything from me, please let me know -- I read all the rules before posting and think/hope I've followed all of them!
Thank you so much,
Kevin
Hi Kevin, please upgrade to cpg1.5.8 and disable all other plugins for testing purposes.
Thanks Αndré! I upgraded to 1.5.8 and uninstalled all of the plugins except this one (flash_media_player), and it still does the same thing; sound, but no video. Let me know what you'd like me to try next. Thanks again!
/Kevin
Please try another mp4 file and make sure if it's really encoded in mp4. Maybe the current video codec is not supported by the player, as the file is no mp4 video but has that file extension.
Your file doesn't work on my testbed, too, but other files work.
You're right, Αndré, it's the video itself. Darn! That's the video format my Palm Pre smartphone creates its videos in, but apparently it's not doing H.264 encoding so it won't play back in Flash, period. So, there's nothing you or anyone else can do. Thanks so much for your help!
/Kevin
I'm trying to figure out where to change the default size of my FLV videos. I came across this post, and attempted #2. I added that code to the bottom, switching out the size I needed, but it did not work.
Quote from: Αndré on March 16, 2010, 07:11:51 PM
Just change the Coppermine setting accordingly.
You have two possibilities:
1.) Change the dimensions in the 'edit file' form (edit_one_pic.php)
2.) Set the default aspect ratio in codebase.php. Add something like
if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
$CURRENT_PIC_DATA['pwidth'] = 640;
$CURRENT_PIC_DATA['pheight'] = 360;
}
I don't know if I understand the first option well. So from looking at the following line of code:
<object type="{$CURRENT_PIC_DATA['mime']}" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}" data="$player">
I tried to find where $CURRENT_PIC_DATA was in the edit_one_pic.php, but I couldn't find the different types of them - like displayed above in my code box.
I thought with the original edits for 1.4.x it was in theme.php. But after looking at everything I think I'm just confusing myself more. I need my videos to default to 512x384.
Quote from: Αndré on December 01, 2009, 04:09:38 PM
It's a good idea to upload thumbnails for your audio/video files with the Custom Thumbnail plugin (http://forum.coppermine-gallery.net/index.php/topic,60272.0.html).
Does that mean we cannot do the "thumb_videonamehere.jpg" method anymore?
I am switching from 1.4.x to 1.5.8 and I have tons of videos that are uploaded by this method, is that going to be a problem after the upgrade?
Quote from: ShiversOfHorror on August 29, 2010, 01:27:23 AM
I don't know if I understand the first option well. So from looking at the following line of code:
Use the button below your picture. No code modifications needed.
Quote from: ShiversOfHorror on August 29, 2010, 01:27:23 AM
Does that mean we cannot do the "thumb_videonamehere.jpg" method anymore?
Of course you can use that method. That plugin just helps you to upload custom thumbnails, especially when you or your users upload files via http.
Quote from: Αndré on August 29, 2010, 12:41:20 PM
Use the button below your picture. No code modifications needed.
Of course you can use that method. That plugin just helps you to upload custom thumbnails, especially when you or your users upload files via http.
I know I can fill in the specific size for each video, but there must be some way to code it into it so I don't have to edit each one right?
Also, I uploaded both video and thumbnail like on 1.4.x and it didn't work for me, and I realized its probably because somehow one extra character got into the thumbnail name lol.
Open codebase.php, find
$CURRENT_PIC_DATA['pheight'] += 24;
and replace with
$CURRENT_PIC_DATA['pwidth'] = 512;
$CURRENT_PIC_DATA['pheight'] = 384;
$CURRENT_PIC_DATA['pheight'] += 24;
Thank you Αndré, that worked like a charm.
Quote from: electronico on October 11, 2010, 05:10:08 AM
This is probably what the Custom Thumbnail script do
Yes ;)
Quote from: electronico on October 11, 2010, 05:10:08 AM
I have just updated my script to make :
normal_my-flv-filename.jpg
You don't need that file.
Hello
i just installed the Flash Media Player Plugin to play mp3-Files in a coppermine gallery.
the player doesn't load anything, no error message, no sound.
I tried it on different browsers/operating systems, it just diesn't work.
Can you please help me?
Link to gallery page: http://www.haefliger-ag.ch/churchplus/media/displayimage.php?album=55&pid=625#top_display_media
Thank you
tom
Check you have your gallery url set correctly in config. It seems to be pointing to a different domain.
Are the links at the bottom of your page intentional or were you hacked while running 1.5.6 ?
Thank you, in fact the Gallery-URL was wrong.
Which links do you mean?
Viewing the generated source of your posted link, the following is embedded at the bottom of the page:
<!-- [b2c5373fe15570b6ca12e74b9d321850 --><!-- 6070857821 --><noscript><ul><li><a href="http://www.[REMOVED].org/?motion=477">microsoft windows vista home basic product key</a></li><li><a href="http://www.[REMOVED].org/?motion=336">microsoft works download</a></li><li><a href="http://www.[REMOVED].org/?motion=992">download Adobe Illustrator CS4 MAC (Macintosh) software</a></li><li><a href="http://www.[REMOVED].org/?motion=295">buy Adobe Creative Suite 4 Design Premium MAC (Macintosh) license</a></li><li><a href="http://www.[REMOVED].org/?motion=384">windows xp professional sp3 32 bit free download</a></li><li><a href="http://www.[REMOVED].org/?motion=16">buy windows 7 home premium (64 bit) full version</a></li><li><a href="http://www.[REMOVED].org/?motion=127">microsoft works 9 update</a></li><li><a href="http://www.[REMOVED].org/?motion=134">buy discount Microsoft Office 2007 Standart</a></li><li><a href="http://www.[REMOVED].org/?motion=714">microsoft office templates</a></li><li><a href="http://www.[REMOVED].org/?motion=738">cyberlink powerdirector 8 ultra coupon</a></li><li><a href="http://www.[REMOVED].org/?motion=48">adobe indesign cs4 download</a></li><li><a href="http://www.[REMOVED].org/?motion=755">autodesk autocad 2010 crack</a></li><li><a href="http://www.[REMOVED].org/?motion=934">order Microsoft Office 2007 Enterprise software</a></li><li><a href="http://www.[REMOVED].org/?motion=342">adobe photoshop cs4 free download</a></li><li><a href="http://www.[REMOVED].org/?motion=231">Windows 7 Professional (32 bit) software purchasing</a></li><a href="http://www.[REMOVED].org/?motion=667">buy used Intuit Quicken Rental Property Manager 2009 inexpensive</a></li><li><a href="http://www.[REMOVED].org/?motion=275">buy microsoft office 2007 enterprise online</a></li><li><a href="http://www.[REMOVED].org/?motion=817">intuit quicken rental property</a></li><li><a href="http://www.[REMOVED].org/?motion=912">microsoft windows vista ultimate with sp2</a></li></ul></noscript><!-- b2c5373fe15570b6ca12e74b9d321850] -->
I removed the actual website domain and replaced with [REMOVED] so as not to assist the SEO results here. The above is only a small example of the 250 embedded spam links you have generated from your output.
You might want to review this report and make any necessary changes:
http://www.UnmaskParasites.com/security-report/?page=haefliger-ag.ch
Hello wondering if anyone could help me with this plugin for 1.5 for flash media. I installed the plugin but when I try to view media all I see is well nothing, not even a placeholder and don't hear anything either. I tried this is main gallery and even tried a fresh test gallery install and neither work.
Main gallery
http://www.beautifuljodelle.com/gallery
Media example
http://www.beautifuljodelle.com/gallery/displayimage-10314-_Case_39_TV_Spot_Demons_.html
Test Gallery (fresh install/new database)
http://www.beautifuljodelle.com/gallery1-2/
Test gallery running off 1.4 backup only has the one file for testing purposes.
http://www.beautifuljodelle.com/gallery-media/displayimage.php?pos=-10314
If anyone can help thank you.
Strange. I downloaded your case-39-tvdemon.flv file and it plays without any problems in local testbed. Will create a fresh testbed and try again.
Works also on my fresh testbed. Can you provide a test user account for your test gallery 'gallery1-2/'?
http://www.beautifuljodelle.com/gallery1-2
user: cpg-tester
pass: tester01
http://www.beautifuljodelle.com/gallery
user: test-account
pass: tester01
Issue has been resolved, it was a server problem which my host was able to fix.
Got a browser operability question. Hollowmoon.com.au (http://hollowmoon.com.au) is a site I have just thrown together for a friend. Using the twenty ten template I am getting good results all round, bar Safari. It is displaying the white box but no player and the following when Safari - Windows/Activity log is checked:
You don't have permission to access /plugins/flash_media_player/player.swf on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Firefox and IE8 are testing fine. Have disabled player and all plugins, and have just had player installed alone (also remembering to clear out the cache each time changes are made) without any luck still for Safari.
My question I guess is that even though all the chmod changes needed have been made as per Coppermine's install guide, do I need to go one step further when it comes to Safari operability. Is this observed behaviour for anyone else. More than happy to get test account details up as well.
Hope I have followed rules, quite new to the whole thing.
Is there anyway to use a custom skin for the player from JW's site? If I just use the default skin everything works fine but try to use a custom skin it doesn't.
Main Gallery - default skin
http://www.beautifuljodelle.com/gallery/displayimage-10315-_Case_39_TV_Spot_Face_It_.html
Test Gallery - custom skin
http://www.beautifuljodelle.com/gallery1-2/displayimage.php?pid=1
@Naxius: I cannot support browser issues, sorry.
@purplefreak3: You cannot just replace the player file with the skin, but have to add the skin as parameter as described in the docs (http://www.longtailvideo.com/support/addons/10630/enable-skins-in-the-jw-player).
I've tested your preferred skin and it works for me. Just copy the skin file to the flash media player directory. Then open codebase.php, find
$player = "plugins/flash_media_player/player.swf";
$player .= "?file=$file";
$player .= "&image=$thumb";
$player .= "&autostart=$autostart";
$player .= "&backcolor={$style['background']}";
$player .= "&frontcolor={$style['color']}";
$player .= "&lightcolor={$style['color']}";
and replace with
$player = "plugins/flash_media_player/player.swf";
$player .= "?file=$file";
$player .= "&image=$thumb";
$player .= "&autostart=$autostart";
$player .= "&backcolor={$style['background']}";
$player .= "&frontcolor={$style['color']}";
$player .= "&lightcolor={$style['color']}";
$player .= "&skin=plugins/flash_media_player/controlpanel.swf";
I'll try to add an auto detection that checks if a skin is in the plugin directory and uses it automatically.
Quote from: Αndré on November 02, 2010, 02:40:34 PM
I'll try to add an auto detection that checks if a skin is in the plugin directory and uses it automatically.
Plugin version 1.7 with automatic skin file detection attached to initial post.
Thank You
That's cool, no worries :)
Hello,
First of all, thanks for this plugin!
I am in the process of migrating my 1.4.26 Coppermine installation to 1.5.8. I have just about everything running like I want except for this Flash Media Player plugin which is generating javascript errors in Internet Explorer every time that it runs a flash video. Also, The "Display/Hide File Information" button on the nav bar does not work for flash videos with Internet Explorer 7/8 either and also presents the javascript errors. I have tested using IE7 and IE8 and neither runs without generating javascript errors and the "Display/Hide File Information" button does not work with either version of IE either. The good news is that everything appears to work properly with Firefox and Chromium. However, I have put this migration project on hold until I can solve these IE problems since so many people use the IE browsers.
Here is a link to a flash video in my 1.5.8 installation:
http://dickens.com/gallery_1.5.8/displayimage.php?album=41&pid=1109#top_display_media
Upon playing a flash video, the javascript error icon appears on the bottom left of IE's status bar. Click on the error icon on the bottom left of the status bar and IE will present a window with the following errors:
Quote
Line: 1
Char: 156
Error: 'null' is null or not an object
Code: 0
URL: http://www.dickens.com/gallery_1.5.8/displayimage.php?album=41&pid=110
Here is a link to the same video on my 1.4.26 installation where everything works properly without javascript errors and with the "Display/Hide File Information" button working properly as well:
http://www.dickens.com/gallery/displayimage.php?album=41&pos=0
Please note that I have autostart enabled on the 1.5.8 version but it is disabled on the 1.4.26. For my 1.4.26 installation, I am using the modifications described here to accomplish the flash integration:
http://forum.coppermine-gallery.net/index.php/topic,34182.msg221287.html#msg221287
Please let me know if anyone else has seen these problems. If so, then I would appreciate any advice that you could offer on how to fix these issues. Also, if there is something obvious that I am doing wrong then please let me know. FWIW, I have been able to reproduce this problem both with my own custom theme as well as with the default Coppermine "Curve" theme.
Thanks,
Gordon
I didn't see any problems with the video player and didn't see any error messages, but I am also using IE9 as oppose to the older versions you are talking about so just might be a bug.
Hi purplefreak3,
Thanks for the reply!
I have modified the plugin so that it does not any longer generate the javascript errors on my site. However, the javascript errors are still produced by the stock unmodified flash_media_player plugin running with the stock unmodified Coppermine gallery. Also, I visited some other peoples links from this thread where you can see the javascript errors in the lower left hand portion of IE's status bar such as here:
http://www.beautifuljodelle.com/gallery/displayimage-10315-_Case_39_TV_Spot_Face_It_.html
So, I'm not the only one who has seen this. BTW, the "show/hide file info" button works on the above gallery, however, I have tested an older version of the jwplayer with the stock plugin where the javascript errors occur but the "show/hide file info" button still works just like here.
I am still working the kinks out on my site but when I am done then I will post the changes that I have made to the plugin to make it work properly without any javascript errors and with a functioning "show/hide file info" button. I am not very experienced with php and so this is taking me alot longer than it should.
FYI,
Gordon
I never did figure out why the Flash Media Player plugin was generating javascript errors in Internet Explorer 7/8 every time that it ran a flash video. The problem is in the codebase.php script but it must be subtle because I couldn't figure out why. So, I just rewrote the pertinent lines of codebase.php based on what I had successfully implemented in my 1.4.26 installation. Attached is the modified codebase.php file.
Please note the following:
1) I also modified the code to use the normal_ file for the video's background wallpaper. If a normal_ file does not exist, then the script defaults back to the thumb_ file as in the original plugin.
2) I don't use flashplayer skins and I cannot therefore test them so I disabled that functionality. However, it should be easy for somebody that uses skins to add that back in and test it.
Disclaimer: I am not very experienced with php and I am sure that there is a better way to do this. However, the script now works great in my gallery without the javascript errors so I am happy. Anyone is welcome to use these modifications, however, test it thoroughly. User beware!
Thanks for your contribution. I'll check your file tomorrow and will see if I can merge your changes with the official version.
That codebase modification worked a charm for me :)
I have written a few bash scripts that make it very easy to quickly convert videos in any format to flash format (flv) and for creating thumbnails (thumb_ files) and intermediate photos (normal_ files) from video files. Attached is a file named video2ools.tar.gz file which includes the following four scripts:
video2pics - Create thumb_ and normal_ pics from a video in the current directory.
video2pics4all - Create thumb_ and normal_ pics from all videos in the current directory (batch mode).
video2flv - Create a flash video (<videoname>.flv) from a video of a certain type in the current directory.
video2flv4all - Create flash videos (<videoname>.flv) from all videos of a certain type in the current directory (batch mode).
These scripts require that ffmpeg and imagemagick are installed.
FYI,
Gordon
Quote from: gldickens3 on November 11, 2010, 05:53:48 PM
http://dickens.com/gallery_1.5.8/displayimage.php?album=41&pid=1109#top_display_media
Works, but
Quotehttp://dickens.com/gallery_1.5.8/displayimage.php?pid=1109
still has that JavaScript error.
I used the
object tag, as the
embed tag is deprecated (http://www.w3schools.com/media/media_browservideos.asp). That's what we have done in the core of cpg1.5.x, too.
Quote from: Αndré on November 15, 2010, 11:18:10 AM
Works, butstill has that JavaScript error.
I used the object tag, as the embed tag is deprecated (http://www.w3schools.com/media/media_browservideos.asp). That's what we have done in the core of cpg1.5.x, too.
Hi,
I briefly see a javascript error for only a small fraction of a second as the page begins to load with:
Quotehttp://dickens.com/gallery_1.5.8/displayimage.php?pid=1109
However, there are otherwise not any javascript errors displayed thereafter as the page is completely loaded. That isn't perfect, but I think that its much better than before.
I realize that the embed tag is deprecated for the object tag but, as described above, for some reason the object tag approach is generating tons more javascript errors and I have so far been unable to devise a way to fix it.
Gordon
I have revised the bash scripts that I posted earlier which make it very easy to quickly convert videos in any format to flash format (flv) and for creating thumbnails (thumb_ files) and intermediate photos (normal_ files). Attached is an updated file named video2ools.tar.gz file which includes the following four scripts:
video2pics - Create thumb_ and normal_ pics from a video in the current directory.
video2pics4all - Create thumb_ and normal_ pics from all videos in the current directory (batch mode).
video2flv - Create a flash video (<videoname>.flv) from a video of a certain type in the current directory.
video2flv4all - Create flash videos (<videoname>.flv) from all videos of a certain type in the current directory (batch mode).
These scripts require that ffmpeg and imagemagick are installed.
Download the tarball and extract its contents using "tar xvzpf video2ools.tar.gz".
When using video2flv and video2flv4all you can examine the source videos to determine their video bitrate, video frame rate and audio bitrate using ffmpeg -i <videoname.wmv>.
A play button is applied to the thumb_ images by the video2pics and video2pics4all scripts. You need to specify the location of the playbutton on the source image and the size of the thumb_ and normal_ images in the scripts. The playbutton included in the tarball is named playbutton.gif but you can use your own playbutton image if you prefer. By default, the playbutton.gif image is placed in the top left hand corner of the thumbnail using "northwest" in the composite command in the scripts. The default thumb_ size is width = 109 and normal_ size = 640. However, you can change the location of the play button, thumb_ size and normal_ size to wherever you would prefer by modifying the convert and composite commands in the script.
FYI,
Gordon
First of all, great plugin!
One issue that some of my users have is that when they use my site from an iPad/iPhone/iPod Touch, they cannot view the video because they are in flash. The solution to this is to show the video using HTML5 video tags. However, flash is still the better solution for most computers. So, what I'm working on is a way to show the JW flash player on systems that have flash, and show the HTML5 player on systems that do not have flash.
<object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}" data="$player">
<param name="movie" value="$player" />
<param name="quality" value="high" />
<param name="scale" value="exactfit" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="$player" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="scale" value="exactfit" />
<param name="swfversion" value="6.0.65.0" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<video
src="$file"
height="{$CURRENT_PIC_DATA['pheight']}"
poster=$thumb
controls="controls"
width="{$CURRENT_PIC_DATA['pwidth']}">
</video>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
<!--<![endif]-->
</object>
EOT;
It almost works (the HTML5 player shows the thumbnail image, but no video). Right now I'm trying to solve the issue of no video (as in determining which variable to use for the "src"). If anyone has any idea, let me know.
Wonderfull plugin :) It worked directly.
But I saw something strange in the filmstrip below the movies, which wasn't there before.
At the thumbs overview I get all thumbs, but in the filmstrip some of them are larger images (see attached screenshots).
Can it be something influenced by this plugin?
Without the plugin, I only get trashcans as thumbs and images.
How did you created the thumbnails for the video files? Did you use the custom thumbnail plugin or have you uploaded them manually via ftp?
Quote from: Αndré on November 28, 2010, 07:11:00 PM
How did you created the thumbnails for the video files? Did you use the custom thumbnail plugin or have you uploaded them manually via ftp?
They're very old, I don't remember.
But I'm sorry, it isn't anything your plugin did wrong, it was me.
I went to check the thumbs with "identify -format '%w %h\n' " and found out the thumbs were of the wrong size.
I guess the filmstrip of 1.5 is different to the from 1.4 which shows the thumbs small.
Sorry to bother you.
I figured it out. For anyone interested:
Define a variable (put this below all the "$player ." variables):
$pics_link = 'albums/' . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename'];
<object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}" data="$player">
<param name="movie" value="$player" />
<param name="quality" value="high" />
<param name="scale" value="exactfit" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="$player" width="{$CURRENT_PIC_DATA['pwidth']}" height="{$CURRENT_PIC_DATA['pheight']}">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="scale" value="exactfit" />
<param name="swfversion" value="6.0.65.0" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<video
src="$pics_link"
height="{$CURRENT_PIC_DATA['pheight']}"
poster="$thumb"
controls="controls"
width="{$CURRENT_PIC_DATA['pwidth']}">
</video>
Good plugin. If anyone is interested, I'll attach the codebase file.
Quote from: yogibear7 on November 28, 2010, 09:34:09 PM
If anyone is interested, I'll attach the codebase file.
I'm looking forward to your contribution. It cannot hurt to have that file available here :)
Hello,
Is it possible that the video is displayed in real size to the player (not full screen, there is a button for that) when reading the file.
It seems to me that the video appears like in the configuration of Coppermine to the adjustment of the intermediate image. (But maybe it's not like that).
Thank's
Quote from: cavok on November 29, 2010, 02:52:48 PM
Hello,
Is it possible that the video is displayed in real size to the player (not full screen, there is a button for that) when reading the file.
It seems to me that the video appears like in the configuration of Coppermine to the adjustment of the intermediate image. (But maybe it's not like that).
Thank's
That's intended, as PHP cannot fetch the video dimensions afaik. If you set the dimensions in the edit files form, they will be used.
Quote from: ΑndréThat's intended, as PHP cannot fetch the video dimensions afaik. If you set the dimensions in the edit files form, they will be used.
Fabulous, I do not know this possibility.
The world (
with Coppermine) is wonderful.
I use Custom Thumbnail plugin as recommended, but but when I view the video page /coppermine/displayimage.php, after the video (when an automatic start) is the thumbnail that appears in large format.
So the quality is really bad. Can not we create an intermediate image of better quality?
Thank's
Quote from: cavok on November 30, 2010, 01:47:11 AM
Can not we create an intermediate image of better quality?
Not related to this plugin. Please post your question in the custom thumbnail plugin announcement thread.
Hello,
sorry, i've the same problem like the User in Post 3 - but i find no Solution in the Thread. Of Course my english is not so good, to understand 100% of the written below.
For my better understanding, i dont have to install the JW-Player 5.4 from the longtailvideo-side (i dont have), i have only to install the plugin via the coppermine admin-plugin-page (i have - its on the side from installed plugins).
My Gallery and the related videos are at www.kajotes.de
Whats wrong with me or my coppermine?
Claus
The path to your gallery in the Coppermine settings is wrong. It's
Quotehttp://www.kajotes.de/coppermine/
but should be
Quotehttp://kajotes.serveftp.net/coppermine/
@André
Thanks a lot - it works - a little - now the .flv-file is playing perfectly, but the same original handy-file as mp4 is playing without pictures, only with sound. Its a problem with the decoding/recording from my handy or a known plugin-problem?
Quote from: CJS0815 on December 19, 2010, 10:16:39 PM
the same original handy-file as mp4 is playing without pictures, only with sound.
Seems that your handy uses a codec that isn't supported by the player. I cannot fix that, as I'm not the author of the flash player (http://www.longtailvideo.com).
Version 1.8 (attached to initial post) now uses the intermediate-sized picture as preview, if available. Additionally the player.swf file has been updated to version 5.4.1492.
This year, Christmas has come earlier.
Thank you for this update of the plugin that works perfectly.
With its intermediate image is much more beautiful, for sure.
I wish you a very good Christmas.
Heya. Is there anyway to embed the video and the player onto a site? im wanting to embed it onto my blog.
Sure. Just have a look at the HTML code when you view the video and copy that code to your blog.
added french translation to the plugin in the SVN (Thank's FBleu)
Quote from: sixgill on December 19, 2009, 02:12:42 AM
I installed the media player plug in as well as JW player and created a thumbnail pic. When I click to view the vide, all I get is an overlay that says "Video not found or access denied". Any ideas on how to fix that?
I could not find where you answered the part about "Video not found or access denied". I am getting the same message. Pleas help.
Thanks
Stanley
Please post a link to your gallery, especially a link to the video that doesn't work.
Quote from: Αndré on April 07, 2011, 12:04:55 PM
Please post a link to your gallery, especially a link to the video that doesn't work.
http://balloondecor.co.za/displayimage.php?album=lastup&cat=0&pid=559#top_display_media
Please adjust the 'URL of your Coppermine gallery folder' in the Coppermine config. It's currently set to
Quotehttp://balloondecor.co.za/coppermine/
but has to be
Quotehttp://balloondecor.co.za/
Quote from: Αndré on April 07, 2011, 12:37:15 PM
Please adjust the 'URL of your Coppermine gallery folder' in the Coppermine config. It's currently set tobut has to be
How did you find that? 8)
Now it just sits with the circle going round and round. And this is a tiny file 143k
Quote from: bloo on April 07, 2011, 12:47:39 PM
How did you find that? 8)
The error message was quite obvious ;)
Quote from: bloo on April 07, 2011, 12:47:39 PM
Now it just sits with the circle going round and round. And this is a tiny file 143k
Seems that the player doesn't support your video. Please try a different file. The file size doesn't matter, as the video immediately starts to play, even if it hasn't been downloaded completely.
Quote from: Αndré on April 07, 2011, 01:40:51 PM
The error message was quite obvious ;)
Seems that the player doesn't support your video. Please try a different file. The file size doesn't matter, as the video immediately starts to play, even if it hasn't been downloaded completely.
Thanks for all your help. I have got it working I changed some settings in CS5 that I used to render the video from stills.
:)
God Bless you
Stanley
Quote from: bloo on April 07, 2011, 04:14:29 PM
Thanks for all your help. I have got it working I changed some settings in CS5 that I used to render the video from stills.
:)
OK So I spoke too soon. I've installed the plugin on a new site, but I can't get it to work even with the same video file. The link on my new site is http://3d4u.pixnpix.com/displayimage.php?album=lastup&cat=10001&pid=1#top_display_media
:-[
There are some files that doesn't belong to the plugin in the plugin directory: http://3d4u.pixnpix.com/plugins/flash_media_player/
Please uninstall the plugin, delete the whole folder, re-upload it and install again.
Quote from: Αndré on April 15, 2011, 03:47:14 PM
There are some files that doesn't belong to the plugin in the plugin directory: http://3d4u.pixnpix.com/plugins/flash_media_player/
Please uninstall the plugin, delete the whole folder, re-upload it and install again.
Done that. Same problem.
Please post the debug output.
Quote from: Αndré on April 15, 2011, 05:40:35 PM
Please post the debug output.
The only thing I can see is that I am using a subdomain 3d4u.pixnpix.com instead of a domain such as balloondecor.co.za I don't know if that helps.
USER:
------------------
Array
(
[ID] => e8b2ca4b6f740b2e6c8b8654f2bc53c1
[am] => 1
[lang] => english_gb
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => admin
[groups] => Array
(
- => 1
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[can_create_public_albums] => 0
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
- => SELECT name, value FROM cpg15x_config [include/init.inc.php:181] (0 ms)
[1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
[2] => SELECT user_id, time FROM `bloo_copp2`.cpg15x_sessions WHERE session_id = 'ec1265932a3ea3979b5e42b3a7ca46e9' [bridge/coppermine.inc.php:264] (0 ms)
[3] => SELECT user_id, user_password FROM `bloo_copp2`.cpg15x_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
[4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `bloo_copp2`.cpg15x_users AS u LEFT JOIN `bloo_copp2`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
[5] => SELECT user_group_list FROM `bloo_copp2`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
[6] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0 ms)
[7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (0 ms)
[8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (0 ms)
[9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
[10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms)
[11] => DELETE FROM cpg15x_banned WHERE expiry < '2011-04-16 01:16:05' [include/init.inc.php:443] (0 ms)
[12] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '196.210.218.181' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
[13] => SELECT COUNT(*) FROM cpg15x_pictures AS p
INNER JOIN cpg15x_albums AS r ON r.aid = p.aid
WHERE (1)
AND approved = 'YES'
AND pid > 1 [include/functions.inc.php:2164] (0 ms)
[14] => SELECT COUNT(*)
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES' [include/functions.inc.php:1485] (0 ms)
[15] => SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id, pic_raw_ip, pic_hdr_ip
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES'
ORDER BY r.pid DESC LIMIT 0 ,1 [include/functions.inc.php:1501] (0 ms)
[16] => SELECT COUNT(*)
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES' [include/functions.inc.php:1485] (0 ms)
[17] => SELECT r.pid
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES'
ORDER BY r.pid DESC LIMIT 0 ,1 [include/functions.inc.php:1501] (0 ms)
[18] => SELECT COUNT(*)
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES' [include/functions.inc.php:1485] (0 ms)
[19] => SELECT r.pid
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES'
ORDER BY r.pid DESC LIMIT 0 ,1 [include/functions.inc.php:1501] (0 ms)
[20] => SELECT title, comments, votes, category, aid FROM cpg15x_albums WHERE aid='2' LIMIT 1 [displayimage.php:432] (0 ms)
[21] => SELECT name FROM cpg15x_categories WHERE cid = 1 [include/functions.inc.php:2807] (0 ms)
[22] => SELECT user_name as user_name FROM `bloo_copp2`.cpg15x_users WHERE user_id = '1' [bridge/udb_base.inc.php:256] (0 ms)
[23] => SELECT extension, mime, content, player FROM cpg15x_filetypes [include/functions.inc.php:5789] (0 ms)
[24] => SELECT pic_id FROM cpg15x_votes WHERE pic_id=1 AND user_md5_id='c4ca4238a0b923820dcc509a6f75849b' [include/themes.inc.php:3654] (4 ms)
[25] => SELECT COUNT(msg_id) FROM cpg15x_comments WHERE pid='1' [include/themes.inc.php:3783] (0 ms)
[26] => SELECT COUNT(*)
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES' [include/functions.inc.php:1485] (0 ms)
[27] => SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title
FROM cpg15x_pictures AS r
INNER JOIN cpg15x_albums AS a ON a.aid = r.aid
WHERE (1)
AND approved = 'YES'
ORDER BY r.pid DESC LIMIT 0 ,1 [include/functions.inc.php:1501] (0 ms)
[28] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2418] (0 ms)
[29] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
[30] => DELETE FROM cpg15x_temp_messages WHERE time < 1302930966 [include/functions.inc.php:4927] (0 ms)
)
==========================
GET :
------------------
Array
(
[album] => lastup
[cat] => 0
[pid] => 1
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[cpg15x_data] => YTo0OntzOjI6IklEIjtzOjMyOiJlOGIyY2E0YjZmNzQwYjJlNmM4Yjg2NTRmMmJjNTNjMSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6MDp7fX0=
[6096deb3adafc26f8bdae806fdae008a] => ded2bff098a52bfb79a279dfb5c7cf5e
[PHPSESSID] => 455a9ec9568632fd5dc06ffcd95b7e77
[4b8d286e98ee474d39291438b132c89a] => 8025588192d491b25044964e941e1e42
)
==========================
SESSION :
------------------
Array
(
[php_captcha] => 56d7c32cc7268819d3ec3bcad7472712
)
==========================
VERSION INFO :
------------------
PHP version 5.2.15 OK
MySQL version 5.1.52 OK
Coppermine version 1.5.12 stable
==========================
Module: GD
------------------
Exact version 2.0.34
GD Version bundled (2.0.34 compatible)
FreeType Support 1
FreeType Linkage with freetype
T1Lib Support
GIF Read Support 1
GIF Create Support 1
JPG Support 1
PNG Support 1
WBMP Support 1
XPM Support 1
XBM Support 1
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url http://3d4u.pixnpix.com/
charset utf-8
allow_private_albums 1
cookie_name cpg15x
cookie_path /
impath /usr/bin/
lang english_gb
main_page_layout breadcrumb/lastup,3/topn,1/random,1/catlist/alblist
silly_safe_mode 0
smtp_host
theme dark_velvet
thumb_method gd2
==========================
Plugins
------------------
Name Custom thumbnail
Actions page_start
Filters file_data
--------------
Name Flash Media Player
Actions plugin_install, plugin_uninstall, plugin_cleanup, page_start
Filters html_other_media
--------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions dl
file_uploads 1
include_path .:/usr/lib/php:/usr/local/lib/php
open_basedir
allow_url_fopen 1
max_execution_time 30
max_input_time 60
upload_max_filesize 64M
post_max_size 64M
memory_limit 64M
suhosin.post.max_vars
suhosin.request.max_vars
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 2.87 MiB 4.09 MiB
Page generation 107 ms 107 ms
Page query time 4 ms 4 ms
Page query count 31 31
==========================
Quote from: bloo on April 16, 2011, 08:23:29 AM
The only thing I can see is that I am using a subdomain 3d4u.pixnpix.com instead of a domain such as balloondecor.co.za I don't know if that helps.
That doesn't matter.
I'm currently not able to access your gallery as you restricted the access for guests, but when I was able to look at the source, I couldn't see the anything of the plugin output (it usually creates an
object tag to embed the player). Have you modified some core files or have a lot of code in your theme's
theme.php file?
Quote from: Αndré on April 18, 2011, 04:51:41 PM
That doesn't matter.
I'm currently not able to access your gallery as you restricted the access for guests, but when I was able to look at the source, I couldn't see the anything of the plugin output (it usually creates an object tag to embed the player). Have you modified some core files or have a lot of code in your theme's theme.php file?
You can log in with Test2 pwd: test2
I have not modified any core files. I have only adjusted the CSS.
hm, this is weird, when I try uploading a video (in this case flv but it also did it with a wmv) on either of my galleries it just fails and I get this error:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F53ZLH.jpg&hash=630d15230ae76b44cd12c1849d0b5bdf4ce0a754)
The file types are in the list in File Settings.
Any thoughts? o.O
oh, sorry, that was me trying image tags!!
Here is the image as a proper link: http://i.imgur.com/53ZLH.jpg (http://i.imgur.com/53ZLH.jpg)
Attach images instead of hotlinking them. Try to upload the files with the simple upload form or ftp + batch-add.
Is there any way to add Video Files (MP4) when they are already on the Webspace or some other Webspace than where the Gallery is hosted. Which means when I have a direct link to a Video file. Is there a way to add that ? Otherwise I would need to reupload Videos I already did upload onto my FTP and that would first of take forever and wouldnt make sense to do again.
Any info on that ?
Thanks in advance.
Wolfseye
I see the following possibilities:
1. Move the files on your webspace
2. Upload 'fake' video files and then use some server-side redirect rules to point to the 'real' video files
3. We have to modify this plugin (or maybe better: the Remote Videos plugin) so you can upload text files containing the url to the video file. I thought this has been already done, but I haven't found it in this board.
For option 3) I have 2 ideas:
1. Invent a new file extension (e.g. flvx/mp4x) that just contains the url to the video file
2. Modify this plugin so it expects the same as 1) when the file is smaller than e.g. 1 KB. In that case it would check for a valid video url and uses that url instead of embedding the current file as video file
Thank you very much. Again, because I am really not the plugin kinda guy (too stupid I guess) i hoped a solution to that would exist already. As for the Remote Video plugin, I have that installed and it works fine for Videosites like Youtube etc. but this is something else. Not sure if that works. And, as for the plugin suggested, I always create the files (Youtube URL) by hand and then upload it to one of my Batch folder and that is how I import them into my gallery.
I don't know any more. :(
Anyways, I thank you very much for your help. Seems some things still can't be done if the knowledge how to make them, is not available.
But thats life, ain't it ? ;)
Quote from: Αndré on June 16, 2011, 03:59:32 PM
Modify this plugin so it expects the same as 1) when the file is smaller than e.g. 1 KB. In that case it would check for a valid video url and uses that url instead of embedding the current file as video file
Open
codebase.php, find
$file = $CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'fullsize');
and below, add
if ($CURRENT_PIC_DATA['filesize'] < 1024) {
$file_content = file_get_contents($CONFIG['fullpath'].$CURRENT_PIC_DATA['filepath'].$CURRENT_PIC_DATA['filename']);
preg_match('/^(http|ftp)s?:\/\/.*\.'.$CURRENT_PIC_DATA['extension'].'$/i', $file_content, $matches);
if (count($matches)) {
$file = $matches[0];
}
}
Now create a new text file with the url of your mp4 video, change the file extension to 'mp4' and upload it to your gallery. Please report if it works as expected.
Note: this is just a draft, as the regex should be optimized. It may be possible that potential attackers inject HTML code to your gallery. If you're the only person who can upload files to your gallery you're fine.
Thanks. ;)
I tried that. But when I want to watch the movie it says:
Quote
VIDEO NOT FOUND OR ACCESS DENIED
I triple checked the path to the Video and its all correct. So why that message ?
Wolfseye
Please post the link to the target video file or better: attach the file you uploaded to your gallery.
Here is the file. I had to zip it because .mp4 isn't an allowed attachment type.
I just can't figure out how to add a skin from the official website http://www.longtailvideo.com/addons/skins (http://www.longtailvideo.com/addons/skins) yes, Im a nooob!!!
Im extracting the zip file downloaded to the flash_media_player plugin folder but nothing happens...
structure as follows
/blog/plugins/flash_media_player/
then i created a folder with the name of the skin and extracted the content there, what im doing wrong??
would like to use following skin... http://www.longtailvideo.com/addons/skins/241/Facebook-Look-alike?q=%20alt= (http://www.longtailvideo.com/addons/skins/241/Facebook-Look-alike?q=%20alt=)
Any help would be really appreciated!
Automatic skin detection has been developed here (http://forum.coppermine-gallery.net/index.php/topic,62704.msg336523.html#msg336523). It currently just supports SWF skins. If you want to use XML skins you have to edit codebase.php.
Quote from: Αndré on August 09, 2011, 03:50:19 PM
Automatic skin detection has been developed here (http://forum.coppermine-gallery.net/index.php/topic,62704.msg336523.html#msg336523). It currently just supports SWF skins. If you want to use XML skins you have to edit codebase.php.
Thanks, complety a noob i must say!!works like a charm!! tx so much ;)
Version 1.9 attached to initial post. It adds support for zip file skins, the player.swf file has been updated to version 5.7.1896 and it also adds support for external video files (still experimental, so please don't ask for support at this stage).
Hi Guy's
I installed cpg1.5.x_plugin_flash_media_player_v1.9.zip which was my first plug in I've used and loved how easy it is. But on playback of my mp4 "Knives" I only get audio, no video.
Any idea's. http://arizonahealthandlife.com/Portage (http://arizonahealthandlife.com/Portage)
Cheers, ???
Desert Dave
Probably the used video codec isn't supported by the flash player application.
Plugin version 2.0 attached to initial post. It now uses the JW embedder instead of the HTML 'object' tag. Additionally, it now supports external YouTube videos and external media files in general (see initial post for more information). Please move your existing skin to the new skins directory.
hello
i wan't use a skin, but the auto-detection does not work.
i have downloaded http://www.longtailvideo.com/addons/skins/30/Metarby-10?q=%20alt= (http://www.longtailvideo.com/addons/skins/30/Metarby-10?q=%20alt=) and copied the swf-file into the "skins"-directory.
please help.
THX
Please download the updated package from the initial post.
However, that page says that the skin isn't compatible with the JW Player 5.x. It seems to work anyway with the latest JW Player version.
Quote from: Αndré on May 30, 2012, 02:30:03 PM
Please download the updated package from the initial post.
However, that page says that the skin isn't compatible with the JW Player 5.x. It seems to work anyway with the latest JW Player version.
hello andre,
i already use cpg1.5.x_plugin_flash_media_player_v2.0.zip
btw. can you please tell me, how i can eventually use xml-skins ?
Quote from: Αndré on May 30, 2012, 02:30:03 PM
Please download the updated package from the initial post.
Quote from: Αndré on May 30, 2012, 05:24:17 PM
ok, now it works perfectly with the swf-skin.
thank you andre !
Plugin version 2.1 attached to initial post. The JW Player was upgraded to version 6.1.2972. There have been some changes from JW Player 5 to JW Player 6, you can find them here (http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6) in detail.
Having trouble uploading video content to Coppermine. Not sure if it's a Coppermine issue or a FMP issue. My site is a WP 3.5.1 site with phpBB 3.0.11 and Coppermine 1.5.22 integrated. I have your FMP, Open Search, Online Stats, and Social Sharing (in that order) plugins activated. File upload limit is set at 600MB in both Coppermine config and php.ini.
Site is westerntrailrider.com/coppermine
Critical Error message is from coppermine/db_input.php, line 71, indicating missing parameter:
code:
if (!$superCage->get->keyExists('event') && !$superCage->post->keyExists('event')) {
cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
What file size has the file you try to upload? Does it work with smaller files? Did you used the flash uploader or the simple upload form? Using FTP + Coppermine's batch-add feature is recommended for large files.
I Have converted a file with Handbreake to MP4: Presents Legacy: Classsic
Installed Flash Media Player (flash_media_player): v2.0
And copyed the "curve" theme to the skin folder under the plugin.
\plugins\flash_media_player\skins\curve
but getting this error???
Video not found or access denied:
Quote from: LnQ on April 04, 2013, 08:55:28 AM
And copyed the "curve" theme to the skin folder under the plugin.
\plugins\flash_media_player\skins\curve
Why? Please undo.
Quote from: LnQ on April 04, 2013, 08:55:28 AM
getting this error???
Video not found or access denied:
Please post a link to your gallery where you get this error.
Is there a way to add an 'embed button' to the player?
I haven't put much effort into this issue, but I wasn't successful to add a working embed button.
Plugin version 2.2 attached here (Αndré, please feel free to move to your initial post and edit this, as appropriate). I've upgraded the JW Player from version 6.1.2972 (in plugin version 2.1) to 6.7.4071 (released 2013-11-07). Full changelog for JW Player 6 is here (http://www.longtailvideo.com/support/jw-player/28835/release-notes).
If you've had issues with MP4 files not playing, this update likely will not help (I finally threw in the towel and converted my MP4's to FLV). However, there have been some major enhancements since 6.1, including full screen playing when iframes are supported, and skinning for mobile devices.
Enjoy.
Ugh...
Just realized that I hadn't updated the codebase.php. Upon opening it, I see the copyright data and versioning. Please delete my previous post & file, if appropriate, or tweak as you see fit, André.
My apologies.
i have not working this plugin, i see video icon, but when i push this, not opening i see white background on filmstripe.
Hi, Mario...
Is this problem on just a single video or all? What format(s) are you using, and what other details (size, geometry, etc.)? I've found the player to be particular about some things, and even formats which are supposed to be supported often (for seemingly no reason) do not play.
Cheers
This problem on for all videos. I use .MP4 format and video size is 1104x832. Thank you very much:) i very wait solutions :)
Mario, which version of the plugin are you using? The one I posted in November or an earlier one? I'll try to have a look at this today, as I have a couple videos to get up on my own server.
Cheers
yeah i use version 2.2
Great. Thanks. Just wanted to make sure.
Cheers
Mario,
As in thread http://forum.coppermine-gallery.net/index.php/topic,60195.msg372794/topicseen.html#msg372794 (http://forum.coppermine-gallery.net/index.php/topic,60195.msg372794/topicseen.html#msg372794), and based on what I found there - I would try using this too with the curve theme - either setting in config or in the url..
(You didn't have a link posted for me to try it... I'm not sure whre in your gallery an example of this one is...)
Both of these plugins (Flash Media Player and Remote Videos) involve imbedding an object in the webpage with the flash player. It wouldn't surprise me if the same issue in the theme is causing both problems...
this is mp4 video http://rescue.nsc.ee/displayimage.php?album=15&pid=439#top_display_media and same problem
I would have to agree that this has something to do with your theme or some other setting. I downloaded the mp4 and pushed it to my server:
http://www.2rosenthals.net/coppermine/displayimage.php?album=22&pid=658#top_display_media
It seems to play fine for me, Mario.
yes, when you use floog themes, video does not working...i have floog themes.
The floog theme isn't provided by the Coppermine dev team... It was/is a user contribution...
See thread http://forum.coppermine-gallery.net/index.php/topic,66371.msg341638.html#msg341638 (http://forum.coppermine-gallery.net/index.php/topic,66371.msg341638.html#msg341638).
Specifically the note from the author:
Quote
As always, the theme is designed for use in my own gallery. In hope it will be usefull to others, I am sharing it here. Use at your own risk.
The author hasn't been active here in almost 3 years.
There is also a link to a curve-floog theme that addresses some other issues. You might want to try that as an alternative.
It is possible one of the other devs may recognize the issue, and be able to help... But no guarantees.
As it seems to be a theme issue, please don't clutter any plugin threads, but start a new thread in the themes board describing your issue. Thanks.
Hi Αndré
Q: The Flash Media Player (flash_media_player): v2.1 for biger playscreen?
Right now only 320x240 ... but like 640x480 or higher?
Possible?
Bye - Martin
The plugin uses the width/height settings of your Coppermine gallery by default. If you set any width/height values in a video's file information (edit_one_pic.php), those values will used instead. So either you need to adjust the default values of your Coppermine gallery (of course this will also apply to pictures!), or you need to set it manually for each video.
Quote from: Αndré on August 29, 2010, 07:53:52 PM
Open codebase.php, find
$CURRENT_PIC_DATA['pheight'] += 24;
and replace with
$CURRENT_PIC_DATA['pwidth'] = 512;
$CURRENT_PIC_DATA['pheight'] = 384;
$CURRENT_PIC_DATA['pheight'] += 24;
I am using this plugin v2.1 and I was going to try to default set width/height values so I do not have to do it manually for each video but upon searching the codebase.php file I did not find this particular code unless I'm looking in the wrong place. cmg/plugins/flash_media_player
$CURRENT_PIC_DATA['pheight'] += 24;
Add it above
$media_file = $CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'fullsize');
Quote from: Αndré on December 17, 2017, 11:28:22 AM
Add it above
$media_file = $CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'fullsize');
Thank you that worked :)
I just tried to install flash media player cpg1.5x ver 2.1 onto cpg1.6 and got the following error message
Fatal error: Uncaught Error: Call to undefined function mysql_result() in /home4/rosenblu/public_html/coppermine/plugins/flash_media_player/codebase.php:199 Stack trace: #0 /home4/rosenblu/public_html/coppermine/plugins/flash_media_player/codebase.php(233): fmp_update_filetype('mp4', 'movie') #1 /home4/rosenblu/public_html/coppermine/include/plugin_api.inc.php(307): fmp_install(true) #2 /home4/rosenblu/public_html/coppermine/include/plugin_api.inc.php(452): CPGPluginAPI::action('plugin_install', true, 'new') #3 /home4/rosenblu/public_html/coppermine/pluginmgr.php(495): CPGPluginAPI::install('flash_media_pla...') #4 {main} thrown in /home4/rosenblu/public_html/coppermine/plugins/flash_media_player/codebase.php on line 199