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

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.

lhansson

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

Αndré

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

commonplace

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

Αndré

Hi Kevin, please upgrade to cpg1.5.8 and disable all other plugins for testing purposes.

commonplace

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

Αndré

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.

Αndré


commonplace

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

ShiversOfHorror

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.

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?

Αndré

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.



ShiversOfHorror

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.

Αndré

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;

ShiversOfHorror


Αndré

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.

thaefliger

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

Nibbler

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 ?

thaefliger

Thank you, in fact the Gallery-URL was wrong.

Which links do you mean?

Brooklyn

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.


purplefreak3

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.