django-embed-video/embed_video/settings.py

17 lines
509 B
Python
Raw Normal View History

2013-08-22 13:44:11 +00:00
from django.conf import settings
2013-08-23 12:16:01 +00:00
2013-08-22 13:44:11 +00:00
EMBED_VIDEO_BACKENDS = getattr(settings, 'EMBED_VIDEO_BACKENDS', (
'embed_video.backends.YoutubeBackend',
'embed_video.backends.VimeoBackend',
'embed_video.backends.SoundCloudBackend',
))
""" :type: tuple[str] """
2014-02-21 22:21:00 +00:00
EMBED_VIDEO_TIMEOUT = getattr(settings, 'EMBED_VIDEO_TIMEOUT', 10)
""" :type: int """
2014-07-26 14:19:10 +00:00
EMBED_VIDEO_YOUTUBE_DEFAULT_QUERY = \
getattr(settings, 'EMBED_VIDEO_YOUTUBE_DEFAULT_QUERY', 'wmode=opaque')
""" :type: django.db.models.QuerySet | str """