Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 ... 3 4 5 6 [7] 8   Go Down

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

0 Members and 1 Guest are viewing this topic.

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 720
    • GMC Design Photo Gallery
Re: Remote videos for cpg1.5.x
« Reply #120 on: February 02, 2014, 08:15:55 pm »

OK... your .youtube file looks correct - containing: http://www.youtube.com/watch?v=DOBiTKD2a-c which properly plays on youtube...
I loaded the same file to my sandbox and it played fine...

I overrode your sites theme - adding &theme=curve to the url:
http://rescue.nsc.ee/displayimage.php?album=15&pid=437&theme=curve#top_display_media
and the video played fine...
Something in your theme may be altering the code generating for the imbedded flash?

The page source for the flash object on your site appears as:
Code: [Select]
<object id="SWFlash"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" width="320" height="285"><param name="autostart" value="true" /><param name="src" value="albums/userpics/10001/video.youtube" /><embed width="320" height="285" src="albums/userpics/10001/video.youtube" autostart="true" type="application/x-shockwave-flash" ></embed></object><br />

and on my site - and yours with theme set to curve:
Code: [Select]
<object type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube-nocookie.com/v/DOBiTKD2a-c"><param name="movie" value="http://www.youtube-nocookie.com/v/DOBiTKD2a-c" /><param name="allowfullscreen" value="true" /></object><br />

Not sure what accounts for the difference - but maybe will point you in the right direction...

Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

MarioLaul

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Remote videos for cpg1.5.x
« Reply #121 on: February 02, 2014, 08:38:27 pm »

okay, but how it works in floog theme?

i don't understood, what's different?
Logged

MarioLaul

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Remote videos for cpg1.5.x
« Reply #122 on: February 02, 2014, 08:55:53 pm »

Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 720
    • GMC Design Photo Gallery
Re: Remote videos for cpg1.5.x
« Reply #123 on: February 02, 2014, 09:25:40 pm »

Perhaps one of the other devs can assist when they are available... Others have works with themes and the theme engine much more than me...
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4454
    • Windsurf.me
Re: Remote videos for cpg1.5.x
« Reply #124 on: February 02, 2014, 10:19:06 pm »

Currently when I look at your link I am getting a database error. Is that something new?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

MarioLaul

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Remote videos for cpg1.5.x
« Reply #125 on: February 02, 2014, 11:09:19 pm »

Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 720
    • GMC Design Photo Gallery
Re: Remote videos for cpg1.5.x
« Reply #126 on: February 03, 2014, 05:30:59 am »

Phill,
see threadhttp://forum.coppermine-gallery.net/index.php/topic,62704.0.html for related issue with another flash plugin...
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

MarioLaul

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Remote videos for cpg1.5.x
« Reply #127 on: February 03, 2014, 11:36:45 am »

i'll try it, but nothing change.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Remote videos for cpg1.5.x
« Reply #128 on: February 03, 2014, 12:20:58 pm »

As it seems to be a theme issue, please don't clutter any plugin threads, but start a new thread in the themes board describing your issue. Thanks.
Logged

sharpo

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 170
Re: Remote videos for cpg1.5.x
« Reply #129 on: March 14, 2014, 12:14:32 am »

I'd just like to say this plugin is excellent. I installed it this evening along with the custom thumbnail plugin & it works very well.

Thanks.
Logged
Sharpo (not an expert, just a Coppermine user)

sharpo

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 170
Re: Remote videos for cpg1.5.x
« Reply #130 on: March 15, 2014, 12:16:34 am »

When I posted yesterday about it working well, I had not tried using Chrome. It doesn't appear to work, nothing appears where the intermediate image should be.

Firefox and Internet Explorer work as expected.

I have done a search about embedding videos in Chrome and other people seem to have problems as well. Is it Chrome at fault?

http://www.sharpos-world.co.uk/BB3cpg/thumbnails.php?album=672

Above is a link to 2 YouTube videos in my gallery
Logged
Sharpo (not an expert, just a Coppermine user)

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Logged

