Got MotionBox Embedded Video working Got MotionBox Embedded Video working
 

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]

Main Menu

Got MotionBox Embedded Video working

Started by cpglogue, June 30, 2009, 07:23:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cpglogue

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.


Joachim Müller

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.