I am not sure why this would come up, or if it is associated with xspf playlist, just checking

Comments

arthurf’s picture

It's associated with swfobject_api and happens when you don't have flash installed.

mlncn’s picture

It's happening when we do have Flash installed on our client computer. You don't mean Flash installed in some way on the server?

benjamin, Agaric Design Collective

Update: our problem seems to be addressed here:

No flash output, just flash install warning
http://drupal.org/node/149168

I had the same problem, solved adding
drupal_add_js(drupal_get_path('module', 'swfobject_api') .'/swfobject.js');
in my template.php.

arthurf’s picture

Can you send me a url to the page in question?

stuffnthings’s picture

the page in question is www.bootlegcafe.com/music_player

dpearcemn’s picture

I am also seeing this error message after my flash assets (which are working properly). Obviously I do have flash installed since since both the 1pixel audio player and the FLV Media Player are working properly.

Rather than just edit out the error message, I'd like to understand what the true problem is.

Here is my version list:

  • drupal-5.12
  • jquery_update-5.x-2.0
  • asset-5.x-1.0-rc2
  • swfobject_api-5.x-2.0-beta2
  • swfobject_2_1
  • xspf_playlist-5.x-1.20-alpha1

    Any help would be appreciated.

  • dpearcemn’s picture

    StatusFileSize
    new12.31 KB

    Two other observations:

  • If I create a page composed of text, MP3, text, video, text, the error message appears at the very end of the post (screen-shot attached)
  • if I promote the page to the front page, the error message does not appear!

    Thanks.

  • arthurf’s picture

    This is strange. So the "Sorry, you need to install flash to see this content." is generated by swfobject and is is overwritten by the flash file when the page loads the javascript. Could it be that the path to your flash file is relative so that it only works on the front page, but not yoursite.com/path/not/root ?

    dpearcemn’s picture

    Sorry if I confused you. The flash elements work on both the promoted page and on the actual page itself. The error message only shows on the actual page.

    Dave

    arthurf’s picture

    The flash elements work on both the promoted page and on the actual page itself. The error message only shows on the actual page.

    So if I understand you, the flash element is appearing on both the front and the node/NID page? Yet the error is only appearing on the the node/NID page? Can you direct me to a url so I can take a peek?

    dpearcemn’s picture

    StatusFileSize
    new17.58 KB
    new22.04 KB
    new18.74 KB

    I'm developing this site on an internal server with no internet access, so no, I can't send you a URL.

    OK, now the plot thickens. Please look at the attached screen shots:
    * 1-FrontPage.jpg is from the front page while I am logged in. No error message.
    * 1-EditPage.jpg is the actual page while logged in. Notice the error message.
    * 1-ShowPage.jpg is the actual page after logging out. Notice the error message is now gone! I refresh the page several times with no change.

    So I logged in from the same place and no error message! Again no amount of refreshes produces the error message.

    So I go back to the home page then back to the real page and the error message now appears!

    Just in case some one is wondering, I tried different themes and produced the same issues.

    I sure hope someone can explain this behavior.

    Dave

    bdanin’s picture

    I realize this thread is very old ... but I ran into this problem trying to use the Embed Media Field module (http://drupal.org/project/emfield).

    Found a working solution (based on and thanks to #2):
    Downloaded and installed most recent version of swfobject (http://code.google.com/p/swfobject/downloads/list)
    Installed swfobject directory into: sites>'mysite'>themes>'mytheme'

    This is part of a large multi-site install.
    Then I had to edit the template.php file and at the bottom added the code:

    // Enable Flash on for Embedded Video
    drupal_add_js(drupal_get_path('theme', 'mytheme') .'/swfobject/swfobject.js');

    Works great. I almost put this in my sites>all>modules directory, and then realized that was a bad idea as it would be eventually over-ridden on updates, so putting it in my theme directory made the most sense.

    bdanin’s picture

    As an update, this did fix my problem, however a new and similar issue has reared its head:
    I am attempting to use this with the gmap module, and want a video to show up in the gmap marker popup (which is generated through a Views Filter calling for the teaser of my Video Type) ... however, I still get the "Sorry, you need to install flash to see this content." in the popup even though when I look at the page code, the header is calling the swfobject.js. The video on it's node works however, which is a step forward.

    Will be searching for an answer still. In the end, this may not even be the best solution, since ideally, I want video that access through lightbox2, originating from our internal server and/or YouTube.

    arthurf’s picture

    do you see any JS errors in firebug when you're loading this? What does the html look like inside the gmap popup?

    aaron’s picture

    Status: Active » Postponed (maintainer needs more info)
    aaron’s picture

    Assigned: stuffnthings » Unassigned
    nehasapra1’s picture

    Grttt!!!!!! without yur posting my work would not have been done thanqqqq so much........