Remote videos for cpg1.5.x Remote videos for cpg1.5.x
 

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é

With this plugin you can 'upload' videos from Youtube and other video file hosters to your website.

Please find the button for the config page on the plugin manager. There you can enable/disable the different video hosters.

Usage:
1. Create a text file and insert the permalink or url from the browser address bar (e.g. http://www.youtube.com/watch?v=6B26asyGKDo)
2. Rename the text file to <filename>.<provider> (e.g. my_video.youtube)
3. Upload the text file to your Coppermine gallery (use the upload form or the batch-add feature)
4. Optional: upload a thumbnail for your video by using this plugin

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_remote_videos_v1.11.zip/download

Joachim Müller

That's cool - the kids will love that one.

Fabricio Ferrero

This kind of plugins becomes CPG even more popular, nice one! I love it! (...and I'm not a kid :P)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

phill104

Nice one ;D. And having a plugin will reduce the amount of support from people who struggle with the Youtube mod.

What other providors do you have in mind?

I don't really use video in coppermine on my windsurfing site as the joomla integration combined with this plugin linked to below takes care of all my media needs. I've linked the plugin as it has a good list of other providors and their settings.

http://allvideos.fritz-elfert.de/
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

This is just an improved plugin version of my cpg1.4.x mod  8)

I use Youtube for hosting too large video files (file size limit on my free webhost) and I don't know which other popular video websites exists. The only one I know is from Germany: www.myvideo.de

If a user want to have support for another provider, I will add it to the plugin and release a new version.

Fabricio Ferrero

Quote from: eenemeenemuu on June 19, 2009, 08:20:48 AM
I don't know which other popular video websites exists.
It probably the same as "I don't know which other popular search engine exists."  :) Of course that there are others outthere, but Youtube (or Google in my example) has more than 90% of visitors worldwide. It's not a must, but if you want to, you could take a look at this list: http://wordpress.org/extend/plugins/embedded-video-with-link/

My suggestion would be only these ones:


  • Google Video
  • Metacafé
  • Yahoo! Video
  • MySpace Video

One that had a good past was dailymotion, not so popular nowadays.

Despite this critics, I love this plugin!

Cheers,
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

phill104

I would add vimeo to that list. It is very popular over here and growing rapidly
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

There may be some who will find it usefull to embedd videos from adult video sites like youporn. I know that this is the armpit of the internet and I could understand if you would not want to look into this. As I said before, I wouldn't use the plugin anway, as videos are beyond scope on my personal coppermine-driven sites, so this is just a suggestion what others might find usefull.
Not sure about all those sites - do all of them have an API? Do they want others to embedd their content? There is an aspect to this in legal terms as well.

Αndré

I don't use any API. I just use the embed code these hosters provide to the public - so they want others to embed their content :)

I currently add support for the providers you told me.

phill104

On Fritz's site that I linked to above there is a little info on the legal implications of embedding from these sites including some details on sites he was not allowed to add to his list.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Quote from: Phill Luckhurst on June 19, 2009, 09:41:42 AM
On Fritz's site that I linked to above there is a little info on the legal implications of embedding from these sites including some details on sites he was not allowed to add to his list.
I'd be interessted in such an article, but couldn't spot it. Could you please post a deep link to it?

@Andre: on Fritz's page there is a list of video services supported by his tool:

So you could conclude that it's a list of popular services that probably fall into the category "can be used with remote players".


Αndré

I need to increase the size of the file type extension during plugin installation:
ALTER TABLE {$CONFIG['TABLE_FILETYPES']} MODIFY extension CHAR(10)

Can this cause some unintended behavior to the rest of the gallery?

phill104

It was a while back when I first started using the plugin that I saw the legal page but I cannot find it right now. It may have been on on of the othe branches of this plugin as there are a number borrowing the code.

The gist of it is that it all depends on whether it can be considered "re-broadcasting". In the UK for instance it is illegal to rebroadcast without consent but in the case of embedding you are not the one liable but the host site is. There have been cases in the UK where lawyers have sent out letters asking poeple to withdraw such content and people usually abide. There has not yet been a case of this taken to court in the UK as both sides are worried it would set a legal precedent which depending on which way it went could damage either side. In Turkey for however, you are considered the one liable and can be persued. So it depends on where you are.

Another worrying issue is that of privacy. By viewing an embedded video you are still sending certain information back to for example youtube, it is just the way a browser works. But you as a user have not visited youtube but another site that happened to embed a youtube video. Therefore you did not have a choice whether to have that information sent to them. There are currently legal wrangles going on accross the globe regarding this to find out who is ultimately responsible and whether this is an invasion of privacy.

So having said all that I suggest you put a disclaimer/warning somewhere in the plugin stating some of the above information.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Quote from: eenemeenemuu on June 19, 2009, 12:46:33 PM
I need to increase the size of the file type extension during plugin installation:
ALTER TABLE {$CONFIG['TABLE_FILETYPES']} MODIFY extension CHAR(10)

Can this cause some unintended behavior to the rest of the gallery?
I'm not sure. I suggest asking this question on the dev board for cpg1.5.x coding and to suggest increasing the size in the first place (not only for the plugin, but generally for the entire cpg1.5.x install).

Αndré

Version 1.3 attached to the initial post.

Timos-Welt

Issue: Slideshow button sometimes crashes gallery if an external video is displayed as guest.
http://pics.timos-welt.de/displayimage-lastup-0-1037.html => click on slideshow.

While executing query 'UPDATE cpg15x_pictures SET hits = hits + 1, lasthit_ip = '84.174.92.155', mtime = CURRENT_TIMESTAMP WHERE pid = ' in include/functions.inc.php on line 2626

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Αndré

Same happens for all non-images. See bug report.

Αndré

Version 1.5 adds a new config option to overwrite the default video dimensions.

Scope

I have tried uploading a privat video, which works fine if you use the youtube URL a normal video has, but if you try to upload the "Limited-access URL" youtube offers I get this error:

Error: invalid video id

I dont make my videos (of the kids for my family to see) available to everybody, so it would be useful if this type of youtube URLs were supported.