Problems with wordpress?
Hi, put all the swf files in the flash folder, if I put the url for the locations of the Nesbox.swf it pulls up fine, but I just can't get embedding to work. This is my site gamesdecrypter.com This is the code
var flashvars = { system : 'nes', url : '/roms/DigDug.nes' }; var params = {}; var attributes = {};
params.allowscriptaccess = 'sameDomain';
params.allowFullScreen = 'true';
params.allowFullScreenInteractive = 'true';
swfobject.embedSWF('/flash/Nesbox.swf', 'emulator', '640', '480', '11.2.0', '/flash/expressInstall.swf', flashvars, params, attributes);
Any help would be appreciated, thanks.
Hi,
here are errors on your page, try to fix them before
JQMIGRATE: Migrate is installed, version 1.4.1
(index):117 Uncaught SyntaxError: Unexpected token <
scripts.js?ver=4.7.1:12 Uncaught TypeError: $(...).slicknav is not a function
at HTMLDocument.<anonymous> (scripts.js?ver=4.7.1:12)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
(anonymous) @ scripts.js?ver=4.7.1:12
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
scripts.js?ver=4.7.1:32 Uncaught TypeError: jQuery(...).flexslider is not a function
at scripts.js?ver=4.7.1:32
at dispatch (jquery.js?ver=1.12.4:3)
at r.handle (jquery.js?ver=1.12.4:3)
I figured it out, wordpress theme was adding
tags to any empty lines so I removed the empty lines also permalink settings need to be plain so that the url points to correct place, that might help others with the embedding on wordpress problem.