Receive Video Messages from your Website with ThingLink and OpenTok
This hack was developed at Hack Hollywood, which was a two day hackathon. Unfortunately, I did not come to this particular idea until the second day with only 6 hours to go. So while this code is functional, it is definitely very rough, use at your own risk. That said, the code here should get you well on your way to either creating apps for the thinglink platform or to learn how to create recorded video using OpenTok.
You can find a working demo here. Note that any recoreded messages will be emailed to me, so please be nice :)
Creating the thinglink App
After creating a new app from this page, here are the settings I used:
The code in the directory /hollywood is what I placed in the /hollywood/thinglink/video directory.
You will need to replace the text within double brackets in sendgrid_mailer.php