Remote videos for cpg1.5.x - Page 2 Remote videos for cpg1.5.x - Page 2
 

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

Remote videos for cpg1.5.x

Started by Αndré, June 18, 2009, 05:03:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

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

Αndré

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

freakmonger

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

Αndré

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.

nike_bytom

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



Αndré

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.

grantson

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

Αndré

Quote from: grantson on May 21, 2010, 03:06:37 PM
motionbox and photobucket to be exact
I'll have a look if it's possible to integrate them.

Αndré

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

grantson


sweetgunner

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.

sweetgunner

Quote from: sweetgunner 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.

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

Αndré

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.

diafol

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.
Country list dropdowns suck. They alienate people. Don't label me with the flag of an oppressive regime!

ff

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?

Αndré

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

ff

Quote from: Αndré on August 19, 2010, 09:13:39 AM
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

Αndré

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.

ff

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

Αndré

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 :)