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 am using swftools 6.x-2.5 with drupal 6.15 and cck for showing flash videos on my site.. where the video should be displayed, i get this error:
"You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly."
I did everything right in the swftools settings, everything is green at the swftools status page..
Example: http://www.freerunning.net/de/community/lexikon/360-durchbruch
Please watch the source code at line 133, looks very strange (but link to videofile is correct!), perhaps that helps...
Thank you very much!
Comments
Comment #1
aiwata55 CreditAttribution: aiwata55 commented@Breakerandi
Are you not trying to implement a flash video player via theming? In other words,
<?php swf ... ?>
?I had the same problem when I was implementing FlowPlayer 3 which gets video files from a CDN server. It was solved by the following:
1. Go to Site configuration >> SWF tools >> File Handling
2. Set "Default player for a list of mixed media" as FlowPlayer 3.
Hope this helps.
Comment #2
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedLooked at the page and it looks like you have switched to the FlowPlayer module?
I've not come across this error before, so changing it to normal not critical.
If anyone else has seen similar then please add to this thread.
Comment #3
Breakerandi CreditAttribution: Breakerandi commentedYes, I have switched to Flowplayer module.. Sorry, i got no time to watch over this issue..
Comment #4
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedClosing as user switched to a different module.
Comment #5
JeffTackett85 CreditAttribution: JeffTackett85 commentedI am having this problem as well. i installed this with the flowplayer on a fresh drupal install with no problems at all. the test videos were working fine and then they stopped working after about 5 minutes. upon checking the recent logs it seems to have jumped off track looking for videos in another location, but when i check to see that the correct path is set, there is no error. I am going to uninstall and try to do it all over again and then update this post.
Comment #6
JeffTackett85 CreditAttribution: JeffTackett85 commentedi tried it and it still didnt work so i deleted the whole drupal and created new database and well basically started all over and now it works fine... well see if it messes up again... i have my fingers crossed! thanks for the great module BTW!
Jeff
Comment #7
draks CreditAttribution: draks commentedI have had this happen on my site as well.
I can not ascertain exactly what caused it to happen, either doing a drush update, or enabling the JW4 player module:
I enabled the JW4 module and the block on the front page at http://v2.artofmultimedia.com.au now does not pick up the content. The block only has [swf file="content/swf/banner.swf"] as it's content and i have ascertained that the drupal base system path + the path in the file param lead to the file, as can be verified by loading http://v2.artofmultimedia.com.au/sites/default/files/content/swf/banner.swf
Have disabled the JW4 module, noticed that it did not set the handlers back to None in the filehandling page, so set them all back to none and saved. Resaved the block (no notifications of complaints there) and it is still not displaying my flash.
If there is any other information i can provide, then please let me know.
Thanks,
Nik
Comment #8
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI'm not sure why JW4 should be interfering since the file you are requesting is a swf, and SWF Tools will simply render that. Players shouldn't be involved at all.
Does the block work BEFORE you enable JW4?
If it does, what is the page source code saying in that case?
Then it stops working when you enable JW4?
In which case. what does the source code say now?
Can you post examples of the source code in each case?
You could give the BETA1 package a try - it's basically stable and if the features you need are working then it's certainly usable.
Comment #9
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedChanging status to normal - this bug not reported for other users so seems to be site specific at this time.
Comment #10
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedDoh - just looked at the link you posted.
Your source code says:
The path
http://artofmultimedia.com.au/vod/content/swf/banner.swf
looks a bit like a path that would be used for streamed media. That's not a valid path for your site - it returns 404 not found. In any case you can't stream an swf, and you would need a path startingrtmp://
nothttp://
.Check how you are referencing the file in your block - have you set a remote media path to build the above link? Alternatively specify the FULL url on the file setting. That will force SWF Tools to refer to it and not expand it in any way.
Because SWF Tools can't find the file the height and width are empty. If you use a full url will have to manually supply height and width information as auto-detection won't work. If you can get SWF Tools to build the proper path into sites/deaults/files then it will be able to work it out itself.
If you do want to use streaming you need to use it with video or audio files, and you supply the name in the file, and the server reference via the stream variable. See the streaming handbook page for more info.
Comment #11
djac CreditAttribution: djac commentedI am also getting the same error.
I have a node which has an embedded video. When I view the node itself, the video loads just fine and there are no errors.
However, when the node is displayed in a view (row style=node, build mode=teaser) which lists similar nodes of the same content type, I get the error.
I noticed that the field containing the embedded video was being Trimmed in the teaser output (content type settings). By changing the teaser value from Trimmed to Default, I no longer get the error.
Although setting the field's output to Default corrects the error in my case, I'd like to keep the field Trimmed.
Why does Trimmed break the embedded video?
Comment #12
djac CreditAttribution: djac commentedNot sure if trimming should break embedding a video, but I added a new untrimmed field as a workaround for my scenario.
Comment #13
hermes_costell CreditAttribution: hermes_costell commentedFor others having this issue - I found that I have to specify the height and width in the [swf] statement, and those values need to be in quotes.
In comment #10's code you'll see
which indicates that the height/width weren't being properly set.
Rather the final html output code should have looked like:
So in my situation (with my site's configuation, etc) if I put this into the body
[swf file="whatever.swf"]
I will get the "You are missing..." error statement. But if I put in[swf file="whatever.swf" height="300" width="200"]
then it will show up properly.Comment #14
brei9000 CreditAttribution: brei9000 commentedWhat the what?! How random, #13 fixed my issue.
Comment #15
ranavaibhavThis is still an issue. #13 does not solve the problem for me. I use CCK field. The weird thing is that the player appears in Firefox 3.6 however not in IE 7.0. I see following error in IE:
I verified that i have Flash support as well as JavaScript is enabled.
Comment #16
gabiroba CreditAttribution: gabiroba commentedHi, I recently upgraded swftools in my site and I'm facing the same issue.
I installed following instructions in drupal site. Version 6.25 never workd for me.
I'm trying to make a fall back from Videojs module. In version 6.25 I kept receiving this message: could not load or display content because it does not appear to exist in sites/default/sites/http://mysite/sites/default/sites
Then I decided to upgrade to 6.03-beta4, but no luck since I receive this new message that I'm missing some flash content even if I choose my cck field to be set as swftools.
So, for further information. I have download module and enabled it in my admin. Then I download all libraries, and flowplayer3 and installed that in sites/all/libraries according to instructions and renaming fold. Then, I set swfobject2 as embeding method and flowplayer3 as player.
Is there anything am I missing? Should I call a code in my template? anything like this?
Thank you for your help
Gabriela
Comment #17
mboas CreditAttribution: mboas commentedHello Fellow Ninja's,
I came across this as well.
The first thing I did was made sure I had the correct file directory for swf tools and other related and linked modules. I needed the following;
/var/www/drupalxxx/sites/default/files
/files/flash
/files/playlists
open terminal as Root user:
chmod 777 /var/www/drupalxxx/sites/default/files
Then, navigate to Site Configuration > SWF Tools > File Locations and be sure your ../files/"folder name" is the same as you just created and granted permission(s);
Now, Site Configuration > SWF Tools > "user selected player"
- Adjust the settings to your needs for the player you decide to use.
I am not sure as to what modules you have or do not have. Here is the base set I am playing with to achieve various flash concepts:
admin menu
amfphp
cck
ckeditor
ckeditor_swf
ctools
fckeditor
filefield
filefield_sources
flashnode
flexifield
flowplayer
image
imagefield
imagefield_extended
imce
imceimage (imce cck Image)
imce_swfupload
imce_tools
nodehierarchy
pathauto
services
swfaddress
swfembed
swflink
swftools
token
views
I hope this helps. ^^
Comment #18
Revalis CreditAttribution: Revalis commentedThought I'd add that I am experiencing a version of this issue as well... but it appears to be a bit more random.
I am not using JW or 1Pixel or anything, just using swf object 2 to import flash banners. Using the familiar [swf file="flash/whatever.swf" height="230" width="960"] (Only added the height and width to see if it corrected it as in #13 above. It did not.)
The problem I am having is it randomly appears and disappears.
I have Firefox and IE8 open side-by-side. Hitting refresh, I never see the flash piece come up in IE8. I always get the "You are missing some Flash content..." but in Firefox, every so often the swf loads. And I can click through it and it does what it's supposed to. But then I can hit refresh again and *poof* it's gone and I have the 'You are missing..." message again.
So consider me /subscribed. :)
Comment #19
Revalis CreditAttribution: Revalis commentedSo I can consistently make it appear and disappear now.
If I edit the block that the code is in, save it, and view it live -- the flash content is there.
If I refresh the page, or click the logo to reload the front page -- the flash content is gone.
I can rinse and repeat... on first view, the flash is there and works. Subsequent views cause the "You are missing..." text to be displayed.
I've tried turning off Caching in SWFTools as well.. doesn't appear to make a difference.
Comment #20
Revalis CreditAttribution: Revalis commentedI stopped using the [swf=] method of embedding and started using the php method. So far, it hasn't disappeared at all.. so it may just be a problem with that particular method of embedding.
Comment #21
Revalis CreditAttribution: Revalis commentedSo bizarre.. this problem is rearing its head for me again. The php code works fine in blocks, but not page nodes now.
And the issue appears to only be affecting Firefox. I see the flash content in IE6-8.
I also notice that where a page should say 'Done' after loading in the bottom left of the Status Bar, the pages with flash say 'Stopped'.