Register

White block where tutorial should be playing

Questions regarding the authoring of Viewlets, installation or possible bugs with our products. For urgent issues, please use our support form on our website: http://www.qarbon.com/help/helpme.php
User
Posts: 27
Joined: Tue May 15, 2007 10:05 am

White block where tutorial should be playing

Postby continentalop » Tue Sep 01, 2009 8:20 am

HI all,

Our customers have limited internet access, so we use a proxy to allow them to view our tutorials. Please see the following thread for the details about the proxy:

viewtopic.php?f=18&t=1009

When using the proxy, all tutorials made with ViewletBuilder 6 work with no problems. However, all tutorials made using ViewletCam 2.0 display a white block where the tutorial should be. The HTML page loads, and the status bar at the bottom of the browser shows the progress of the Flash file download, but when the file has completed downloading, there's just a big white block where the tutorial should be playing.

How can we fix this?

Site Admin
User avatar
Posts: 1071
Joined: Fri May 26, 2006 3:15 pm
Location: San Jose, CA

Re: White block where tutorial should be playing

Postby James » Tue Sep 01, 2009 9:48 am

Hello,

First lets look at the structure of how the movies are saved and played back.

When you compile your Vcam2 movie, there are 3 output files created. (The VCP file is the project file)

An HTML launcher file
A Javascript file
An SWF file

testcam.png


This structure was created to be backwards compatible with older IE browsers to avoid the "CLICK TO ACTIVATE" message displayed
over all Flash files.

So what happens is the HTML file calls the JS file which calls the SWF file. If you are missing any of these files, it will break the process.

Please review that all 3 files are present.

James

User
Posts: 27
Joined: Tue May 15, 2007 10:05 am

Re: White block where tutorial should be playing

Postby continentalop » Tue Sep 01, 2009 10:43 am

I checked, and all three files are present.

A few more details:

You can view the tutorials with no problems when viewed from anywhere EXCEPT the proxy site. So if we were to bypass the proxy and view the tutorials directly off the website where they are posted, the tutorials would work with no problems.

This happens in both IE and Firefox when viewing through the proxy.

Site Admin
User avatar
Posts: 51
Joined: Sat May 27, 2006 1:27 am
Location: Dolny Kubin, Slovakia

Re: White block where tutorial should be playing

Postby Rado » Wed Sep 02, 2009 6:50 am

The HTML and JS file output by ViewletCam2 do not contain any absolute URLs, so it shouldn't really cause problems with your custom proxy configuration. The best way to track this down would be to test if you can access each of the 3 files individually via the proxy. For example, if the files are hosted at http://www.somewebsite.com/myviewlet, and accessible via your proxy at http://internal-website/somewebsite/myviewlet, try opening the following 3 URLs:

  • http://internal-website/somewebsite/myviewlet/viewlet.html - the entry file of the viewlet
  • http://internal-website/somewebsite/myviewlet/viewlet.js - the JS file, your browser should display its content
  • http://internal-website/somewebsite/myviewlet/viewlet.swf - the SWF file - your browser should just play your viewlet

This way you will be able to tell if your proxy isn't filtering any of the 3 files. Don't forget to replace the URLs and filenames with your actual values.

Return to Discussions

Who is online

Users browsing this forum: No registered users and 1 guest