Using Hype Blendmodes (extension) with OAM (WordPress)

Hello @MaxZieb ,

When I use Hype Blendmodes for a file that I export as OAM widget for WordPress, once the file is loaded in WordPress it displays no blend effect.

I tried to use with the HypeBlendModes.min.js file inside resources or in the header and there's no difference. Also, the image I am applying the effect it is not a groupe or a symbol.

Could you provide support with an workaround?
Thank you very much.

hype file:
demo.zip (2.2 MB)
effect demo:
demo

For such special cases…

and here
demo-addToHead.hype.zip (2,2 MB)

1 Like

Thank you very much @MaxZieb for your effort!
Unfortunately, after the file is uploaded to WordPress, it only shows a blank area.

Yeah… you need to use:

hypeDocument.resourcesFolderURL()instead of ${resourcesFolderName}

So…

addToHead([
		hypeDocument.resourcesFolderURL()+'/HypeBlendModes.min.js',
	], function(){
		console.log("callback fired");
		hypeDocument.notifyEvent({type:'HypeDocumentLoad'}, element);
		hypeDocument.showNextScene();
	});

3 Likes

Perfect! Thank you!