MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

remi/gui.py:4195–4203  ·  view source on GitHub ↗
(self, video='', poster=None, autoplay=False, loop=False, *args, **kwargs)

Source from the content-addressed store, hash-verified

4193 def attr_type(self, value): self.attributes['type'] = str(value).lower()
4194
4195 def __init__(self, video='', poster=None, autoplay=False, loop=False, *args, **kwargs):
4196 super(VideoPlayer, self).__init__(*args, **kwargs)
4197 self.type = 'video'
4198 self.attributes['src'] = video
4199 self.attributes['preload'] = 'auto'
4200 self.attributes['controls'] = None
4201 self.attributes['poster'] = poster
4202 self.set_autoplay(autoplay)
4203 self.set_loop(loop)
4204
4205 def set_autoplay(self, autoplay):
4206 if autoplay:

Callers

nothing calls this directly

Calls 3

set_autoplayMethod · 0.95
set_loopMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected