Closed (fixed)
Project:
SWF Tools
Version:
5.x-1.1
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2007 at 15:14 UTC
Updated:
10 Apr 2010 at 00:30 UTC
I am using blocks to display content on a page, and some of the blocks have embedded flash movies. I use code such as that shown below :
<?php print swf("flash/movie-filename.swf", "823x436"); ?>
WHen the page is displayed in firefox the movies are displayed as I want them to be.
However, when I display the same page in IE7 the movie is not shown and I see "page not found" in the Drupal log.
Any idea why this might be, and how I might be able to debug the issue ?
Note: If I copy the HTML from the block and add it to a page and display this page it works fine. I therefore suspect there is some issue when displaying movies in a block from IE. It is however strange that this works ok using firefox ...
Comments
Comment #1
TimAlsop commentedI just tried to reconfigure the embedding settings so that instead of SWFObject, I use jQuery Plugin. When I did this the IE display now works ok ... So, it might be something specific to using SWFTools with SWFObject. I say this because I load SWFObject directly elsewhere on my site in order to change params such as loop/play etc.
Comment #2
TimAlsop commentedI am making progress...
I was actually embeding a movie using SWFObject on same page I was having problems with, and this appears to be causing the problem. I removed this movie and now all movies on the page, in blocks are displayed using code like :
In summary, if I have a mixture of code like that shown above and code like :
on the same page, in blocks when i display the page in IE 7 only the SWFObject movie is shown and the other movies are not, and I get "page not found" in log. If I remove the SWFObject movie then the movies displayed using php print works.
Surely it should be possible to display movies using a combination of php print swf(...) syntax as well as the javascript method shown above ?
What am I missing ?
BTW. The reason why I am using this javascript method is so that I can display the movie and get it to start playing - all other movies are displaying without playing, unless the play button at bottom of movie is pressed.
Comment #3
Stuart Greenfield commentedIssue is over 2 1/2 years old, and no other users have reported this. Assuming it can be closed!