5 if context
.content_type
== 'application/x-shockwave-flash' :
6 options
['width'] = context
.getProperty('width', 600)
7 options
['height'] = context
.getProperty('height', 600)
8 return context
.flash_view_template(**options
)
10 return context
.file_view_template(**options
)