Displaying videos from Youtube in Coppermine. - Page 3 Displaying videos from Youtube in Coppermine. - 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

Displaying videos from Youtube in Coppermine.

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

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Justttt

how cpomes when i have added this code i get this error

Parse error: syntax error, unexpected $end in /home/www/trippyEUi/album/upload.php on line 2775

but i dont have this line ??.

i have reveiwed the code and dont see any mistakes.
J U S T T T T

Justttt

it wil not let me edit my last post , but that problem is solved i just took out the first step ..
but now when i try to upload a youtube vid i get this error

Fatal error: Call to undefined function: file_put_contents() in /home/www/trippyEUi/album/upload.php on line 2087
J U S T T T T

Nibbler

There was a typo in the first step, try again.

Justttt

right i have that bit sorted now . but when i upload a youtube link . it only becomes a jpg. i have read this topic and still no help . if i upload the theme.php could sombody please hlep me. thanks in advance
J U S T T T T

Nibbler

You have not applied the mod to that file as far as I can see.

Justttt

ahh right i see. i have now added the code to the theme.php . but now instead of a jpg. i get a white box with nothing there  ???
J U S T T T T

Nibbler

Looks ok to me, do you have a flash plugin installed?


Pascal YAP

#48
Morning,

I'm tryng to play with this mod on Funpic.org
Unfortunately, i get an error just after enter video's URL (like h t t p://www.youtube. com/watch?v=kritugh8ks

CPG said :
0 uploads were successful.
YT errors:
URI                                                  Error message
1. h t t p://www.youtube. com/watch?v=kritugh8ks

And no Error message

Perhaps Funpic.org do not have fopen in action !

Phpinfo() said : allow_url_fopen   Off
Bad luck !

PYAP

sigepjedi

I use the hardwire theme, and i know you said to copy the code from the sample theme.php, but there is a considerable difference in the two...

simply replacing it doesnt work... adding the function doesnt work, and there isnt any similar functionality location to add it into on my hardwired theme.php...

please advise!

sigepjedi

I missed your post on page 2... added that function before ?> and atleast now my theme file saved works..

Though, upon upload I got the following:

Quote0 uploads were successful.   

Error Report
The following uploads encountered errors: 

YT errors: 
URI Error message
1. http://www.youtube.com/watch?v=7PZK8koGcmM

4Missing required parameter

mrairbrush

It works fine but i dont have a file names themes.php, online a file names themes.inc.php in includes.
No youtube uploads working but no jpeg upload. when i upload an jpeg and change the site to order the jpeg to albums there an upload search button again.


mrairbrush

The error is in the upload.php
When i works with the original file the upload of jpeg is ok. With the edit file for youtube it works wrong an i cant upload jpegs

Topfrog007

Hello Nibbler! First off a big thanks to you for producing this. I've searched for what seems like ages trying to find some way that I could have a "YouTube gallery" on my site. I was just about to purchase a program when I found this thread.

I have Coppermine and decided to give this thread a shot. I edited the upload.php and theme.php to your specifications. When I go to upload a file, and put in the entire youtube address I get this error " HTTP/1.0 200 OK ". I can't seem to figure out what is causing this problem.

Can you help me?

Excellent job on Coppermine BTW.

Nibbler

Did you put the link into one of the 2 new youtube boxes or the standard URI boxes?

Topfrog007

Hmm... I don't see that... All I have is the File Uploads: and the URI/URL uploads.
I'm guessing I missed something in the upload.php??

Topfrog007

Ok I went over it and got it the Youtube upload options to show up. Whenever I try to upload I get a blank box in the error message, but it says upload unsuccesful. Any thoughts?

And thanks for your time.

Topfrog007

I've gone through the tutorial twice since my last post, re-done everything and still can't figure out what the problem is. When I try to submit a Youtube video I get an upload unsuccessful but the error box is just blank. The site is www.Politicalrundown.com ... Is it possible to just post the correct upload.php and theme.php files?

Regards,
Preston

Topfrog007

Please will someone help me get my gallery working? I'm willing to pay a small ammount... contact me through PM please!!

mrairbrush

can you updating or extend this hack for playing videos from googlevideo or myvideo?
Youtube needs an developerid, googlevideo also.
This were great