Example #1
0
 def p_currentTime(self):
     # 当前播放的时间,单位秒
     return r.double(24 * 60 * 60)
Example #2
0
 def p_volume(self):
     # 设置或返回音频的音量
     return r.double(1)
Example #3
0
 def m_fastSeek(self):
     # 在音频播放器中指定播放时间
     return r.double(24 * 60 * 60)
Example #4
0
 def m_fastSeek(self):
     # 在音频播放器中指定播放时间
     return r.double(24*60*60)
Example #5
0
 def p_currentTime(self):
     # 当前播放的时间,单位秒
     return r.double(24*60*60)
Example #6
0
 def m_toBlob(self):
     callback = r.Funcs()
     mimeType = r.MIMEType()
     qualityArgument = r.double(1)
     return "'%s','%s',%s" % (callback, mimeType, qualityArgument)
Example #7
0
 def p_volume(self):
     # 设置或返回音频的音量
     return r.double(1)
Example #8
0
 def m_toDataURL(self):
     # 将canvas转换为基于Base64编码的图像
     type = r.choice(["image/png", "image/jpeg"])
     args = r.double(1)
     return r.choice(["'%s',%s" % (type, args), "'%s'" % type, ""])
Example #9
0
 def m_captureStream(self):
     return r.choice([r.double(1), ""])
Example #10
0
 def m_toBlob(self):
     callback = r.Funcs()
     mimeType = r.MIMEType()
     qualityArgument = r.double(1)
     return "'%s','%s',%s" % (callback, mimeType, qualityArgument)
Example #11
0
 def m_toDataURL(self):
     # 将canvas转换为基于Base64编码的图像
     type = r.choice(["image/png", "image/jpeg"])
     args = r.double(1)
     return r.choice(["'%s',%s" % (type, args), "'%s'" % type, ""])
Example #12
0
 def m_captureStream(self):
     return r.choice([r.double(1), ""])