How to run  code in a block
Create a block (navigate to Structure -> Blocks -> Add block or http://example.com/admin/structure/block/add)
Make sure you set the Text format of the block to "Full Html"
Paste in your embed code


Please be aware of the security risks involved http://example.com/admin/help/filter, https://drupal.org/node/213156