I'm wondering if there are any checks currently in place that I haven't been able to find in the documentation or the element index.
I want to have the opengraph keys needed to properly share rich media files to Facebook load, but only if they're actually there. Else it's going to cause some headaches...
Also, on the subject of flowplayer. I haven't checked yet, but is there a way to set flowplayer to be called similar to this:
`
width="300" height="200" type="application/x-shockwave-flash" />
`
I'm looking to be able to embed with one call without having to include a bunch of <param> variables. Even if it's just a basic player that only calls the audio/video file.
Comments
http://flowplayer.org/documentation/index.html
The image class has a method to check for multimedia content type:
http://www.zenphoto.org/documentation/functions/_functions.php.html#functionisImageVideo
To differ between audio and video you will have to use the suffix. There is also a helper function:
http://www.zenphoto.org/documentation/functions/_functions-basic.php.html#functiongetSuffix
However there is a plugin that generates the embed code for you.
Take a look here: http://flowplayer.org/plugins/javascript/embed.html