forked from OpenNeo/impress
12 lines
No EOL
338 B
Text
12 lines
No EOL
338 B
Text
.outfit-viewer
|
|
- outfit.visible_layers.each do |swf_asset|
|
|
%outfit-layer{
|
|
data: {
|
|
"asset-id": swf_asset.id,
|
|
"zone": swf_asset.zone.label,
|
|
},
|
|
}
|
|
- if swf_asset.canvas_movie?
|
|
%iframe{src: swf_asset_path(swf_asset) + "?playing"}
|
|
- else
|
|
= image_tag swf_asset.image_url, alt: "" |