I'd like to create an embed code for my videos. I found the embed plugin in Flowplayer, but no way how to use it with the Drupal module. Any hints?
I got an embed code through the viral video plugin as explained here:http://drupal.org/node/808708#comment-3704906
But it'd still be interesting how to use the embed plugin.
how to embed flow player width and height when i use in particular block through views
Don't know if this code will work with Flowplayer API (I use it with SWF Tools / Flowplayer 3) but might be worth a try.
With your video content type (or whatever content type you're using Flowplayer with) create a new multiline textarea field with the above code as the default value (input type needs to be full HTML). This should create a small scrollable text field with the embed code in it with a 'select all' button next to it that selects all the embed code.
Not exactly a beautiful solution but it works for me :)
Thanks for your answer, but unfortunately that doesn't work for me. Firebug tells me for the last script element:
$f is not defined
You might need to change the 'script src' on the first line to match the name / location of the embed script on your server (if you haven't already..)
Yes, I changed that..
This is probably long past being useful to you now but in case anyone else finds this thread I thought I'd mention I've just found a much better way of creating video embed code at http://druplicity.com/content/easy-embed
Since this basically creates an iframe with a stripped-down video node in it, the embed code is much shorter than Flowplayer's, so IMO this is a rather nicer solution, plus it removes the need for the scripting above..
Drupal is a registered trademark of Dries Buytaert.