How can I push a video with a separate cover shot?
Pushing a cover shot along with a video file is simple. The following Python script is an example on how to do it:
[code lang="python"]
video = ziggeo.videos().create()
stream = ziggeo.streams().create(video['token'])
ziggeo.streams().attach_image(video['token'], stream['token'], {}, IMAGE_FILE_NAME)
ziggeo.streams().attach_video(video['token'], stream['token'], {}, VIDEO_FILE_NAME)
ziggeo.streams().bind(video['token'], stream['token'])
[/code]