Google Chrome doesn't ask to run flash content using swfobject.js
Asked Answered
Z

1

7

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.

Zama answered 25/4, 2017 at 19:35 Comment(0)
T
0

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.

Tetracaine answered 22/9, 2022 at 11:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.