Approving videos using Server-Side SDKs

You can use our moderation dashboard to moderate videos prior to making them accessible on your website. But you can also use our server-side SDKs to approve videos. See here, for example, how to do this with PHP: [code language="php"] $opts = getopt("", array("token:", "privatekey:", "vtoken:")); $ziggeo = new Ziggeo($opts["token"], $opts["privatekey"]); $ziggeo->videos()->update($opts["vtoken"], array( "approved" => TRUE )); [/code]
PREV NEXT