ouyang789987 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

With javascript off, the alternate content shows which might include a link to download Flash Player. #474

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Place a link to download Flash Player in the alternate content div.
2. Turn off Javascript in browser
3. Refresh the browser

What is the expected output? What do you see instead?
The link displays as it should, but can it be classed to only show if a Flash 
Player is needed? The 
main problem is that javascript is not enabled, but the user might have Flash 
Player installed so 
re-installing won't help them.

What version of the product are you using? On what operating system?
I am pointing to the googleapis version 2.1

Please provide any additional information below.

Original issue reported on code.google.com by webmas...@warrington.ufl.edu on 2 Jun 2010 at 6:47

GoogleCodeExporter commented 9 years ago
On second thought, it might be best if the link could be classed so that it 
didn't show at all if javascript was off. 
But alternate content would still be visible.

Original comment by webmas...@warrington.ufl.edu on 2 Jun 2010 at 7:02

GoogleCodeExporter commented 9 years ago
Well, there are a few issues with your logic:

1) without javascript, you cannot do any pleyer version detection, so you don't 
know 
if the user actually has the minimum required player to display and playback 
the 
conent correctly.

2) how would you run logic of what to display on the page (e.g. hide button, 
but show 
alt content) without having javascript to alter the DOM?

The way swfobject works (and has been working for over 1/2 a decade) is the 
best way 
to deal with progressive enhancement of the page...

I am marking this invalid, as it is not a bug (nor is it possible)

(also in the future, if you want to discuss things swfobject related, the best 
platform to do that on is the swfobject mailing list (link from the project 
home 
page))

Original comment by aran.rhee@gmail.com on 6 Jun 2010 at 2:54