Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Active x warning revisited


  • Please log in to reply

#1
ruger22com

ruger22com

    New Member

  • Member
  • Pip
  • 5 posts
My original question was........

On a website I run ( http://gulfcoastmasons.com ) everytime I open my main page, I get a windows box that asks: "click to run active X control on this website"
This is very annoying.
Is there a code I can alter or add that would eliminate this box popping up?
------------------------------------------------------------------------------------------------------------------

I was told it may be a security radio button...but I turned all those asking for a "prompt" to no longer prompt, and it still was happening.

I then in true geek fashion started eliminating sections of code chunk by chunk, to see what is actually causing it....it turns out the prompt was coming up as a result of a simple line of code to activate background music on the page (with a visable player) the simple html code is (with open/closed brackets removed so it will display):

embed src="http://www.gulfcoast...M/stairway.mid" loop="true" autoplay="true" width="145" height="60"></embed

so, is there any other code, dhmtl, java or ? I can use to play a background midi that won't cause the active x box to pop up when the page opens, or can I simply alter this chuck?

Thanks!
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
See if this works for you:

<object id="MediaPlayer" width="320" height="286" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft? Windows? Media Player components..." type="application/x-oleobject" codebase="http://activex.micro...,7,1112"><param name="filename" value="http://www.gulfcoast...way.mid"><param name="autoStart" value="true"><param name="showControls" value="true"><param name="ShowStatusBar" value="true"><param name="Autorewind" value="true"><param name="ShowDisplay" value="false">
<embed src="http://www.gulfcoast...M/stairway.mid" width="320" height="286" type="application/x-mplayer2" name="MediaPlayer" autostart="1" showcontrols="0" showstatusbar="1" autorewind="1" showdisplay="0"></embed>
</object>

Add/delete for your application. Hope I got the code right. :whistling:

Ron
  • 0

#3
ruger22com

ruger22com

    New Member

  • Topic Starter
  • Member
  • Pip
  • 5 posts
THANKS MAJOR!!!!

That works like a charm...I just reduced the height to 50 to make it more compact. no more active x pop-up!

whoooo hooo!

thanks! :whistling: :blink: :help: :) :)
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
You are very welcome. Glad I got one right this time. :whistling:

Ron
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP