@staticmethod<EOL><INDENT>def get_backend(backend_or_url, context=None, **options):<DEDENT>
backend = backend_or_url if isinstance(backend_or_url, VideoBackend)else detect_backend(str(backend_or_url))<EOL>if context and '<STR_LIT>' in context:<EOL><INDENT>backend.is_secure = context['<STR_LIT>'].is_secure()<EOL><DEDENT>if options:<EOL><INDENT>backend.set_options(options)<EOL><DEDENT>return backend<EOL>
Returns instance of VideoBackend. If context is passed to the method
and request is secure, than the is_secure mark is set to backend.

A string or VideoBackend instance can be passed to the method.

:param backend: Given instance inherited from VideoBackend or url
:type backend_or_url: VideoBackend | str
:param context: Django template RequestContext
:type context: django.template.RequestContext | None
:rtype: VideoBackend