@Jonathan Thanks again i really appreciate your help the problem is the tweens are working fine in development environment but not on the live server i fixed all the problems related to content security policy but still having error i'm hosting my fiels in aws s3 and these are my cors settings my fiels are public and i have access to them i'm having a trouble figuring it out
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>