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

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

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Remote videos for cpg1.5.x
« on: June 18, 2009, 05:03:20 pm »

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
« Last Edit: March 23, 2016, 12:24:20 pm by Αndré »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Embed external videos for cpg1.5.x
« Reply #1 on: June 18, 2009, 07:55:33 pm »

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

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Embed external videos for cpg1.5.x
« Reply #2 on: June 18, 2009, 08:57:55 pm »

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

Catching up! :)

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Embed external videos for cpg1.5.x
« Reply #3 on: June 18, 2009, 10:37:53 pm »

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/
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Embed external videos for cpg1.5.x
« Reply #4 on: June 19, 2009, 08:20:48 am »

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

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Embed external videos for cpg1.5.x
« Reply #5 on: June 19, 2009, 08:34:08 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,
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Embed external videos for cpg1.5.x
« Reply #6 on: June 19, 2009, 08:56:04 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Embed external videos for cpg1.5.x
« Reply #7 on: June 19, 2009, 09:34:19 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Embed external videos for cpg1.5.x
« Reply #8 on: June 19, 2009, 09:38:48 am »

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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Embed external videos for cpg1.5.x
« Reply #9 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Embed external videos for cpg1.5.x
« Reply #10 on: June 19, 2009, 10:36:00 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".
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Embed external videos for cpg1.5.x
« Reply #12 on: June 19, 2009, 12:46:33 pm »

I need to increase the size of the file type extension during plugin installation:
Code: [Select]
ALTER TABLE {$CONFIG['TABLE_FILETYPES']} MODIFY extension CHAR(10)
Can this cause some unintended behavior to the rest of the gallery?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Embed external videos for cpg1.5.x
« Reply #13 on: June 19, 2009, 01:28:05 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Embed external videos for cpg1.5.x
« Reply #14 on: June 19, 2009, 06:51:14 pm »

I need to increase the size of the file type extension during plugin installation:
Code: [Select]
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).
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #15 on: January 14, 2010, 02:16:29 pm »

Version 1.3 attached to the initial post.
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: Remote videos for cpg1.5.x
« Reply #16 on: January 18, 2010, 06:45:55 pm »

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.

Code: [Select]
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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #17 on: January 19, 2010, 10:15:03 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remote videos for cpg1.5.x
« Reply #18 on: March 13, 2010, 10:52:28 am »

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

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Remote videos for cpg1.5.x
« Reply #19 on: March 21, 2010, 07:52:33 pm »

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.

Logged
Pages: [1] 2 3 4 5 ... 8   Go Up
 

Page created in 0.032 seconds with 21 queries.