Playground Test Link
When I use the local Images with (~), it is working. But when I change the relative path to URL(https://via.placeholder.com/150.jpg), it throws an error.
It is working for https://nativescript.org/assets/ns-logo_share_600x315.png but not for https://via.placeholder.com/150.jpg or https://via.placeholder.com/150.png or any else. How can I set it so that it can accept images from any server? Is it supposed to be a server related issue as I checked the headers and mostly all are the same.
As per the docs, we can dd URLs to Image tag but it is still not working. Please help me rectify this issue.
Error
[Galaxy Note8]: Error in downloadBitmap -
java.io.FileNotFoundException: https://via.placeholder.com/150.png
Tried all file types: jpg, png, jpeg, gif
Related
Let me give you some context I transformed a jpg image with my Mac . This file changed to a transparent background png image file.
I have deployed a web app on aws s3 bucket. All files shows including all the other png files .
For some reason , my transparent background png image file receives a code error 403.
I changed the bucket policies on my s3 bucket and made them publicly accessible.
When I tested the app locally my image shows but when I use the website endpoint it does not .
Can somebody tell me how I can fix this problem?
I have gut feeling this can be due to the nature of my file.
Hi I have implemented cloudflare stream video service in one of the website I am developing. The video used to play just fine but since the last 2 days it is broken in Firefox. It works fine in Chrome but won’t work in firefox.
The console gives throws up the error -
Specified “type” attribute of “application/x-mpegurl” is not supported. Load of media resource https://videodelivery.net/6aaee8579a7a98ccad84660514efe586/manifest/video.m3u8 failed. (https://www.checkbayt.com/home)
Specified “type” attribute of “application/dash+xml” is not supported. Load of media resource https://videodelivery.net/6aaee8579a7a98ccad84660514efe586/manifest/video.mpd failed.
My website is located at https://www.checkbayt.com/ in case anyone wants to try it out. I have also tried to rule out issues that might be caused due to some other code in the website and did a simple html page that only has the video and nothing else. Once again this used to work fine previously and I ran the same html file in firefox and it no longer works and gives the same error.
Is this something that anyone in here also experienced? I guess this is something to do with firefox and will get resolved from their end? Or do I need to do something different?
Try keeping the stream script after the video. Not really sure why but i faced the same issue and render the script directly after the stream helped.
Note: the element should be loaded before the script as the script injects html elements into the stream tags.
I noticed that the following file from a website could compress the image depending on the size passed as parameters in the url.
This is the following url.
https://images.pexels.com/photos/207301/pexels-photo-207301.jpeg
and when passed as a parameter :
https://images.pexels.com/photos/207301/pexels-photo-207301.jpeg?w=440&auto=compress&cs=tinysrgb
it gives a smaller image.
Now what I did:
I downloaded the image uploaded it to my website:
http://auraquotes.com/images/pexels-photo-207301.jpeg
I also tried passing the parameters: http://auraquotes.com/images/pexels-photo-207301.jpeg?w=440&auto=compress&cs=tinysrgb
but nothing happened.
I wonder the reason?
That website is running a solution called imgix which handles the image request and the compression. Without imgix installed, you won't get the same effect.
I am having an issue uploading images but clearing the image search path is not working to solve my issue. (Found in another post)
This is the error i get:
Image attributes processor v1.0.25 - error copying media/catalog/product/5/4/54402.jpg : download error,URL cmsdistribution.com/product-files/image/54402.jpg is unreachable
Image attributes processor v1.0.25 - error copying media/catalog/product/5/4/54402.jpg : download error,URL cmsdistribution.com/product-files/image/54402.jpg is unreachable
Image attributes processor v1.0.25 - error copying media/catalog/product/5/4/54402.jpg : download error,URL cmsdistribution.com/product-files/image/54402.jpg is unreachable
The media/catalog/product folder and everything below is set to 777 and the URL i am calling in the csv looks fine and i can find it in a simple browser (Seen 3 times above (once for image, small_image and thumbnail with the only other column in the sheet being sku))
Has anyone else played with image importing? Am i missing something?
I have had to remove the http www dot etc from the codes above as i am being caught out for spamming in the post
Try using the latest svn version of Magmi. The image processor had a "bug" for handling redirected images (checking only 200 response on HEAD request for download check).
The latest svn version has a fix for this.
I have an mp3 file in an S3 bucket. I am fetching this file via ajax GET request for html5 audio playback. Intermittently, the get request will fail to download the file and thus the track will not play. The request returns "206 partial content." Oddly, it will work several times before failing and then continuing to fail.
If I disable caching in my browser (chrome), the file will download and play appropriately.
Have I configured s3 incorrectly? How can I get this mp3 file to download and play consistently?
specific file is located here: https://s3.amazonaws.com/1m40s_dev/assets/music/walden.mp3
thanks!
I've found this often relates to the MIME type set on the S3 hosted file.
Setting the correct MIME type seems to fix things.
On a side note, I struggled with a single binary file always breaking in IE. Its MIME type was application/octet-stream. I changed the MIME to binary/octet-stream and that seemed to fix downloads from IE. Not sure why.
use amazon cloudfront solve the problem
I solved this by appending a timestamp to the end of the mp3 url on page load. This forced a new download of the content each time and eliminated the caching error.
This feels more like a work around than a fix. I still don't know the root cause of the issue but if you find yourself having a similar problem and just need to move on, add a timestamp or random number as a param at the end of the url
.../assets/music/walden.mp3?[timestamp]
One other workaround I've found is, if you're using rails, turning off turbolinks makes this go away on chrome. I'll add more to my answer as I discover more.