Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
how can we have the embed code feature for users to grab and put the video on their sites ?
Comments
Comment #1
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI am guessing that you mean the cut and paste codes like you see on, say, YouTube, for linking? I'm going to put this on hold as I have a lot of other stuff going on at the moment, but if someone out there can put together a patch that would be great :-)
Comment #2
gausarts CreditAttribution: gausarts commentedWould be a great feature for swftools, and hope it will be implemented in the 6.x-2.x-dev. Thanks
Comment #3
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI am going to change this back to "open". I'm doing some major work on SWF Tools at the moment to integrate with SWF Object API. As part of that change it makes sense to implement the embed code feature.
The only problem is I'm not quite sure how to implement it!
Off the top of my head, it needs to be an option that you set when calling the swf function, and that returns the string of text. Ideally you don't want it rendered by default so you can style it and theme it.
Maybe we need a separate call to swf that instead of returning markup returns the string...
Does anyone have any thoughts/ideas so I can try to get this right first time??
Note - changing to Feature Request and priority normal. I like to leave Critical for those things that have broken an existing version of SWF Tools and are preventing it from working!
Comment #4
gausarts CreditAttribution: gausarts commentedHi,
Flashvideo.module has a flashvideo-embed.tpl,
Would it be possible to reproduce one in swftools? Any direction would be very helpful.
Thanks
Comment #5
gausarts CreditAttribution: gausarts commentedWith flashnode module in place, I can get it to work with:
But I prefer to have swftools output a themable function, of course. So I'll be very happy if this is implemented whenever possible.
Thanks
Comment #6
infines CreditAttribution: infines commentedIs this going to happen? It would be great for D7.