Solved

Browser without plugin

Posted on 2000-02-16
6
263 Views
Last Modified: 2013-11-18
In the case that a page with a Flash movie would be viewed from a browser without the Flash plugin, I would like to know if it is possible in that cases (without the necessary plugin) to make appear an static or animated gif instead the movie, and the way to do this.
0
Comment
Question by:raulhdc
  • 4
  • 2
6 Comments
 

Expert Comment

by:fayeb
ID: 2531121
Place this script in the header of your page

<script language="JavaScript">
<!--
function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v2.0
  if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or
      (IEGoesToURL &&  //if flag set, and MSIE browser for Win95/NT (ActiveX)
       navigator.appName.indexOf('Microsoft') != -1 &&
       navigator.appVersion.indexOf('Mac') == -1 &&
       navigator.appVersion.indexOf('3.1') == -1)) {
    if (theURL.length>2) window.location = theURL;
  } else {
    if (altURL.length>2) window.location = altURL;
  }
  document.MM_returnValue = false;
}
//-->
</script>



Place this script in the body tag of your page

MM_checkPlugin('Shockwave Flash','enter thePage with flash animation herel','enter the page with the animated gif in here',true);return document.MM_returnValue"

I hope this answers your question let me know if you have any problems
0
 

Expert Comment

by:fayeb
ID: 2531141
copy and paste this script in the header of your web pages HTML  i.e. between the <head> and </head> tags

 <script language="JavaScript">
 <!--
 function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v2.0
   if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or
   (IEGoesToURL &&  //if flag set, and MSIE browser for Win95/NT (ActiveX)
           navigator.appName.indexOf('Microsoft') != -1 &&
           navigator.appVersion.indexOf('Mac') == -1 &&
           navigator.appVersion.indexOf('3.1') == -1)) {
    if (theURL.length>2) window.location = theURL;
                        } else {
    if (altURL.length>2) window.location = altURL;
                        }
    document.MM_returnValue = false; }
   //-->
 </script>



Place this script in the body tag (<body "insert it here">of your page)  

"MM_checkPlugin('Shockwave Flash','enter thePage with flash animation herel','enter the page with the animated gif in here',true);return document.MM_returnValue"

 I hope this answers your question let me know if you have any problems
0
 

Expert Comment

by:fayeb
ID: 2531178
fayeb changed the proposed answer to a comment
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Accepted Solution

by:
fayeb earned 50 total points
ID: 2531260
Sorry about that going a little mad in the head. What I forgot to tell you is what you need to do is create to web pages one with the flash and one with the animated gif then on the page with the flash do the following

copy and paste this script in the header of your web pages HTML  i.e. between the <Head> tags

i.e.  <head><title></title> PLACE THE CODE HERE </head>

<script language="JavaScript">
<!--
function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v2.0
       if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or
       (IEGoesToURL &&  //if flag set, and MSIE browser for Win95/NT (ActiveX)
                      navigator.appName.indexOf('Microsoft') != -1 &&
                      navigator.appVersion.indexOf('Mac') == -1 &&
                      navigator.appVersion.indexOf('3.1') == -1)) {
       if (theURL.length>2) window.location = theURL } else {
       if (altURL.length>2) window.location = altURL;                  }
              document.MM_returnValue = false; }
 //-->
</script>


THEN

Place this script in the body tag (<body "insert it here">of your page)  and enter the corresponding page names  in this piece of code.

onLoad="MM_checkPlugin('Shockwave Flash','enter thePage with flash animation here','enter the page with the animated gif in here',true);return document.MM_returnValue"

THEN

Once you have done this were ever  the page is being linked from link it to the flash page and on load this will then check to see if you have a plug in if you have it will load the flash page otherwise it will load the gif page

I hope this answers your question and it is clear enough for you let me know if you have any problems
0
 

Author Comment

by:raulhdc
ID: 2537109
Hi! I'm raulhdc, first of all thanks for your answer, but I have had a little problem with it, and I would be grateful you could help me. Well, I have made all that you said on your proposed answer, but when I test it I have problems. When the browser loads the page, at first the Flash movie begins, but instead of continue with the remainder of the movie, it begins another time, and in this way all the time. It makes an infinite loop all the time beginning the movie. If it can help you I will tell you that when it enters in the loop, if I press the stop button of the browser, the loop finishes and the movie continues with the remainder. Thanks for all.

0
 

Author Comment

by:raulhdc
ID: 2537993
Don't pay attention to my last comment, now it runs quite good so I accept your answer. Thanks for all.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now