With the massive popularity of online video adding video to your website should be a major consideration when formulating content strategies. YouTube gives you a place to build your own channel of videos to share with the world and also provides a powerful developers API to grab not only your uploaded videos but videos from millions of YouTube users adding YouTube functionality to your website and apps.

The snippet provided below allows your to control video playback via mouse events and the YouTube API. When a user's mouse enters the container holding the video, in the example below a css class, the video will begin playing. A powerful feature to add to video ads placed on your website or short video explainers.

This post was written by Steven Soehl Tampa based web developer & designer, online marketer, and WordPress.

Tags

Posted Under: , , ,

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz