[Radiant] Page_attachment extension with Flash files?
Sean Cribbs
seancribbs at gmail.com
Sun Jul 13 14:24:13 CDT 2008
Is SWFObject available on Google's JS cache (like Prototype and jQuery)?
If so, that could be an option.
Sean
Steven Southard wrote:
> I'm with Casper in using SWFObject to bring in all my Flash. I think
> if you don't use JavaScript like that to bring in Flash you'll have
> problems with Internet Explorer.
>
> /Steven
>
> On Jul 13, 2008, at 1:53 PM, john muhl wrote:
>
>> On 2008/07/12, at 12:41, Sean Cribbs wrote:
>>
>>> If there's a pretty standard way to insert a SWF, I'd love to see an
>>> implementation of <r:attachment:swf /> and I'd be happy to merge it in.
>>
>> http://github.com/johnmuhl/radiant-page-attachments-extension/tree/swf
>>
>> Seemed to me that <embed src="my_flash.swf" /> is the simplest way to
>> do it. If any of the Flash gurus have a more elaborate syntax they'd
>> like feel free to suggest it and I'll see what I can to do accommodate.
>>
>> Usage:
>>
>> <r:attachment:swf name="my_flash.swf" /> or with html attributes like
>> <r:attachment:swf name="my_flash.swf" class="animated" width="200"
>> height="200" />
>>
>>
>>> Sean
>>>
>>> Casper Fabricius wrote:
>>>> I have it in the lib dir of a custom extension, in a file called
>>>> extra_tags.rb inside a module called ExtraTags. Then, in the init
>>>> file of the extension, I have this line:
>>>>
>>>> Page.send :include, ExtraTags
>>>>
>>>> You can also just add the module to the standard Radiant lib dir
>>>> and put the line above in environment.rb.
>>>>
>>>> And yes, I use it with the page_attachments extension. Just supply
>>>> the name of the attachment to the src attribute of the tag.
>>>>
>>>> /Casper
>>>>
>>>>
>>>>
>>>> On 12/07/2008, at 18:27, Nate Turnage wrote:
>>>>
>>>>> On Sat, Jul 12, 2008 at 10:59 AM, Casper Fabricius
>>>>> <me at casperfabricius.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nate,
>>>>>>
>>>>>> I use SWFObject (http://code.google.com/p/swfobject/) and have a
>>>>>> custom
>>>>>> tag to insert flash elements:
>>>>>> http://pastie.org/232639
>>>>>>
>>>>>
>>>>> Which model do you add this to? And do you use it with the
>>>>> page_attachment
>>>>> extension? Thanks for the method though. It's bril.
>>>>>
>>>>>
>>>>>
>>>>> ~Nate
>>>>> _______________________________________________
>>>>> Radiant mailing list
>>>>> Post: Radiant at radiantcms.org
>>>>> Search: http://radiantcms.org/mailing-list/search/
>>>>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>>>
>>>> _______________________________________________
>>>> Radiant mailing list
>>>> Post: Radiant at radiantcms.org
>>>> Search: http://radiantcms.org/mailing-list/search/
>>>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>>>
>>>
>>> _______________________________________________
>>> Radiant mailing list
>>> Post: Radiant at radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>> _______________________________________________
>> Radiant mailing list
>> Post: Radiant at radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list