We have released a new embed script to be used for VdoCipher videos which is faster than the earlier embed code. The earlier embed code used to wait for the player script to load before rendering the page after video player. This was a serious delay in page load time and affected the user experience. We have changed to asynchronous code which does not affect the page load time while making player loading even faster.
Asynchronous scripts are much faster in situations where the rest of the web page does not depend on a single widget. This is the situation in most cases of video players. Hence, we have created this new player.
How to update to the new player (not for plugin users):
Look out for your page loading when you have inserted embed script in your webpage. It should look something with a span element and a script tag. Replace your complete embed script with the below script:
https://gist.github.com/vibhavsinha/e4a2c5f3235aafb4b2fd
Note: Replace the $OTP at two places in the above code with the token generated from /otp API call.
Note: Using the variable generated in the back-end might involve some appropriate tags to be used. For example, you need to use in case of PHP.
For WordPress and Joomla plugin users: You shall soon see an update to the plugin for using asynchronous code in about 3-4 days. Upgrading will change all embed codes to the new asynchronous version. There is no need to update anything on each post or take any other action.
In case you are clueless where to use this code, please contact your web developer or IT provider to update to the asynchronous version.
An asynchronous video embed code delegates the player loading process to background. This way the page continues loading while video is being loaded in the background.
In case of any questions or problems, please tell us at info [at] vdocipher [dot] com or use the site chat in the bottom right of the website.
Supercharge Your Business with Videos
At VdoCipher we maintain the strongest content protection for videos. We also deliver the best viewer experience with brand friendly customisations. We'd love to hear from you, and help boost your video streaming business.
Leave a Reply