Advanced search  

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]

Pages: 1 2 3 4 5 [6] 7 8 9   Go Down

Author Topic: Flash Media Player plugin with visual integration (play flv/mp4/mp3/aac files)  (Read 175052 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

Sure. Just have a look at the HTML code when you view the video and copy that code to your blog.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9097
  • aka Frantz
    • Ma galerie

added french translation to the plugin in the SVN (Thank's FBleu)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

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

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

Please adjust the 'URL of your Coppermine gallery folder' in the Coppermine config. It's currently set to
Quote
http://balloondecor.co.za/coppermine/
but has to be
Quote
http://balloondecor.co.za/
Logged

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

How did you find that?  8)
The error message was quite obvious ;)


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

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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

Logged

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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

 :-[
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

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

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

Please post the debug output.
Logged

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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     


==========================
               
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

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?
Logged

bloo

  • Coppermine newbie
  • Offline Offline
  • Posts: 13

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

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F53ZLH.jpg&hash=0041462c9a9541dcc341e5a0faee9885)


The file types are in the list in File Settings.

Any thoughts? o.O
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120

oh, sorry, that was me trying image tags!!

Here is the image as a proper link: http://i.imgur.com/53ZLH.jpg
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759

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

Wolfseye

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20

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
Logged
Pages: 1 2 3 4 5 [6] 7 8 9   Go Up
 

Page created in 0.032 seconds with 21 queries.