Update api.md

I Just Fond the previous code did not work. As in the video.js file the function is declared as VideoJS, so changing in case worked.