1
0
Fork 0
forked from OpenNeo/impress
impress/app/models
Emi Matchu 5b2062754d swf_assets/show action to embed a canvas movie in a sandboxed iframe
Not using this on the item page preview yet, but we will!

I like this approach over e.g. a web component specifically for the
sandboxing: while I don't exactly *distrust* JS that we're loading from
Neopets.com, I don't like the idea of *any* part of the site that
executes arbitrary JS unsafely at runtime, even if we theoretically
trust where it theoretically came from. I don't want any failure
upstream to have effects on us!

I copied basically all of the JS from a related project
`impress-media-server` that I had spun up at one point, to investigate
similar embed techniques. Easy peasy drop-in-squeezy!
2024-07-03 19:50:41 -07:00
..
fundraising
item
alt_style.rb
application_record.rb
auth_record.rb Add AuthUser model, connecting to openneo_id db 2023-10-23 19:05:07 -07:00
auth_user.rb
closet_hanger.rb
closet_list.rb
closet_visibility.rb
color.rb
contribution.rb
item.rb
item_outfit_relationship.rb
nc_mall_record.rb
neopets_connection.rb
neopets_page.rb
outfit.rb Support zone restriction in new item preview 2024-07-01 16:54:39 -07:00
parent_swf_asset_relationship.rb
pet.rb
pet_state.rb
pet_type.rb
species.rb
swf_asset.rb swf_assets/show action to embed a canvas movie in a sandboxed iframe 2024-07-03 19:50:41 -07:00
user.rb
zone.rb Add useItemSearch for wardrobe app, but don't use it yet! 2024-02-25 12:06:32 -08:00