coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: cpglogue on June 30, 2009, 07:23:20 AM

Title: Got MotionBox Embedded Video working
Post by: cpglogue on June 30, 2009, 07:23:20 AM
I modified Nibbler's youtube mod for MotionBox embedded video. It would grab the thumbnail directly from motionbox, and the theme would display the object embed. I also used ImageMagick's composite to add a reel/film strip overlay on the generated thumbnail to distinguish videos from photos.

Because MotionBox doesn't have any API or any practical URLs (in case of protected but embeddable videos), each embed/upload uses a pair of input text in the upload page: one for the video id and another one for the thumbnail URL. This saves the user from having to create an XML or a stub file.

If anyone's interested, let me know and I can post the code changes.

Title: Re: Got MotionBox Embedded Video working
Post by: Joachim Müller on June 30, 2009, 10:50:19 AM
Quote from: cpglogue on June 30, 2009, 07:23:20 AM
If anyone's interested, let me know and I can post the code changes.
There will be certainly users interested in your mod - please go ahead and post it.