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

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 1 Guest are viewing this topic.

bloo

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

Αndré

Please post a link to your gallery, especially a link to the video that doesn't work.


Αndré

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/

bloo

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

Αndré

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.

bloo

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


bloo

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

:-[

Αndré

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.

bloo

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.

Αndré


bloo

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     


    ==========================
                   

Αndré

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?

bloo

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.

elwave

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:

(http://i.imgur.com/53ZLH.jpg)


The file types are in the list in File Settings.

Any thoughts? o.O

elwave


Αndré

Attach images instead of hotlinking them. Try to upload the files with the simple upload form or ftp + batch-add.

Wolfseye

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

Αndré

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

Wolfseye

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 ? ;)