diff --git a/ox/web/youtube.py b/ox/web/youtube.py index 7d30d96..4f6ec1f 100644 --- a/ox/web/youtube.py +++ b/ox/web/youtube.py @@ -70,7 +70,9 @@ def getInfoFromAtom(entry, video_url_base=None): info['mp4'] = getVideoUrl(info['id'], 'mp4') info['720p'] = getVideoUrl(info['id'], '720p') info['1080p'] = getVideoUrl(info['id'], '1080p') - info['embed'] = '' % (info['id'], info['id']) + info['embed_flash'] = '' % (info['id'], info['id']) + info['embed'] = '' % info['id'] + return info def find(query, max_results=10, offset=1, orderBy='relevance', video_url_base=None):