You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to check against both the CAI "temporary certificate list" and our IPTC Origin Verified News Publisher list. So we need to call c2paIPTC.read twice, with two different settings objects.
The return values don't align with what we would expect, possibly due to some caching behaviour.
The workaround that we have used is to simply create two instances of the c2pa library locally, and use a different settings object with each.
But it would be great if we didn't have to do that and we could have only one instance of c2pa.js!
Please let me know if this doesn't make sense and I can make a better test case showing exactly what goes wrong.
The text was updated successfully, but these errors were encountered:
Here's an example of a validator built in vanilla JavaScript using the c2pa JS library:
https://iptc.org/std/MediaProvenance/ValidationDemo/
We want to check against both the CAI "temporary certificate list" and our IPTC Origin Verified News Publisher list. So we need to call
c2paIPTC.read
twice, with two different settings objects.The return values don't align with what we would expect, possibly due to some caching behaviour.
The workaround that we have used is to simply create two instances of the c2pa library locally, and use a different settings object with each.
But it would be great if we didn't have to do that and we could have only one instance of c2pa.js!
Please let me know if this doesn't make sense and I can make a better test case showing exactly what goes wrong.
The text was updated successfully, but these errors were encountered: