I'm trying to make simple check if flash is installed like it was suggested here
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
$( document ).ready(function() {
console.log( "ready!" );
if (!$.flash.hasVersion('9')) { //error
//has Flash
console.log( "flash installed!" );
...
But I get error, what is wrong here?
TypeError: $.flash is undefined
This should work...