Postponed (maintainer needs more info)
Project:
SWFObject API
Version:
5.x-2.0-beta1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2008 at 22:13 UTC
Updated:
14 May 2008 at 22:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
Sebo commentedHere is a patch that fixes this issue.
Comment #2
arthurf commentedAh, I guess this one didn't make it into the 2.0 fixes. I added this and the search fix from #257076 to DRUPAL-5--2, let me know if that works for you.
Comment #3
arthurf commentedComment #4
Sebo commentedI've tried the DRUPAL-5--2 swfobject_api.module file you propose, but it seems there has been a lot of changes since the 2.0 Beta1 I am using, and I cannot see my flash app anymore...
=> good news: the error message is properly overriden (so your fix regarding this post is functional :-) )
=> bad news for me, I may need to changes other files for this new revision to work properly?
I have also tried with the DRUPAL-5 version of this file, and I have the exact same behavior...
I have 2 questions:
- I am wondering if the file version number is correct for the swfobject_api.module file:
in DRUPAL-5 version: 1.2.2.19
in DRUPAL-5--2 version: 1.2.2.8.2.1 ???? (it is a different branch?)
(I am using the last released module: 2.0 Beta 1, version: 1.2.2.9)
- Are there some other changes I need to make to use the latest CVS revision (either DRUPAL-5 or DRUPAL-5--2), compared to the Beta 1 release? (swfobject.js, ... ?)
Thanks for your help,
Seb
Comment #5
arthurf commentedYes, DRUPAL-5--2 is a different branch- it's for swfobject api 2.0. Are you using this? Are you seeing JS errors, and if so, what are you seeing?
Comment #6
Sebo commentedYes, I am using the 2.0 branch (I use the archive available on the module page called 2.0 Beta 1).
The problem is that with this version of swfobject_api, I do not see my flash player anymore! Instead I see the string saying that I need to install flash.
I am not used to debug JS. By running firebug, I can see an error reported in the console:
syntax error
[Break on this error] so1.write("flashcontent_mediaplayer_1"); -->
It corresponds to the code embedded where the flash player should display.
The whole code generated by swfobject_api is the following:
(The sentence "Pas de lecteur flash..." is my replacement for "Sorry, you need to install flash to see this content.".)
Comment #7
Sebo commentedFor information, I have replaced the 2.0Beta swfobject_api module by the 1.2-15 revision (last official release available in download, using swfobject 1.5), and everything works fine: my flash player displays properly. There may have been a regression in recent evolutions of the 2.0 branch?