Tutorials

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:

$opts = getopt("", array("token:", "privatekey:", "vtoken:"));

$ziggeo = new Ziggeo($opts["token"], $opts["privatekey"]);

$ziggeo->videos()->update($opts["vtoken"], array(
	"approved" => TRUE
));