I'm on localhost with:
D5.7, SWFT5.24, JWMP4.2, Filefield v. 2.4, CCK v. 1.10 -

I cannot get the player to load/play (in FF3.0.7 or IE 7.0.57..) the uploaded FLV (or swf) file to my node. Nothing but white space where the player is suppose to be. I'll add that the filefied I enabled for my node is contained in a filegroup - if that makes any difference.

I have torn my hair out a number of times, as I've re-checked, re-checked, re-checked all settings & install instructions (albeit for D6, read revisions prior).

All files are where they're supposed to be, etc.

PLEASE HELP!

CommentFileSizeAuthor
#2 Image4.png109.06 KBrhimes

Comments

Stuart Greenfield’s picture

Do you have this on a public facing page, or can you post a code sample of the markup from the page that isn't working.

To fault find we need to be able to see what is going on, ie whether the code is being inserted, whether the player paths look right, and whether the file that is being called is being put in to the code correctly.

Thanks.

rhimes’s picture

StatusFileSize
new109.06 KB

Hey Stuart, thanks for taking a look -

heres code from 'view source code' for area concerned - file to play s/b "best_commercial_ever.swf:

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
       <td width="50%" align=left valign=top>
       <div class="fieldgroup group-map"><h5>Map</h5>
  <b>Location:</b><div id='field-maplocation0mapArea'  class='mapArea' style="width: 320px; height: 232px"></div>       </div></td>

       <td width="50%" align=left valign=top>
       <div class="fieldgroup group-video"><h5>Intro</h5>
  <div class="field field-type-file field-field-introvid"><div class="field-label">Video Message:&nbsp;</div><div class="field-items"><div class="field-item odd"><div class="filefield-item"><a href="http://127.0.0.1/57test/files/intros/Best_commercial_ever.SWF"></a></div></div></div></div>       </div></td>
       
</tr>
</table>

also noticed that swfobject.js didn't load from D:\xampp\htdocs\57test\modules\swftools\shared\flash_media_player - shouldn't it? - from head:

<script type='text/javascript' src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAVjLyZOvRk63fQmI6Zq7HBxRi_j0U6kJrkFvY4-OX2XYmEAa76BTnKooqYWubtHbBkzVH3gxIRjAmlA'></script>

<link rel="shortcut icon" href="/57test/misc/favicon.ico" type="image/x-icon" />
    <style type="text/css" media="all">@import "/57test/modules/simplenews/simplenews.css";</style>
<style type="text/css" media="all">@import "/57test/files/css/27b490894ff0a4aa11f56af3f57e78cd.css";</style>
    <script type="text/javascript" src="/57test/misc/jquery.js"></script>
<script type="text/javascript" src="/57test/misc/drupal.js"></script>
<script type="text/javascript" src="/57test/modules/date/date_timezone/date_timezone.js"></script>
<script type="text/javascript" src="/57test/modules/jquery_update/compat.js"></script>
<script type="text/javascript" src="/57test/modules/jstools/jstools.js"></script>

<script type="text/javascript" src="/57test/modules/jstools/tabs/jquery.tabs.pack.js"></script>
<script type="text/javascript" src="/57test/modules/jstools/tabs/tabs.js"></script>
<script type="text/javascript" src="/57test/modules/cck_map/cck_map.js"></script>
<script type="text/javascript" src="/57test/modules/fckeditor/fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="/57test/modules/fckeditor/fckeditor.utils.js"></script>
<script type="text/javascript" src="/57test/misc/textarea.js"></script>
<script type="text/javascript" src="/57test/misc/collapse.js"></script>
<script type="text/javascript">Drupal.extend({ settings: { "jstools": { "cleanurls": true, "basePath": "/57test/" }, "tabs": { "slide": false, "fade": false, "speed": "slow", "auto_height": false, "next_text": "next", "previous_text": "previous" } } });</script>
<script type="text/javascript">var field_maplocation0markers = new Array();$(document).ready(function() { var marker0 = new Object();marker0.lat = 39.7636152971612;marker0.lon = -105.103915929794;marker0.title = "";marker0.description = "";marker0.image = '';field_maplocation0markers[field_maplocation0markers.length] = marker0; } ); </script>

<script type="text/javascript">$(document).ready(function () {var field_maplocation0map;field_maplocation0map = new gmapClientController('field-maplocation0',39.7640161074, -105.103626251, 16, 'G_SATELLITE_MAP', field_maplocation0markers, '127.0.0.1'); } );</script>

Attached is page screeenshot - image4.png

If you need more inf, I do run Firebug in FF

Thanks again!

Stuart Greenfield’s picture

How are you trying to put the swf content on the page? From a template? Via another module? The code sample you posted with this line <a href="http://127.0.0.1/57test/files/intros/Best_commercial_ever.SWF"></a> isn't SWF Tools output (and is also badly formed as it has an extra > in it). It looks like SWF Tools didn't get called, so it never added the script.

rhimes’s picture

it's getting there by filefield upload on the content type create form, I'm having users (hopefully) supply (upload) their own video files - they can't write embed scripts.

I guess I should ask at this point - as I had previously been testing jQMedia mod - and was doing it this way - as it "sniffed" (their claim) for vid & aud files which invoked the player(s) on enabled content types - anyway, does SWF Tools not work in the same/similar way?

stormsweeper’s picture

As it stands, you need to use SWF Tools in the theming layer. I've posted an initial module that does what you're looking for (#404076: Filefield CCK field formatter), but SWF Tools does not currently offer this "out of the box" as it were.

Stuart Greenfield’s picture

stormsweeper is right - and the contributed module is probably going to do what you want. I'm going to roll his patch in to the main SWF Tools module when I get a chance this evening, hopefully!

But I noticed you tagged this thread with 5.x-2.4 so it might take a little longer as the module will need to be ported back to 5.x. I'm not sure what's involved in doing that, but the module is short so hopefully not too much!