jazzband / django-embed-video

Django app for easy embedding YouTube and Vimeo videos and music from SoundCloud.
http://django-embed-video.rtfd.org
MIT License
382 stars 135 forks source link

Fix tests admin for #12 #14

Closed duy closed 10 years ago

duy commented 10 years ago

The test failed even without the change "http://" to "//" cause backend.get_embed_code(100, 100) add the iframe. Not sure the separation in two methods is correct.

yetty commented 10 years ago

The iframe has to be rendered. There was a problem with detecting urls without specifing of protocol. Take a look at b8bbd985eeffbeb8cb15decc764fd33a6d06cf72 commit.