Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    how to make vmp installation not start at the loading of the page ?

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Member
Posted
hi,

I have a page where I put menus, images and vet content.
If the user doesn't have vmp installed, I want vmp installation to start only when the user clicks on "3D" and not at the loading of the page.
In other words, for people who do not have the plugin installed, but who don't want to see 3d content, no popup is opened.
I tried to put the vet scene on a hidden layer that becomes visible
only when the "3d button" is clicked, but it looks like, even on a hidden layer vmp installation is started.
Do you have any idea ?

Thanks for your help.
 
Posts: 3 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
Hi,

You presumably currently have a constructor call in your HTML that looks something like this:

vmp = new MTSPlugin("your.mtx", 300, 200, "bkey.mtx", "PopUp", "")

If you change the 5th parameter to be a HTML tag for an image, then if the VMP is not installed, instead of automatically opening a popup installer, it will embed that HTML as a link.

The image will usually be a GIF that instructs the user they can click on it to install the VMP.

If you do this, you also need to add something into your 6th parameter to flag that you've done it.

Here's an example of the above constructor call that's been modified to do this:

vmp = new MTSPlugin("your.mtx", 300, 200, "bkey.mtx", "< img
src="my.gif" border=0 >", "imagelink=1;")

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    how to make vmp installation not start at the loading of the page ?