Displaying videos from Youtube in Coppermine. - Page 18 Displaying videos from Youtube in Coppermine. - Page 18
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Displaying videos from Youtube in Coppermine.

Started by Nibbler, October 31, 2006, 03:42:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nidhhog

Please,

Does anybody know how to enable adding youtube videos for registred and non-registred users ?? It is possible for admin only now :(


Nibbler

change


           // Youtube
           if (USER_ID) {
            $form_array[] = 'Youtube uploads';
              $form_array[] = array('', 'YT_array[]', 0, 256, 3);
              $form_array[] = 'Note: YouTube videos must be added in the form http://www.youtube.com/watch?v=xxxxxxxxxxx';
}


to


           // Youtube
           $form_array[] = 'Youtube uploads';
           $form_array[] = array('', 'YT_array[]', 0, 256, 3);
           $form_array[] = 'Note: YouTube videos must be added in the form http://www.youtube.com/watch?v=xxxxxxxxxxx';

Αndré

FYI: For everyone who has fopen() disabled (or problems installing this mod), I created this mod.

tpr

Hi guys I seem to have an odd problem.
It appears as though some IE users can not view the youtube movies (receive an error that the page can not be displayed).
Can't figure out whats the problem as the site works fine on FF, ran through an html validation and didn't come up with anything that should cause this.
http://www.yehida.co.il/gallery/displayimage.php?pos=-1790


Any ideas ?

p.s.
the site is heavily modified (integration between coppermine, vbulletin and joomla) however the problem only occur with the youtube movies.

Thanks,
Guy N.


Hein Traag


tpr

Hein,
I plan to do that before taking the site online but I'm trying to locate (and solve) the movie problem now as the upgrade is bound to create several new bugs (will probably break at least some of the integration components/templates)

Also, unless I'm wrong this is not a "known" issue that has been solved in the new version, in fact I'm fairly sure it has something to do with either the youtube or the Joomla integration plugins

Guy

Joachim Müller

It already is online as we talk - the internet is "live". Google has already indexed this very discussion, so the link is available as well. They have started spidering as well.

tpr

I can't really ask for your advise on the site, if its locked.
Having said that, taking the site online usually requires a bit more than just opening it (like telling the users the new site is open at xxx etc.)

In any case, the problem was solved (not coppermine related)
Thanks for the help anywayz.


Shinji89

Hi,
I did everything what i've read here, but i got always a messagge after upload and set description that say: "The file may not be entered." I'm using the versione with no dev code. I have attached the two files, if someone can help me I would be really grateful:) and sorry for my bad English

Shinji89

These are the files ... I don't know why they were not taken in the last message :\

fil6718

Hello,

After 3 days, it doesnt work on my gallery.
I've this error message :
YT errors:
URI                        Error message
1. VXMd8wgJ8Y0        Failed to find video

Someone can help me ?

Nibbler

You need to read the instructions more carefully.

QuoteNote: YouTube videos must be added in the form http://www.youtube.com/watch?v=xxxxxxxxxxx

That means to add the video VXMd8wgJ8Y0 you enter http://www.youtube.com/watch?v=VXMd8wgJ8Y0 as the URL.

fil6718

Thanks a lot
I have try during 3 days, change and rechange upload.php and theme.php, with the old version and the new.  >:(
I haven't see the simply and basic think  :P

Have a good day


forester

Great mode!

Some tricks:

For autostart: &autoplay=1
For Full Screen: &fs=1

You add those and and as many other optional settings as you need
in your theme.php while setting the URL of the clip:

<object width=320" height="240"><name="movie" value="http://www.youtube.com/v/';. $vid . '&autoplay=1&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="transparent" autostart="true"></param><embed src="http://www.youtube.com/v/';. $vid . '&autoplay=1&fs=1" type="application/x-shockwave-flash" wmode="transparent" width="320" height="240" autostart="true" allowfullscreen="true"></embed></object><br />

fil6718

Hello,

I've try to change my theme.php but nothing change on my site.
I have copy all the function theme_html_picture in the theme that i use, change the parametres to have autostart but nothing.
I have the impression that what i change, it's always the same.
Did I use the good page ?

Some one can help me ?

jeepguy_1980

I tried out this mod and found that it conflicts with the LightBox Slideshow Plugin v1.1.  I have made a version 1.2.  The conflict was causing the video to show up as a picture.

Joachim Müller

We'd love to see your improved version that fixes the collission. Please zip it and attach it to your posting if you're ready to share.

jeepguy_1980

I should have mentioned that I posted the updated version in the LightBox plugin thread.

Hardstyle-boy

   
I have the following problem

my domain:

http://gbbilder.eu/displayimage.php?album=1&pos=0

   
for me, only the image displayed


   
no video what I do wrong?

   
have enter the youtube url

http://www.youtube.com/watch?v=FWYtTmEUAj0

   
but only the building would not be taken over the video


   
can someone help me?

thanks in advance

Nibbler

Means you didn't apply the changes to your theme properly or at all. Also possible you have a plugin that overrides the theme.