本文整理汇总了Python中common.DataObjects.VideoHostingInfo.set_video_hosting_image方法的典型用法代码示例。如果您正苦于以下问题:Python VideoHostingInfo.set_video_hosting_image方法的具体用法?Python VideoHostingInfo.set_video_hosting_image怎么用?Python VideoHostingInfo.set_video_hosting_image使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类common.DataObjects.VideoHostingInfo
的用法示例。
在下文中一共展示了VideoHostingInfo.set_video_hosting_image方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image(
"http://oakhill.newton.k12.ma.us/sites/oakhill.newton.k12.ma.us/files/users/3/google_docs_image.png"
)
video_hosting_info.set_video_hosting_name(VIDEO_HOSTING_NAME)
return video_hosting_info
示例2: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image(
"http://s2.wp.com/wp-content/themes/a8c/videopress4/img/logo-footer.png?m=1340912836g"
)
video_hosting_info.set_video_hosting_name("VideoPress")
return video_hosting_info
示例3: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image('http://www.koreaittimes.com/images/imagecache/medium/facebook-video-player-logo.png')
video_hosting_info.set_video_hosting_name('Facebook')
return video_hosting_info
示例4: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image('')
video_hosting_info.set_video_hosting_name('SoundCloud')
return video_hosting_info
示例5: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image('http://www.mediaplaybox.com/administration/fckeditor/uploaded_files/mslogo.png')
video_hosting_info.set_video_hosting_name(VIDEO_HOSTING_NAME)
return video_hosting_info
示例6: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image('')
video_hosting_info.set_video_hosting_name(VIDEO_HOSTING_NAME)
return video_hosting_info
示例7: getVideoHostingInfo
# 需要导入模块: from common.DataObjects import VideoHostingInfo [as 别名]
# 或者: from common.DataObjects.VideoHostingInfo import set_video_hosting_image [as 别名]
def getVideoHostingInfo():
video_hosting_info = VideoHostingInfo()
video_hosting_info.set_video_hosting_image("")
video_hosting_info.set_video_hosting_name("Vioku")
return video_hosting_info