Greetings all -

I'm totally perplexed as to what's going on. I've installed and set up SWF Tools, but I cannot get it to render my video content regardless of the file type format, or seemingly any other setting.

I'm using it with filefield in CCK, and I've set the display field to:

Label = above
Teaser = Hidden
Full Node = SWF Tools - no download link

I've tried several different players, but I can't get those to work either. Currently I'm trying to use the regular "flowplayer". In the configuration settings under "file handling" I've set "FlowPlayer" to be the player of choice for every available option.

The permission settings for SWF Tools don't seem to have any affect any way I set them.

I've got the same video in .mov, .f4v, and .mp4 formats and I've added those formats to seemingly every place where they should be to allow for them to be played.

I've added this code to node.tpl.php:

<?php print swf($node->field_my_video[0]['filepath']); ?>

BTW - the field_my_video correctly corresponds to the field name in the content piece in CCK.

I've even completely removed and replaced with the beta version (which is the one I currently have installed) to see if that helped to no avail.

I've added the correct player(s) content to the sites/all/libraries directory (or the sites/all/modules/swftools/shared/ folder when trying the previous version).

I'm not even getting the warning message: You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

I'm at a loss as to why this isn't working. Can anyone offer any help?

Thanks in advance.

Comments

Stuart Greenfield’s picture

Just tried this on 6.x-3.x-dev and I can play back m4v with no problem.

To associate the extension with video you need to add it to the list at Site configuration > Administer > SWF Tools > File handling > Advanced settings, and you can associate it with video there.

You don't need to add anything to node.tpl.php if you're using CCK - just pick the SWF Tools formatter and it will render the upload straight in to the player.

The only SWF Tools permission is on the ability to administer the module - all node permissions come from the node modules - SWF Tools doesn't interact.

Do you have a public facing page where this is trying to be used? Does the source code show that the embedding is being attempted? Or is there nothing?

Are you using a public or private file system?

Also, does your event log show anything (page not found etc) to suggest that either the player or the video can't be found?

roborracle’s picture

Hi Stuart - thanks for the reply. I got it. I went back to 6.x-2.5 and I got it worked out. I didn't have the video player path set correctly it was reading 3.0.7 instead of 3.2.0 in SWF Tools > Player and plugin files.

I do have another question/problem. The player is working fine in FF 3.6, but I get nothing (literally a white box where the player should be) in IE8, Safari, Opera or Chrome. Any ideas as to why that might be?

Stuart Greenfield’s picture

This seems to happen with some installations. I've never seen it myself, but every now and then there's a report!

Which version of SWF Tools did you find this with? Which player? And which embedding method?

I'll see if I can make it happen here...

roborracle’s picture

I'm running Drupal 6.16, with flowplayer3 (3.2.0), and SWF Tools 6.x-2.5. The embedding method (swftools/embed) is direct embedding and the display fields setting in CCK is SWF Tools - no dowload link.

Thanks for your help!

roborracle’s picture

Version: 6.x-3.0-beta4 » 6.x-2.5
roborracle’s picture

Did you have any luck replicating the error? I'm going to try to install that configuration on another drupal install I have and see if the results are any different.

roborracle’s picture

I was able to successfully get it installed on a different drupal (an acquia dist.) install successfully and get it working across all browsers. It seems to be some sort of conflict in this particular install.

Does anyone know of any potential module conflicts that would cause this behavior?

roborracle’s picture

This isn't an SWF Tools problem it seems to be a problem with flowplayer3. I switched to the JW Player 5 and I'm not having the problem any longer.

fafnirbcrow’s picture

I was having a similar problem, and the solution I found was in the embedding options for SWF Tools it had the flash version defaulting to 7 for some reason. Changed it over to 9 and everything went swimmingly!

lxm’s picture

It appears to be happening to me. tvcuc.org. In IE no video player. In Firefox and Chrome either flowplayer 3 or jw work just fine. It's now running the beta. It was running 6.x-2.5. Same problem It was doing default embedding. It's now using swfobject2 embedding. Same problem.

Very frustrating

lxm’s picture

I figured out what I needed to get IE working with SWF tools. Adobe Flash had not been installed in IE8. I installed it and now everything works. I am surprised that IE8 didn't just report that I was missing plugin, but thats the way it goes. I don't normally use IE8. I only use it for testing web development stuff so that I know it will work.

stoltoguzzi’s picture

same here changed version 7 to 9

philsward’s picture

I too had the same issue... I forgot I was running the 64bit version of IE and guess what... I didn't have the 64bit version of flash installed... Spent at least an hour trying to figure out why it wouldn't play. Ugh...

If you are using the 64bit version of IE8, you can grab the "square" flash player from Adobe Labs (The square release is their testing version. 64bit hasn't been released into mainstream as of this post: 2010/10/03)