Flash Detection and Alternate Content, HTML Include?

So I have a header.shtml file that I'm already including in
all of the pages. In the header.shtml, I have the script that
substitutes content in if the viewer does not have the right Flash
plugin. (See attached code)
If I take the desired include, which is altnav.shtml, and
insert simple text, I can get it to ouput in the final page where I
want it. But when I insert the actual HTML for altnav.shtml, the
entire header.shtml is not shown. I've heard a few things, such as
turning altnav.shtml into a one-line file with no linebreaks, and
that you have to backslash before special characters when declaring
the alternate content, etc.
What steps should I follow and how can I get this include to
work?
I will reply to my own message later with the code for
altnav.shtml.
Thank you.

Here is the HTML for the final include
I have tested the idea of eliminating all line breaks, but I
have no idea what might need to be commented out. Any help is most
appreciated.

Similar Messages

  • Help Editing code from a published html file with flash detection enabled from flash

    hi guys ive publish a html file with flash detection enabled from flash
    heres the code from the publish html:
    <!-- saved from url=(0013)about:internet -->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>main</title>
    <script language="javascript"> AC_FL_RunContent = 0; </script>
    <script language="javascript"> DetectFlashVer = 0; </script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    // Globals
    // Major version of Flash required
    var requiredMajorVersion = 9;
    // Minor version of Flash required
    var requiredMinorVersion = 0;
    // Revision of Flash required
    var requiredRevision = 45;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <script language="JavaScript" type="text/javascript">
    <!--
    if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
         alert("This page requires AC_RunActiveContent.js.");
    } else {
         var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
         if(hasRightVersion) {  // if we've detected an acceptable version
              // embed the flash movie
              AC_FL_RunContent(
                   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
                   'width', '800',
                   'height', '600',
                   'src', 'main',
                   'quality', 'high',
                   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                   'align', 'middle',
                   'play', 'true',
                   'loop', 'true',
                   'scale', 'showall',
                   'wmode', 'window',
                   'devicefont', 'false',
                   'id', 'main',
                   'bgcolor', '#ffffff',
                   'name', 'main',
                   'menu', 'true',
                   'allowScriptAccess','sameDomain',
                   'allowFullScreen','false',
                   'movie', 'main',
                   'salign', ''
                   ); //end AC code
         } else {  // flash is too old or we can't detect the plugin
              var alternateContent = 'Alternate HTML content should be placed here.'
                   + 'This content requires the Adobe Flash Player.'
                   + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
              document.write(alternateContent);  // insert non-flash content
    // -->
    </script>
    <noscript>
         // Provide alternate content for browsers that do not support scripting
         // or for those that have scripting disabled.
           Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
           <a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
    </noscript>
    </body>
    </html>
    now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?
    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th valign="middle" scope="col"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th height="600" bgcolor="#333333" scope="col"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','height','600','src','main','quality','high','pluginspage','http://www.adobe.com /shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','main' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600">
              <param name="movie" value="main.swf">
              <param name="quality" value="high">
              <embed src="main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600"></embed>
            </object></noscript></th>
          </tr>
        </table></th>
      </tr>
      <tr>
        <td height="30" bgcolor="#990000"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th scope="col"><div align="left" class="style1">Copyright 2009 St. Paul of the Cross Parish. All Rights reserved.</div></th>
                <th width="400" scope="col"><div align="right" class="style1">Usage outside our permissions guidelines requires our prior written consent.</div></th>
              </tr>
            </table></th>
          </tr>
        </table></td>
      </tr>
    </table>
    Tnx in advance!

    Hi
    Can you tell me which version of dreamweaver you are using (and flash pro, if you have it), as the code you provided has element of a number of different versions (e.g. your js flash files are reasonably new, but your flash inserted into the html body is old, but with the cs3 version of flash player indicated!). Also the detect flash file is no longer required.
    PZ

  • Alternate content for Flash area

      Hi.  Could someone give me the simplist, yet working method to display alternate content if Flash isn't installed?
      What I have is a website with a Flash header that has the navigation buttons as part of the Flash animation.
      What I TRIED to do is have it so that if Flash isn't installed, it displays an image, plus HTML nav buttons (to replace the Flash nav buttons in the SWF that is not there now).
      I did this with a <noembed> tag... but testing it on an IPhone (...the bane of my existance...), it didn't work, and had nothing in the 'window' where the swf would normally be.  The <noembed> doesn't appear to work... unless I did it wrong, which is entirely possible, as it's already baffling having THREE methods of embedding (<object>, <embed> and javascript) present.
      I COULD just put HTML buttons on the main body (but I quite like the animated Flash nav buttons I have in the SWF, and that would mean two sets of nav buttons, one under the other, which looks dumb..... So, I'd have to have a sytem where it's one or the other.... HTML buttons or Flash buttons in the swf....  which is what I tried, but it didn't work.
      Looking up the subject online, I found lots of very intricate coding that just made my head spin.  I would rather not use coding that I didn't at least partically understand... in case something is not working, etc.
      Could someone outline the easiest and best method to do this:
      If the SWF doesn't show (Flash not installed/supported), it shows the image and HTML buttons (all within the window that the swf would normally be in).
      Please give me the complete, idiot-proof explanation, as vague ones will probably go over my head, as my scripting knowledge is weak, at best... (assuming this involves scripting).
      Would the <noembed> not work, or might it be that it is placed in the wrong spot or something?
      Here's the code I have (...as far as the content of the table cell, which is normally the swf, but attempts to load the image 'noflashheader.jpg' and the html buttons if needed):
    <td width=920 height=120>
    <script language="javascript">
         if (AC_FL_RunContent == 0) {
              alert("This page requires AC_RunActiveContent.js.");
         } else {
              AC_FL_RunContent(
                   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                   'width', '920',
                   'height', '120',
                   'src', 'flashheader',
                   'quality', 'high',
                   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                   'align', 'middle',
                   'play', 'true',
                   'loop', 'true',
                   'scale', 'showall',
                   'wmode', 'window',
                   'devicefont', 'false',
                   'id', 'flashheader',
                   'bgcolor', '#000000',
                   'name', 'flashheader',
                   'menu', 'true',
                   'allowFullScreen', 'false',
                   'allowScriptAccess','sameDomain',
                   'movie', 'flashheader',
                   'salign', ''
                   ); //end AC code
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="920" height="120" id="flashheader" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="flashheader.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#006666" />
    <embed src="flashheader.swf" quality="high" bgcolor="#006666" width="920" height="120" name="flashheader" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    <noembed>
    <img src="i/noflashheader.jpg" width="920" height="90" border="0">
    <div style="width:920; color:d4d4d4; text-align:center;">
    <a href="../ldw.html"><b class="navbutton">EXIT TO MAIN</b></a> ---
    <a href="info.html"><b class="navbutton">INFO</b></a> :
    <a href="anim.html"><b class="navbutton">ANIMATION</b></a> :
    <a href="fx.html"><b class="navbutton">DIGITAL FX</b></a> :
    <a href="imagery.html"><b class="navbutton">IMAGERY</b></a> :
    <a href="music.html"><b class="navbutton">MUSIC</b></a> :
    <a href="web.html"><b class="navbutton">WEB</b></a> ---
    <a href="laersroom.html"><b class="navbutton">LAER'S ROOM</b></a>
    </div>
    </noembed>
    </object>
    </noscript>
    </td>
    Hope someone can help me out.  Thanks.

    Hi,
    This help me for same issue
    http://code.google.com/p/swfobject/

  • How to test and develop the HTML/Backbone custom content viewer on IPad?

    Hi
    I have been tasked with developing and amending the HTML/Backbone custom content viewer as nicely detailed and explained by Derek Lu here:
    https://www.adobe.com/devnet/digitalpublishingsuite/articles/html-default-library.html#
    I can see that by removing the reference to libs/AdobeLibraryAPI.js in Index.html i am able to "test" on the desktop.
    <!--
        The DPS library/store API.
        The include below should be commented out when testing on the desktop.
    <script src="libs/AdobeLibraryAPI.js"></script>-->
    and that data is bought in via the fulfilment XML feed and the parse method is called on Librarycollection.
    I have made the changes to hook up the viewer to bring in some folios that we are developing.
    However, although this provides the ability to test and develop on the desktop in one form since we are using JS and Backbone, there are various checks within the provided code to see if ADOBE.isAPIAvailable.
    If it is, then the behaviour is different than on the desktop, so once the viewer is packaged up and put on the IPad there is disparity between what you were able to check and test on the desktop version against what is shown on the IPad.
    The question therefore is... is there a quick way to develop and test on the Ipad ... it doesnt seem like a viable option to develop blindly on the desktop and then package up the content viewer within Adobe DPS to check how those changes behave on the IPad?
    To re-iterate the viewer is to make use of backbone / js example to provide greater functionality and options for customisation.
    Thanks in anticipation.
    Dave

    Thankyou for taking the time to respond and for providing such detailed articles on adobe dps development, it is much appreciated.
    I had completely missed that article and was struggling to find anything useful from googling!
    Dave

  • Linking between Flash, pdf and html

    How to link from Flash to certain page in pdf document
    displaying in web browser?
    this is not working:
    on (release) {
    getURL("interfaces.pdf#example", "_self");
    neither: #nameddest=example, #page=2
    This works though from html, but only first time. If you surf
    beck and then go to the same link it doesnt navigate to that page!
    Any idea very appreciated!
    Thanx

    Hi Raymond,
    To respond to your question:
    Would I have to create two regions with each region the same chart one in Flash and one in HTML and Hide/Show the region depending on the platform I am running eg iPAD or Desktop?
    No, this isn't necessary at all. One chart region with a "Chart Rendering" setting of "Flash Chart" on the Chart Attributes page will do the trick. With APEX 4.2, we introduced HTML5 chart support using AnyChart, our existing supplier of Flash charts in APEX. One of the great features of their new HTML5 charting support is how they handle the rendering of a chart. If you take a look at AnyChart's documentation on the rendering options available as part of their HTML5 support, http://www.anychart.com/products/anychart/docs/users-guide/migration-guide.html#from-5.1.x-to-6.x-rendering-types, there are 4 possible rendering options available. We declaratively support two of those options in APEX:
    AnyChart Rendering Option       Associated APEX "Chart Rendering" setting
    FLASH_PREFERRED                 Flash Chart
    SVG_ONLY                        HTML5 ChartSo if you choose to generate a "Flash Chart" in APEX 4.2, AnyChart will handle the rendering of that chart for you, depending upon whether Flash is found on the device or not. Where Flash is detected, a Flash chart is rendered, however if Flash isn't detected (e.g. on devices such as an iPad), then a HTML5 chart will be rendered. So there's nothing additional for you to do - no need for two regions on your page with two different charts. If you choose to generate a "HTML5 Chart", then a HTML5 chart will always be rendered - this is no fallback to Flash with this option.
    I hope this helps to clarify things for you.
    Regards,
    Hilary

  • Trying find a way to detect and list the external hard drives/flash drives

    Hiya,
    I'm trying to find a way to detect and list all the external hard drives or flash drives connected to a machine.
    The reason I want it is that I want to make a File Synchronization program in Java which will automatically synchronize from flash drive or external hard drive to the hard drive. So I need to be able to detect the drive before I can go about trying to set up the rest of the problem.
    Also, is this the correct forum to put this kind of query in? If not what would be the correct one.
    Any help would be appericated, thanks.

    I'm thinking that this link might be useful.
    http://javaalmanac.com/egs/java.sql/ListDrivers.html
    But I can't seem to get it to work, I'm probably done the surrounding code wrong in some way.
    import java.io.*;
    import java.lang.*;
    public class ListDrivers
         List drivers = Collections.list(DriverManager.getDrivers());
         for (int i = 0; i < drivers.size(); i++)    // error 1
            Driver driver = (Driver)drivers.get(i);
            // Get name of driver
            String name = driver.getClass().getName();
            // Get version info
            int majorVersion = driver.getMajorVersion();
            int minorVersion = driver.getMinorVersion();
            boolean isJdbcCompliant = driver.jdbcCompliant();
    // error 2
    illegal start of type at the line indicated by "//error 1"
    <identifier> expected at the line indicated by "// error 2"
    (Sorry for the double post, but I can't seem to be able to edit it)

  • Alternative Content - html version of my flash template

    Can someone please direct me to a good tutorial or explain the steps for creating a Flash website with an alternative html version.  Is it as simple as creating two sites with a link to the html version or is there something special I can do to avoid duplicate content as far as SEO? I'm working with a purchased Flash template and would like to know the simplest way to do this.  Thanking you in advance.

    Hm, I assume you mean Camtasia Studio 8?
    Check the chart on the page you linked. You'll see that the version you have installed is in fact the latest version for Chrome. They haven't updated it beyond that. Each browser engine has its own latest version of flash. IE and Mozilla are 11.4.402.287.
    Aside that, there's no reason Camtasia should be requiring you to have that version of flash. Make sure when you're publishing your content that you don't check off any options to "require the user to have the latest version of Flash". You should also (if possible in your project) try to target MP4/HTML5. Check any HTML being generated with it (hopefully using SWFObject) and check for the version checking code. There is absolutely nothing Camtasia needs to require the latest version to do. I've been using Camtasia (TechSmith codec mostly) for screen recording since version 2.

  • IE10 blocks local files with flash and java content

    Hello,
    we have imported the Microsoft Security Compliance Policys for IE10.
    Now we have unfortunately
    found that, IE is blocking content on the for the "local computer".
    We have installed some software which calls a index.html with some flash and java content, but nothing gets displayed. We`ve already enabled the setting "active content to run in files on my computer", but that doesnt help.
    I have copied the files on a file server which is member in the local intranet sites, an there everything is working perfect. My question is, how can I find out which setting is causing that?
    Hope somebody have a clue.

    Hi,
    Are we using the SCM (Microsoft Security Compliance Manager ) tool here?
    If we have any issue regarding SCM, we might consider seek help in the following forum:
    http://social.technet.microsoft.com/Forums/en-us/home?forum=compliancemanagement
    For Internet Explorer 10 is blocking the page content, please follow Rob's suggestions, consider use F12 debuger to check, and here is some information regarding F12 tool usage:
    How to use F12 Developer Tools to Debug your Webpages
    Best regards
    Michael Shao
    TechNet Community Support

  • Url will use to include in crawl rules settings and in content source

    HI
    i have a internet application and i want to add some urls to crawl rules to not display in search results.
    below is  alternate access mappings settings , which has an url for Default zone , and one for Intranet zone
    which url i will use to include in crawl rules settings and in content source
    adil

    Hi,
    As I understand, you want to know which Url of the application should be added to the crawl rules setting and content
    source.
    I recommend you to use default Url.
    If you use non-Default zone Url, it will impact at query time by crawling the non-Default zone, because the query processor
    attempts to translate the URL to the Default zone's Public URL before processing the query.
    The article below is about Alternate Access Mappings (AAMs) *Explained.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/05/27/alternate-access-mappings-explained.aspx
    Best regards
    Sara Fan
    TechNet Community Support

  • Best flash detect to html

    Hi there,
    What's the best way to add a flash detect to a html page.
    I have a html page with a flash element in a DIV. (but without prober flash detect).
    Now i'm confused about the generated code after publishing my flash file.
    What part of code should I put in my html file, or is it possible to link to a 'universal js file'?
    I published for flash player 9 from flash 10.0.
    Thnx.
    Pascal

    Thanks for your answer but there's a lot off code. (See attached)
    Should this all be placed in a div?
    And isn't it possible to place this in a seperate file?
    Pascal

  • Do I need flash of can I get rid of it and somehow use HTML or anything else? XPSP3 FF7b

    Please no details on how to troubleshoot. I'm looking for alternates to flash player and don't know enough about this topic despite googling this subject (alot)...

    Were you running iOS 7 beta?  If so, as a developer you need to log into the Developer forum for assistance.
    Not a developer and running iOS 7 beta?  Then you've stolen Apple's software and will receive absolutely no assistance from this forum.  Enjoy your iBrick!

  • Each time I open Firefox I get the following chrome://tavgp/content/libs/include.js:595 and it prevents me opening many items such as interactive pages on an airline reservation page

    The message <chrome://tavgp/content/libs/include.js:595> prevents me from using interactive pages on sites such as airline reservations - I can't chose a seat for example - I don't use chrome and can't find where it apparently is residing

    This issue is caused by an AVG (tavgp) extension (Firefox/Tools > Add-ons > Extensions)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Flash 9 and Firefox on 10.4.7; firefox doesn't detect the plugin.

    Yea, Hi. Can anyone help me with finding out why Firefox will not display flash; firefox keeps syaing that the plugin needs to be downloaded, but I already updated to FLASH 9 a few weeks ago. And Safari plays FLASH fine.
    Anyway, when i was on a page with flash Using Firefox, It allowed, me to download it (Flash), and even though I already have it, I though Id download it again, since Firefox wasnt detecting it. Anwway, Firefox wont even download the Flash, it tells me someting about "unlicensed" when I try to download the plugin.
    no biggie , ill just use Safari in the meantime, but Im trying to find out whats wrong here.
    Dave

    I have Flash 9 and FireFox 1.5.0.4 recognizes it and works on the sites I tested (Adobe and my own). The error message about unlicensed stuff is something I have never seen. Try to reinstall FireFox.

  • Flash Player and HTML

    Client is looking to display some videos and information
    within a flash
    player. Since flash files cannot be read well by search
    engines, it is
    possible to have the flash player generate either an
    html/text or RSS file
    along with the video file? Thus I would anticipate that when
    a video and
    information about say an Inn is created/published that an
    html/text/rss file
    is also generated that describes what is in the video file?
    Is this possible? If it is, can someone please point me to
    some
    documentation?
    Thanx
    David

    No. Flash Player cannot render or generate a file. To create
    files you
    would need the assistance of a serverside script such as cfm,
    php, asp, cgi
    or perl.
    You can manually input into the html code the text and any
    other information
    you like that is used in the swf just before the object tag.
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <object ...
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "David Wilson" <[email protected]> wrote in message
    news:eccnsp$qeo$[email protected]..
    > Client is looking to display some videos and information
    within a flash
    > player. Since flash files cannot be read well by search
    engines, it is
    > possible to have the flash player generate either an
    html/text or RSS file
    > along with the video file? Thus I would anticipate that
    when a video and
    > information about say an Inn is created/published that
    an html/text/rss
    > file
    > is also generated that describes what is in the video
    file?
    >
    > Is this possible? If it is, can someone please point me
    to some
    > documentation?
    >
    > Thanx
    >
    > David
    >
    >
    >

  • Chrome://tavgp/content/libs/include.js:595 this keeps poping up and I have to answer no to continue

    chrome://tavgp/content/libs/include.js:595
    pops up and I have to answer no to continue
    how do I stop that

    This issue is caused by an AVG (tavgp) extension (Firefox/Tools > Add-ons > Extensions)
    Thunderbird

Maybe you are looking for