Active
Project:
Flowplayer API
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2011 at 16:50 UTC
Updated:
14 Jul 2012 at 21:22 UTC
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?
Comments
Comment #1
yan commentedI 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.
Comment #2
yan commentedNobody?
Comment #3
prakashrajavel commentedhow to embed flow player width and height when i use in particular block through views
Comment #4
radiorel commentedDon'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 :)
Comment #5
yan commentedThanks for your answer, but unfortunately that doesn't work for me. Firebug tells me for the last script element:
$f is not definedComment #6
radiorel commentedYou 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..)
Comment #7
yan commentedYes, I changed that..
Comment #8
radiorel commentedThis 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..