Embedding a video into ASPDotNetStoreFront https by example

By | September 27, 2010

If you are running your entire ASPDotNetStoreFront e-commerce store under HTTPS, embedding video can be a challenging task. If you embed video using standard embeds like Vidego and You Tube, you will most likely get that nasty error message from internet Explorer saying that there is unsecure items running on the site. There is a good article here on zhacks on how to disable that message but that does not help your users who will not like seeing that ugly message every time they visit your site.

The alternative

Here is a solution you can use to avoid seeing this message with your embeds. Just include the video as an object and define your codebase from a https location. In the below example (from a Vidego video), we use the codebase located on the secure site of Adobe:

< object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" width="300" height="240" id="Media Player" align="middle">
< /object>

Defining your codebase as HTTPS eliminates the error and lets you deliver video content in your store front with ease!