Using Localplayback
What it does?
Localplayback is a parameter that will allow you to preview your video immediately after recording, while your video is being uploaded in the background.
So if you want to show the preview before the upload, the “localplayback” parameter will need to be specified in your embedding, if it is not specified, then the preview will not be shown until after the upload is completed.
When/Where is it available?
It is important to note that this parameter is only available in our V2, so if you’re using V1, you will not be able to preview the video before it’s fully uploaded.
Furthermore, this parameter is available for revisions after r15, while r15 does also support this parameter, it is recommended that you use either our latest or stable revision when embedding your headers, for example, you would need to set the following tags in your headers:
Latest revision:
<link rel="stylesheet" href="//assets-cdn.ziggeo.com/v1-latest/ziggeo.css" />
<script src="//assets-cdn.ziggeo.com/v1-latest/ziggeo.js"></script>
* Our latest revision refers to the latest codes available which is usually best fit for development servers.
Stable revision:
<link rel="stylesheet" href="//assets-cdn.ziggeo.com/v1-latest/ziggeo.css" />
<script src="//assets-cdn.ziggeo.com/v1-stable/ziggeo.js"></script>
* We recommend using our stable revision on the production servers.
I have done all the above, but it’s still not working for me?
Along with the steps we explained above, there are some other things to note when specifying localplayback, as it will not always be available:
1. Localplayback only works if the video is possible to be previewed immediately after recording, in some cases, the video will not be playable until our servers finish processing the video.
2. In order to have Localplayback work as expected, the video will need to be in an MP4 format when using flash, however, this is not needed for WebRTC as it will play any format.
In case localplayback fails to load for any of the reasons above, the video would fall back to the standard procedure, and the preview will happen after the upload is completed and the video is processed.
For more informations and examples on how to use Localplayback, please visit the link below:
Uploading videos in the background while video preview is shown
Please sign in to leave a comment.
Comments
0 comments