Flash Media Player plugin with visual integration (play flv/mp4/mp3/aac files) Flash Media Player plugin with visual integration (play flv/mp4/mp3/aac files)
 

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

Flash Media Player plugin with visual integration (play flv/mp4/mp3/aac files)

Started by Αndré, December 01, 2009, 04:09:38 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Αndré

This plugin uses JW Media Player to play mp4, flv, webm, aac, mp3 and ogg files in your gallery (please consider the noncommercial license 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.


sixgill

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?

Αndré

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

Joachim Müller

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

Αndré

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

purplefreak3

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/

Αndré

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.

purplefreak3


btaz


Joachim Müller

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.

Αndré

As long as the player doesn't avi, this plugin doesn't support avi, too.

Dwayne Dibbley

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

Αndré

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;
}

Dwayne Dibbley

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

Siren

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 :)

Joachim Müller

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.

mykee

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?
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Joachim Müller

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!

mykee

My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php