We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9793df6 commit 7b10fbbCopy full SHA for 7b10fbb
README.md
@@ -60,16 +60,16 @@ and pass it as the parameters for a new ZencoderJob object. Execute the script o
60
$zencoder = new Services_Zencoder('93h630j1dsyshjef620qlkavnmzui3');
61
62
// New Encoding Job
63
- $encoding_job = $zencoder->jobs->create('
64
- {
65
- "input": "s3://bucket-name/file-name.avi",
66
- "outputs": [
67
68
- "label": "web"
69
- }
70
- ]
71
72
- ');
+ $encoding_job = $zencoder->jobs->create(
+ array(
+ "input" => "s3://bucket-name/file-name.avi",
+ "outputs" => array(
+ "label" => "web"
+ )
+ );
73
74
// Success if we got here
75
echo "w00t! \n\n";
0 commit comments