Here is a sample of turnjs library. This sample is only available for premium users in turnjs. Even though in premium version of this plugin, there were some bugs. Here is the version with bugs removed for free.