how to add favicon to AEM assets such as pdf / videos - aem

we have a site wholly hosted on AEM and apache webserver. We are facing an issue where the web pages are displaying favicon.ico correctly but the same are not getting displayed on pdfs and videos.
On searching online, we found that keeping favicon in root folder should resolve the issue or keeping in /etc/designs/default can help in resolving the issue, but none of them are working.
Due to this issue, we are getting lot of 404 error logs almost 10K per day. Please help in resolving this issue.
Thanks in advance.

Related

AEM 6.5 - Display thumbnails in Sites directory

I'm having troubles generating thumbnails for AEM sites.
But I don't have any clue why after generating thumbnails in each page properties and saving them, the thumbnails still broken.
In page properties looks like this:
I posted this question if anybody is having the same issue. Maybe it's missing any configuration or any file in the CRXDE I overlooked...
Thanks,

How to overcome the css problems in IE

I have developed a application, which i tried to run to run in different browsers.
In Google Chrome its working properly.
But when i run the same application in Internet Explorer some CSS are not affecting properly.
The thing i noticed in the debugger is the application is loading the library.css file from resources,
means from the below path its taking that css file and it is affecting my application.
https://sapui5.netweaver.ondemand.com/resources/sap/m/themes/sap_bluecrystal/library.css
Where as in Chrome its not loading any such library.css file.
How can i over come this..?
Please help me on this.
Thanks
Sathish.
Don't load css file in index.html,because in server index.html will not load,so the final solution is we need to load external css file in component.This is the best practise.
"Use browser prefix so that it will work in IE"
Some reference links MDN resource
some unknown but useful

FMS VOD streaming: How can I access content that was uploaded to the webroot/vod directory?

I have recently started working with a fresh install of FMS 4.5.0 and am having some issues getting my media to load with the VOD application.
After uploading some of my own FLV/F4V content to "/webroot/vod/", I am currently only able to load the samples from the installation.
Is there some sort of configuration that needs to be made to access my media?
Do I need to create a manifest for each video?
I have been running tests through:
http://www.osmf.org/configurator/fmp/
And have had luck accessing the videos that came with the install by using the following:
Video Source (URL): http://[my host]/vod/sample1_1000kbps.f4v
But when I change this to point to one of my recently uploaded videos it fails everytime.
Another strange note, I was able to play one of the samples but then I changed its name and it was still able to load that one specific video using the same filename when the file's name had changed. This leads me to believe that it isn't really loading the right files or perhaps I am uploading to the wrong directory. But I can't find any other directories that have video in them.
Please let me know if there is any more info you need to help me. I'm fairly new to this and am not sure what to include.
Thanks in advance for any help!
EDIT: This was a pathing issue.
This has been resolved.
Apparently my webroot directory for the server was not set up correctly and after it was pointing to the right directory it was fixed.

Problem with HTML5 offline in mobile web app

I can't get offline mode in iphone mobile Safari to work.
I have included my cache manifest file in the root of my directory.
<html lang="se" manifest="cache.manifest">
My cache.manifest looks like
CACHE MANIFEST
CACHE:
/images/background-iphonelines.png
/images/acne.jpg
/images/lisa.jpg
/images/bruno.jpg
/images/urban.jpg
/shops/acne.html
/shops/lisa.html
/shops/bruno.html
/shops/urban.html
/shops/shops.css
/style.css
script.js
guide.html
NETWORK:
*
I also included a .htaccess file in my root directory with the content
AddType text/cache-manifest .manifest
When I'm trying to open my app on my Iphone it still says "Can't open page" (or similar, have my page in swedish).
Does someone have any suggestions what I'm doing wrong?
Your mark-up and cache file look fine, but if the site won't go off-line there's a problem with the cache. It only has to fail on one element, and the whole thing won't work. Have you tried debugging your cache file? This post will help:
Jonathan Stark, Debugging HTML 5 Offline Application Cache
Note this won't tell you which asset causes the failure (if any), but it will tell you if your cache is working or not.
I actually had a similar issue yesterday. Try removing the CACHE: and just listing the items for the cache. I found this by accident and it seems to now work on IOS for me. Also, I added a comment field at the top to make sure I can invalidate the cache. I would give that a try.
I also had the same problem. I included the lines below in the cache.manifest file & it fixed for me.
NETWORK:
*
I was struggling for 2 hours with this and finally I've managed it! HORAY! I've added "/" to cache, this was the problem...

How can I fix directory detection in GWT's nocache.js?

My GWT/forplay project has stopped working. The project/project.nocache.js file makes the browser request md5hash.cache.html, rather than project/md5hash.cache.html. (It tries to load from one directory too high.) This results in a 404, of course. I have seen this across browsers, and even across servers.
Can anybody with nocache.js knowledge take a guess at why it now fails to point the browser to the right place for the cache.html file?
Thank you!