Hi,

It would be nice if the Zencoder status api would be checked to provide transparancy from the api.
I provided a simple patch to see if the suggested approach is ok with you guys.

Comments

30equals’s picture

mmm... patch isn't clean... new cleaned up one.

Jorrit’s picture

Status: Needs review » Needs work

You should use the Drupal methods to fetch files over HTTP and decode JSON. Also, I think it is best to put nl2br() outside of the t(), <br/> doesn't need to be translated.

30equals’s picture

Status: Needs work » Needs review
StatusFileSize
new1.35 KB

I changed the patch according to your feedback. Hope it's fine now.

30equals’s picture

New patch with http error handling and change use of t().

Jorrit’s picture

Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.