lib/locomotive/liquid/filters/html.rb
# Embed a flash movie into a page
# input: url of the flash movie OR asset drop
# width: width (in pixel or in %) of the embedded movie
# height: height (in pixel or in %) of the embedded movie
Embed a flash movie into a page
input: url of the flash movie OR asset drop
width: width (in pixel or in %) of the embedded movie
height: height (in pixel or in %) of the embedded movie
Embed a flash movie into a page input : url of the flash movie OR asset drop width : width ( in pixel or in % ) of the embedded movie height : height ( in pixel or in % ) of the embedded movie
def flash_tag(input, *args)
          path = get_url_from_asset(input)
          embed_options = inline_options(args_to_options(args))
          %{
            <object #{embed_options}>
              <param name="movie" value="#{path}" />
              <embed src="#{path}" #{embed_options}/>
              </embed>
            </object>
          }.gsub(/ >/, '>').strip
        end
def flash_tag ( input , * args ) path = get_url_from_asset ( input ) embed_options = inline_options ( args_to_options ( args ) ) %{
            <object #{embed_options}>
              <param name="movie" value="#{path}" />
              <embed src="#{path}" #{embed_options}/>
              </embed>
            </object>
          } . gsub ( /  > / , '>' ) . strip end
Embed a flash movie into a page
input: url of the flash movie OR asset drop
width: width (in pixel or in %) of the embedded movie
height: height (in pixel or in %) of the embedded movie
Embed a flash movie into a page input : url of the flash movie OR asset drop width : width ( in pixel or in % ) of the embedded movie height : height ( in pixel or in % ) of the embedded movie
input
args