Solved

get rid of "Click to run activex control on this webpage" for viewers

Posted on 2006-10-31
10
2,468 Views
Last Modified: 2012-06-27
I have a page that has a quicktime control right on the page like this

                                            <object bgcolor="#000000" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"
                                                height="255" width="320">
                                                <param name="src" value="http://www.huntn.biz/backoffice/applications/123signup/_FILES/The_Club_Med_QT5-6.mov">
                                                <param name="autoplay" value="false">
                                                <param name="controller" value="true">
                                                <embed src="http://www.huntn.biz/backoffice/applications/123signup/_FILES/The_Club_Med_QT5-6.mov"
                                                    pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime"
                                                    controller="true" autoplay="false" height="255" width="320">
                                            </object>

I would like to make it so that it doesnt show the "Click to run activex control on this webpage".  Any ideas?

Thanks in advance
0
Comment
Question by:rodmjay
  • 5
  • 4
10 Comments
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17846733
rodmjay,

There isn't any way for you to have control over this.  It is completely dependant on the browser and its security settings.  Some users may never see it but for those that do there is no way to "force" the object to be "safe" and accepted.

It would be nice in some ways but would definitely be abused and defeat the purpose of security control if it were possible.  Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 30

Expert Comment

by:callrs
ID: 17846753
Problem is in IE7. You can fix it locally:
http://www.pchell.com/support/activex.shtml  How to Fix the Prompt for Click to Run an ActiveX Control on this webpage

0
 
LVL 30

Expert Comment

by:callrs
ID: 17846782
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17846849
I may have misread what you asked.  I thought you were describing the message that appears in the browser window below the address bar in IE.  If this is actually about the pop up confirmation box then only part of what I said is true.  Unfortunately the part that is true is the purpose of your question, a way for you to make it not appear.  Making it so the message does not appear depends on the actions of either the developer (Apple in this case with Quicktime) or the visitor.  In some cases even the visitor can't by pass it until an updated control is released.

Sorry if my first post caused any confusion. :)
0
 
LVL 30

Accepted Solution

by:
callrs earned 500 total points
ID: 17846892
The msdn link gives some methods to prevent the site viewers from getting the message without them having to install the fix. The first of those methods which I just tested is:

1) Create a new file, say "controlX.js":

document.write('<object bgcolor="#000000" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="255" width="320">')
document.write('<param name="src" value="http://www.huntn.biz/backoffice/applications/123signup/_FILES/The_Club_Med_QT5-6.mov">')
document.write('<param name="autoplay" value="false">')
document.write('<param name="controller" value="true">')
document.write('<embed src="http://www.huntn.biz/backoffice/applications/123signup/_FILES/The_Club_Med_QT5-6.mov" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" controller="true" autoplay="false" height="255" width="320"></object>')

2) Place this in your html file:

    <script src="controlX.js"></script>
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17846911
@Callrs - Great details!  I had not seen that fix.  I hope it works for him too because it seems like exactly the thing Rodmjay wants.

bol
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17890949
I'm glad that I could help you with this.  I had actually thought that I hadn't understood your question correctly and that Callrs' posts were going to be more helpful.  Thank you for the grade, the points and the fun question.

bol
0
 
LVL 30

Expert Comment

by:callrs
ID: 17941438
Thanks for the acknowledgment b0lsc0tt.  Hope you don't mind, but I e-mailed rodmjay who then agreed with what you said about the later answer. So for a better PAQ, http:Q_22058532.html requests a change.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 17941703
No problem.  It is better to get the right answer and I understand making a mistake (or was Rodmjay just teasing me??? :D).  I don't object.

bol
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question