Creating a youtube view countdown
I want to create a very simple page that shows a countdown to a video getting a certain number of views.
At the moment I've been building it in wordpress, but ideally I'd like to build it as a html page. This is what I've done in wordpress so far:
I got this code to show the viewcount figure which worked:
then this one to try to show the number of views remaining until it gets to 220k which didn't:
Any help much appreciated! I'm hoping to get some code that will return the number value. Thanks,