I'm using SWFtools with the javascript embed method using swfobject v 2. According to the swfobject documentation page http://code.google.com/p/swfobject/wiki/documentation, we should be able to degrade nicely when javascript is turned off. However, it would currently seem we can only degrade to a message we put in.
Maybe I am missing it, but it would seem that we should be able to add in a which will invoke the
tag to embed the video if javascript is turned off? I mean if we use the default embed method we get non-javacript flash playing, but this is not standards compliant, if we use swfobject javascript embed we get standards compliance but at a loss of users who don't have javascript enabled. We should have a way to enable both. This is a 508 accessibility issue. Any thoughts? Maybe it is just my setup.
Comments
Comment #1
mgiffordadding accessibility tag
Comment #2
Stuart Greenfield commentedI think you're suggesting we "cascade" through the implementations. So if we have enabled SWF Object 2 but have no JS then we fall back to direct embedding, and if direct embedding fails we fall back to the alternate content?
This is a nice idea. I'm actually working on a replacement module called embed that will supercede the SWF Tools embedding methods, and I'm trying to focus effort on that.
I'm going to raise your issue in that queue (#442120: Fallback through embedding methods if they fail) as I had already had a similar thought of "weighting" embedding methods in order of preference, and what you describe is precisely when we'd want to do that. I'm not exactly sure how to do it, but I'll see if I can come up with a practical solution.
For now I don't really intend to do much development on SWF Tools embedding modules with respect to new features so I'm setting it as postponed here.
Hope that's ok!
Comment #3
coderintherye commentedSounds ok to me. It's certainly not always easy to do. I managed to do a nice degrade by implementing some code in the page.tpl.php but I'm not sure if this is cross-site reproducible. Anyways, I'll be happy to test the code if you get this going some day.
Thanks.
Comment #4
andrewsuth commented+1 for this idea.
Being able to display the player even if JS is turned off is a big plus.