A server-side generated token can only be created by the customer so content is
authorized for playback on authorized sites. The client receives it and submits
it to embedTokenGenerator(). These tokens should not be created
on the client. The API secret should only be on the server and should not be
publicly visible. This example is only useful for debugging but should not be
used in production. Implement tokenForEmbedCodes in the
ViewController.m file. The syntax is shown in the following
example: