SWF file not loading in extension background

58 views
Skip to first unread message

Ashraf Amayreh

unread,
Jan 3, 2015, 8:12:41 AM1/3/15
to Chromium-extensions
I'm loading an SWF file inside my background page.

var swf = '<embed id="init_flash_player" name="init_flash_player" src="'
+ chrome.extension.getURL("assets/null.swf") + '"
allowScriptAccess="always" allowNetworking="all">';
$('body').append(swf);

Used to work fine with Flash Player NPAPI. Not working with Flash Player
PPAPI.

If I disable PPAPI and enable NPAPI it works fine... this is driving me
nuts :)

Ashraf Amayreh

unread,
Jan 3, 2015, 8:12:44 AM1/3/15
to Chromium-extensions
Reply all
Reply to author
Forward
0 new messages