How to publish Toufee flash movies on SSL webpages (HTTPS)

This is an Archived Article

This is an archived Blog Article referencing an earlier version of Toufee. These articles are maintained for the sake of posterierity. Information presented on these pages mat not apply to this new version of Toufee.

Not many customers might know that Toufee support publishing of its flash movies on websites that use SSL. When you try to publish a Toufee movie HTML code, you might encounter the following warning message: Though clicking Yes would still allow the browser to stream the flash movie over HTTP from our servers, if security is paramount and you don't wish to compromise, then worry not as you'll see below you can turn your Toufee flash movie to be securely streamed by simply changing a few lines in the flash movie HTML code that you get from the Publish window. However please note that this feature is only available to Business customers. Let's look at an example of a normal flash movie code below:

<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNDEyNDYxNzk5NjgmcHQ9MTI*MTI*NjE4MzI4MSZwPTEyMzcxJmQ9Jmc9MiZ*PSZvPTU3NjNkYjFiYjAzMDQ4MmJhY2VmOTdjMThhMGY5ODI3Jm9mPTA=.gif" /> <p style="visibility:visible;"> <object type="application/x-shockwave-flash" data="http://pro.toufee.com/cgi2/player.pl?userID=56&projID=promobanner" height="280" width="200" style="width:200px;height:280px"> <param name="movie" value="http://pro.toufee.com/cgi2/player.pl?userID=56&projID=promobanner" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="wmode" value="transparent"/> <param name="flashvars" value="userID=56&projID=promobanner"/> </object> </p>
We'll be doing a couple of changes to convert the above code so that it supports SSL hosting. Here is how:
  1. Remove the <IMG> tag from the code.
  2. Replace all occurrences of HTTP with HTTPS Replace the line http://pro. with https://www. Please note that you will have to do this at two places in the code
So the new code would be:
<p style="visibility:visible;"> <object type="application/x-shockwave-flash" data="https://www.toufee.com/cgi2/player.pl?userID=56&projID=promobanner" height="280" width="200" style="width:200px;height:280px"> <param name="movie" value="https://www.toufee.com/cgi2/player.pl?userID=56&projID=promobanner" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="wmode" value="transparent"/> <param name="flashvars" value="userID=56&projID=promobanner"/> </object> </p>
If you are planning to host the Toufee flash movie SWF file on your own SSL website, then you don't have to follow this process. The above steps are required only if you use the HTML code generated from Toufee in which case the flash movie that is streamed by default over HTTP from Toufee's servers.

  • 9 years ago
  • 1393 Views

Contact Us