Fixes selection popup

Only Video objects hosted on UOLMais were working, now there is a funcion
to handle different types.

The embed javascript was not escaped correctly, the correct is use
django.utils.html.escapejs instead of escape.
Merge pull request #3 from mauler/master

Fixes selection popup