Jump to content

Recommended Posts

In my old system I have slideshow_flyin1.html that executes slideshow_flyin1.swf.

 

I am converting by talking my html files, deleting everything except the body and changing it to a .php file. Then I go back and clean up/change the code. It has worked well for me.

 

Doesn't work in this case. Here is the resulting program which was created by a slideshow creation program I have.

 

slideshow_flyin1.php

<table align="center" border="0" cellpadding=0 cellspacing=0>
   <tr>
      <td align="center">Flyin 1 Pictures</td>
   </tr>
   <tr><td align="center"><br /></td></tr>
   <tr>
     <td align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="movie" value="slideshow_flyin1.swf" />
	<param name="quality" value="high" />
	<embed src="slideshow_flyin1.swf" quality="high" width="640" height="480" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
     </td>
   </tr>
         <tr>
      <td align="center" ><br />
        Created by <a href="http://www.flash-slideshow-maker.com/index.php?srcid=glc" target="_blank">Flash Slideshow Maker</a>
      </td>
   </tr>
   <tr>
     <td align="center" valign="middle" bgcolor="#FFCC99"><br />
<a href="http://www.flash-slideshow-maker.com/buynow.php?srcid=glc" target="_blank"><strong>Order the full version now to remove the software logo at the end of slideshow</strong></a>     </td>
   </tr>
</table>

This one is really over my head.

 

Link to comment
https://forums.phpfreaks.com/topic/230470-another-link-problem-but-different-kind/
Share on other sites

The important part of that is simply the object tag.  It does not have to be inside a table.. you can stick an object inside a

, so just cut and paste everything from into your new file.  You can drop out of php inside your php file of course.

 


// need pure html block
?>








// do more php if needed

?>

 

Nothing happened. As I said before, it works when calling the swf from an html file.

 

Pretty sure this is right.

 

memu2.php

<!-- ===================== Dropdown item #4 =========================== -->
    <li>
        <a href="#">Slideshows</a>
        <ul>
            <li>
                <a href="#">Shed construction</a>
            </li>
            <li>
                <a href="#">Runway construction</a>
            </li>
            <li>
                <a href="#">Laying the fabric</a>
            </li>
            <li>
                <a href="index1.php?page=slideshow_flyin1">Fun flyin #1</a>
            </li>
        </ul>
    </li>

slideshow_flyin1.php

<?php
?>

<div id="slideshow">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="slideshow_flyin1.swf" />
<param name="quality" value="high" />
<embed src="slideshow_flyin1.swf" quality="high" width="640" height="480" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

 

I suspect something else is going on but I have no idea what.

 

I tried to setup my videos in the same fashion and got this error: The video is handled in a js program.

 

The contents of the page could not be displayed.

This can be caused by the following reasons:

    * Microsoft Internet Explorer blocks the flash content on your page.
      Click the warning in the upper part of the browser and select the Allow Blocked Content... option to continue opening the page.

    * You need to install or upgrade your Flash Player.
      Please visit the Adobe site to download and install the latest version of the Flash Player necessary to be able to display the contents of this page

 

The video also still works with the old code. And I am not using IE but Firefox.

Let's start over from scratch.

 

I have two programs:

 

slideshow_flyin1.swf

 

slideshow_flyin1.html (created by a slideshow creation program)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Flyin 1 Pictures</title>
</head>
<body bgcolor="#C2CECE">
<p> <p>
<style type="text/css">
<!--
.style1 {
color: #006633;
font-weight: bold;
}
-->
</style>
<!-- saved from url=(0013)about:internet -->
<table align="center" border="0" cellpadding=0 cellspacing=0>
   <tr>
      <td align="center">Flyin 1 Pictures</td>
   </tr>
   <tr><td align="center"><br /></td></tr>
   <tr>
     <td align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="movie" value="slideshow_flyin1.swf" />
	<param name="quality" value="high" />
	<embed src="slideshow_flyin1.swf" quality="high" width="640" height="480" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
     </td>
   </tr>
         <tr>
      <td align="center" ><br />
        Created by <a href="http://www.flash-slideshow-maker.com/index.php?srcid=glc" target="_blank">Flash Slideshow Maker</a>
      </td>
   </tr>
   <tr>
     <td align="center" valign="middle" bgcolor="#FFCC99"><br />
<a href="http://www.flash-slideshow-maker.com/buynow.php?srcid=glc" target="_blank"><strong>Order the full version now to remove the software logo at the end of slideshow</strong></a>     </td>
   </tr>
</table>
</body>
</html>

If I link to this file or double click it, everything works fine.

 

Now I am trying to get the video to work from this menu:

 

menu2.php (just a slice)

<!-- ===================== Dropdown item #3 =========================== -->
    <li>
        <a href="#">Videos</a>
        <ul>
            <li>
                <a href="index1.php?page=sailplanes">Sailplanes</a> <!-- Ex of how rest of menu works -->
            </li>
            <li>
                <a href="#">Amazing 3D</a>
            </li>
            <li>
                <a href="#">Glenn's B36</a>
            </li>
            <li>
<!--               <a href="index1.php?page=slideshow_flyin1">Flyin</a> -->
<!--               <a href="slideshow_flyin1.html">Flyin</a> -->
<!--                   <a href="<?php include('content/pages/slideshow_flyin1.html'); ?">Flyin</a> -->
            </li>
</ul>

 

How do I code menu2.php and/or modify slideshow_flyin1.html so the slideshow works?

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.