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

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.

gmc

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:

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

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

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

MarioLaul

okay, but how it works in floog theme?

i don't understood, what's different?


gmc

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...
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

phill104

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


gmc

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

MarioLaul

i'll try it, but nothing change.

Αndré

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.

sharpo

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.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

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
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Αndré


sharpo

Quote from: Αndré on March 15, 2014, 12:54:36 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.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Apolimia

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.

GainesvilleHOG

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

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

Αndré

Quote from: Apolimia 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.
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
.*
will already work, but that really depends on the embed code of the respective video hosters.

Αndré

#136
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)


ISANexusDev

Quote from: Αndré 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)

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!

Αndré

Version 1.9 has been added to initial post.

ratte-rizzo

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