Jump to content
xisto Community
owbussey

Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript

Recommended Posts

In the past year or two iternet explorer and other browsers have updated their coding platforms. The bad thing is that if you have any flash objects at all within your web page you have to hit the space bar or click on the flash object to activate it. Once you activate it, you then can interact with the object or the object will then play on the website.
I dont like how you have to activate the flash player first to interact with it. here is the code to prevent that. Believe me people notice how much better the site is after you do this. put <script type="text/javascript" src="ieupdate.js"></script> under the flash player. just upload the javascript to the same folder holding the page that you want to use the js for. a working example is at one of my webpages for a club at
Example web page

also to download the js you can download it from my site at
Javascript download

This makes the site so much more appealling.

Note: This is from an open source website and you can not sell this script as your own. I use it on my site as is and you can download it from my url listings above.

Share this post


Link to post
Share on other sites

Thanks, that's a useful little piece of JavaScript there. I have noticed more and more people using Flash on sections of their sites, and I have have also started doing Flash for people, and it is really annoying to have certain browsers require you to click first.

Share this post


Link to post
Share on other sites

Thank you!

Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript

 

Finding this script was the last hurdle in a large project! Thank you for putting it out here for our use!!

 

-webgurl

Share this post


Link to post
Share on other sites

Thanks for the tip. Pretty useful indeed. I'm totally new to flash, just have written a few little animations myself.

I was wondering, how can one have that form of slideshow with the little pictures on the right side? That's something I'd like to do myself on my site. Thanks in advance,


Nevermind, just found the answer myself. It's called simple viewer, and it's a freebie!! cool stuff!!! Link is here:

https://www.simpleviewer.net/simpleviewer/

Edited by karlosvalencia (see edit history)

Share this post


Link to post
Share on other sites

Wont work

Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript

 

Cant get it to work I even looked at your source on your example site and did everything how you said to.. Still wont work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.