I have many old websites with partial flash contents which I init with swfobjects library. The problem is Chrome isn't even asking to allow flash, the pages runs as they don't have any flash objects. I'm using latest Chrome Canary but same problem in latest Chrome too.
Google Chrome doesn't ask to run flash content using swfobject.js
Asked Answered
Found a solution on GitHub: https://github.com/swfobject/swfobject/issues/57
if(window.chrome)
swfobject.ua.pv = [100, 0, 0];
swfobject.embedSWF(...);
This answer was posted as an edit to the question Google Chrome doesn't ask to run flash content using swfobject.js by the OP HasanG under CC BY-SA 3.0.
© 2022 - 2024 — McMap. All rights reserved.