Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I found that Direct embedding method sometimes not work for some reasons.
I have to disable and enable swftools
Comments
Comment #1
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI've not heard of this happening before, and can't think of a good reason for this happening.
What browser does it happen in? Just one particular one, or all browsers.
When you look at the source code of page that "isn't working" can you see the SWF Tools content, or is it not being inserted on the page at all? If the mark up has been inserted does it look right?
Comment #2
adrianmak CreditAttribution: adrianmak commentedI'm using firefox 3.6.
I found that it happen on firefox.
firefox didn't load the embedding content sometimes and I have to refresh several times or even though quit and load firefox.
Comment #3
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedAlso using FF 3.6, but have not seen this before. Has anyone else experienced this?
When on a page where the content doesn't appear does the source code for the page have the embedding mark up in (<object> tags etc)?
Comment #4
adrianmak CreditAttribution: adrianmak commentedthe embedded content is the source but it doesn't show up.
Comment #5
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedThat sounds like it might be a Firefox problem then - if the embedding markup is on the page then SWF Tools is working. But if the browser doesn't render it properly that's something else I'm afraid!
Comment #6
imclean CreditAttribution: imclean commentedI'm having a similar issue. FF 3.6 doesn't display anything at all with direct embedding or SWFObject 2. The markup is there for both. Have tried FF on PC and Mac platforms.
IE, Safari and Chrome all have no problems.
Will post back if I come across a solution.
Comment #7
imclean CreditAttribution: imclean commentedProblem solved for me, it was indeed a peculiarity with Firefox. I'm using the CCK Blocks module to display a Flash field using SWF Tools. The CCK block height is set to 337px and the flash object's height is set to 100%.
Within the CCK block there is the usual array of nested divs drilling down half a dozen levels or so. For some reason all but the top level had a height of 14px so the 100% height for the flash object was only 14px. Setting the height on the immediate container div above the flash object fixed the problem. e.g.
Edit: In this case using a class is probably more versatile:
Comment #8
spgd01 CreditAttribution: spgd01 commentedI can confirm this. When i use html input filter:
[swf file="video/video.flv" width="320" height="240"]
It works once then i have to flush cache to work again.
if I switch PHP direct emebed then it works all the time.
Comment #9
spgd01 CreditAttribution: spgd01 commented