sharpo

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 170
Re: Re: Remote videos for cpg1.5.x
« Reply #132 on: March 15, 2014, 03:30:20 pm »

Works as expected for me with Chrome 33.
Thanks for checking Andre.

I'd better investigate further, mine is also version 33. Just checked "about" and it updated to:-
"Version 33.0.1750.154 m Google Chrome is up to date."

Suppose this is what happens when you don't regularly use a certain browser and it isn't the latest version!!

Pleased to say it works for me now.
Logged
Sharpo (not an expert, just a Coppermine user)

Apolimia

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remote videos for cpg1.5.x
« Reply #133 on: December 10, 2014, 09:06:35 pm »

Is possible to add just embed codes? I mean... if I want to add a video from other host, can I just somehow add the embed code in the file and add it to the gallery? Thanks.
Logged

GainesvilleHOG

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remote videos for cpg1.5.x
« Reply #134 on: December 11, 2014, 08:42:27 am »

Rather than having to return to here for USAGE, I found it helpful to include the 3 steps in the configuration file $description.

Code: [Select]
$description = 'Upload videos from video file hosters to your gallery (YouTube, Google, Yahoo!, ...)<br />
USAGE:<br />
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)<br />
2. Rename the text file to &lt;filename&gt;.&lt;provider&gt; (e.g. my_video.youtube)<br />
3. Upload the text file to your Coppermine gallery (use the upload form or the batch-add feature)';
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Remote videos for cpg1.5.x
« Reply #135 on: December 17, 2014, 02:50:54 pm »

Is possible to add just embed codes? I mean... if I want to add a video from other host, can I just somehow add the embed code in the file and add it to the gallery? Thanks.
That's currently not supported. Of course it could be added by adjusting the regular expressions the plugin uses to detect the video ID (and probably other needed information). Feel free to adjust the plugin and share it with the community. Maybe a leading and trailing
Code: [Select]
.*will already work, but that really depends on the embed code of the respective video hosters.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Remote videos for cpg1.5.x
« Reply #136 on: January 30, 2015, 09:56:22 pm »

Attached is a beta version. It includes some unreleased changes I committed over a year ago (:o), Vine support added by ISANexusDev and some general code and feature improvement of both contributions.

Main things to test:
- YouTube: HTTP and HTTPS support of short (youtu.be) and long (youtube.com) domain - both with and without leading "www" sub-domain
- Vimeo: HTTP and HTTPS support
- Vine: everything (HTTP and HTTPS support & new config options)

« Last Edit: January 31, 2015, 01:59:31 pm by Αndré »
Logged

ISANexusDev

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 31
Re: Re: Remote videos for cpg1.5.x
« Reply #137 on: January 31, 2015, 01:28:56 pm »

Attached is a beta version. It includes some unreleased changes I committed over a year ago (:o), Vine support added by ISANexusDev and some general code and feature improvement of both contributions.

Main things to test:
- YouTube: HTTP and HTTPS support of short (youtu.be) and long (youtube.com) domain - both with and without leading "www" sub-domain
- Vimeo: HTTP and HTTPS support
- Vine: everything (HTTP and HTTPS support & new config options)

Reviewed the code: It looks shinny for me.
Tested many Youtube/Vimeo/Vine for https | http  + with or without www subdomain + youtube.com | youtu.be combinations, and all were working correctly.

Thank you!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Remote videos for cpg1.5.x
« Reply #138 on: January 31, 2015, 02:00:01 pm »

Version 1.9 has been added to initial post.
Logged

ratte-rizzo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remote videos for cpg1.5.x
« Reply #139 on: March 06, 2015, 04:50:04 pm »

Hey

I am facing a problem, that the video plugin is not working anymore since a day or so. The video link is re-directed from
https://www.youtube.com/watch?v=xxx
to
https://www.youtube-nocookie.com/watch?v=xxx

It WOULD work, if it would be redirected to
https://www.youtube-nocookie.com/watch/v/xxx
or the classic initial link above...

Thanks for fixing
Daniel
Logged
Pages: 1 ... 3 4 5 6 [7] 8   Go Up
 

Page created in 0.023 seconds with 21 queries.