Search code examples
flashvideoflashplayer-10

Why don't flash videos play after upgrading to Flash 10?


Upgraded to Flash 10 today and now many flash videos aren't playing on a lot of sites, including a couple i've created. What's the fix?

edit Let me clarify here. this question is intended to find the code change that is needed to allow users of all versions of flash, including the most recent release, to be able to see them.


Solution

  • Flash APIs only provide the version number in String form, so the probable cause is scripts that pull a single character out of the version string, and see "1" instead of "10". That, or scripts that naively check (version==9) instead of (version>9).

    Note: comparisons like (version>9) will work as expected in AS, even if version is a string like "10".