VideoThumbnail control

Usage example

The following markup will render 500x300 Youtube video thumbnail.


<%@ Register TagPrefix="ow" Namespace="OpenWaves.Video.Web.Controls" Assembly="OpenWaves.Video" %>
...
<ow:VideoThumbnail ID="VideoThumbnail" VideoUrl="http://www.youtube.com/watch?v=CMq2xFb0juI" Width="500" Height="300" runat="server"/>
       

Properties

VideoUrl - url to a video. The url must be valid and supported by on of the VideoApis.

Width, Height - rendered thumbnail dimensions. If VideoApi returns more than one thumbnail VideoThumbnail control will use thumbnail which dimensions are the closest to the specified ones.

Last edited Feb 18, 2013 at 10:18 AM by radzio, version 5

Comments

No comments yet.