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 ... 8   Go Down

Author Topic: Remote videos for cpg1.5.x  (Read 219211 times)

0 Members and 2 Guests are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #20 on: March 23, 2010, 09:25:39 am »

I tested a private YouTube video some weeks ago and it worked. Please post the url.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #21 on: March 27, 2010, 02:39:14 pm »

Updated the video player height for the new dailymotion player in version 1.6.
Logged

freakmonger

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Remote videos for cpg1.5.x
« Reply #22 on: April 17, 2010, 12:29:40 pm »

When trying to upload "Jeff.YouTube" I get "Security Error". :(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #23 on: April 17, 2010, 12:41:14 pm »

Please try to upload that file with the simple upload form (http upload). Problem seems not to be related to this plugin, but to your Coppermine setup. Maybe it helps to write the file extension in lower case.
Logged

nike_bytom

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Remote videos for cpg1.5.x
« Reply #24 on: April 26, 2010, 10:43:25 pm »

hi  just add some code for youtube private videos. extension for them will be youtubepriv


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #25 on: April 27, 2010, 09:05:31 am »

Thanks for your contribution.

If you click on a limited access url (e.g. http://www.youtube.com/watch_private?v=abcdefghijk&sharing_token=N5RZKiA4K3cNuHELreQkeA) you will automatically redirected to http://www.youtube.com/watch?v=abcdefghijk. It's not possible to embed private videos via limited access url. Hm, it's technically possible, but only registered YouTube users which have access to that video can view it.

Changelog of version 1.7:
  • Use YouTube privacy-enhanced mode.
  • Added support for YouTube private video urls.
Logged

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Remote videos for cpg1.5.x
« Reply #26 on: May 21, 2010, 03:06:37 pm »

Very nice

I was reading through the example codes for cpg1.4 to do this and it was making my head spin
upgraded to 1.5 and installed this, all working sweet

I had a look in the codebase.php file most of it seems to make sense
just wondered if anyone can tell me how to find the info to add in more sites?

motionbox and photobucket to be exact

thanks

Grant
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #27 on: May 21, 2010, 03:23:18 pm »

motionbox and photobucket to be exact
I'll have a look if it's possible to integrate them.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #28 on: May 26, 2010, 11:28:00 am »

You need an account for motionbox.com - I neither have one nor want to register myself.

It's not possible to derive the embed path from the website url at photobucket.com. You need to enter that path manually, which isn't fool-proof and therefore beyond the scope of this plugin. Of course you can add
Code: [Select]
        case 'photobucket':
            $params = array(
                'search_pattern' => '/(.*)/',
                'default_width'  => 600,
                'default_height' => 361,
                'player'         => 'http://static.photobucket.com/player.swf',
                'player_height'  => 0,
            );
            return remote_videos_html_replace($params, $pic_html);
        break;
to codebase.php. But that's only recommended if you are the only person who can upload files to your gallery.
Logged

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Remote videos for cpg1.5.x
« Reply #29 on: May 26, 2010, 11:57:39 am »

Thanks Andre :)
Logged

sweetgunner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Remote videos for cpg1.5.x
« Reply #30 on: June 24, 2010, 10:37:54 pm »

Could someone help me?
I've just installed the latest version of Coppermine and also this plugin, but I cant find the upload link and field for videos in my Upload Screen.

How can I fix that?

Thanks.
Logged

sweetgunner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Remote videos for cpg1.5.x
« Reply #31 on: June 24, 2010, 11:30:21 pm »

Could someone help me?
I've just installed the latest version of Coppermine and also this plugin, but I cant find the upload link and field for videos in my Upload Screen.

How can I fix that?

Thanks.

Ok, sorry. I just figured out how to do it. I was thinking as vs 1.4...  ::)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #32 on: July 17, 2010, 11:26:50 pm »

Version 1.8 fixes a small issue on the plugin config page. If a 'remote video file extension' is the first entry in the allowed movie types list, the checkbox is now set correctly.
Logged

diafol

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • ydiafol
Re: Remote videos for cpg1.5.x
« Reply #33 on: August 03, 2010, 11:16:08 pm »

This works like a charm. Thank you.

I was a bit confused as to how to configure it, but that's now sorted.
Still, uploading a text file may be a fiddle for non-tech users. Perhaps a form with inputs for an url and a dropdown for video provider would be useful - when sent, this creates the textfile automatically. Just a thought.
Logged
Country list dropdowns suck. They alienate people. Don't label me with the flag of an oppressive regime!

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Remote videos for cpg1.5.x
« Reply #34 on: August 19, 2010, 07:31:55 am »

Maybe I'm wrong...

I've got several movies added in my CPG 1.4x with the Youtube-mod.
Will these be available with this plugin or do I have to add them all again?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #35 on: August 19, 2010, 09:13:39 am »

There are at least 2 YouTube mods. Please post a link which mod you are using.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Remote videos for cpg1.5.x
« Reply #36 on: August 19, 2010, 05:56:16 pm »

There are at least 2 YouTube mods. Please post a link which mod you are using.

Sorry.

I am/was using this one : http://forum.coppermine-gallery.net/index.php/topic,37962.0.html
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #37 on: August 19, 2010, 07:52:07 pm »

I don't know how that plugin works. But I assume that it won't work without some changes. Just give it a try in a local test environment.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Remote videos for cpg1.5.x
« Reply #38 on: August 19, 2010, 09:19:25 pm »

I've tried your plugin.

Pro:
no modding -> no fuss with updates

Contra:
need to create and upload a text-file
need to create and upload a thumbnail

The mod had as pro that you could just put the URL in an text-field and that the thumbnail was automatically generated.

If you can add the last two contra's to pro's you've got a wonderfull plugin.
Everybody should than be able to add YouTube-movies ;)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #39 on: August 19, 2010, 10:04:02 pm »

I already thought about a box where you just have to paste the youtube url and it creates the file automatically. I planned to add a second box where you have to add the file name (or alternatively use the video id as file name). But as the plugin is designed to work without fopen, I think it's not possible to automatically add the thumbnail. Of course the plugin could try to grab the thumbnail and just do noting if it doesn't work.
Let me think a little bit more about these options and give me some time :)
Logged
Pages: 1 [2] 3 4 5 6 ... 8   Go Up
 

Page created in 0.027 seconds with 22 queries.