I'm new to programing all together and definitely new to Django-CMS and Python, so excuse me if this is a simple answer. All other plugins in my Django-CMS installation are working fine, but the Google Maps isn't working at all even though I have an API key in my settings file. My picture plugin doesn't load the image, and the video plugin loads a missing flash plugin link to the Adobe Flash player website. I'm running Chrome so that is already installed and updated. I'm also using Django 1.2.5, Django-CMS 2.1.2, and Python 2.6. I have tried to set CMS_PAGE_MEDIA_PATH, but that had no effect. I have checked all error logs and have nothing out of order. Any help is greatly appreciated.
Thanks.
It's hard to say from the details here, but one possible cause is that you don't have your media urls set to serve out correctly under the Django dev server; see http://docs.djangoproject.com/en/1.2/howto/static-files/#how-to-do-it . Also be sure you have copied the DjangoCMS media into your media root. I could imagine that could cause the maps video issues, at least.
If you've verified those things and you're still having problems, you can use the Chrome developer tools to see what the failing requests look like (reload the page with the "Network" tab, and look for 404s). The URLs that are 404ing would be helpful in determining what aspect of serving media is not working.
Related
I am developing an app for iOS which includes a UIWebView which, among other this, contains a video (stored locally, in the same folder as some images which are being displayed correctly).
This works fine in my own iPad, but I have been given another one at work to install the app to and there it shows nothing more than the video controls. When I click on the play button nothing happens. The iPad is owned by the company so any security feature might be enabled.
I have researched quite a lot and I cannot find any reasons why the app may be working on one iPad and not on another one. I know it might be impossible to fix without having a passcode or something like that but I need to know at least which configuration might be the one that is making the app not to work.
Using WKWebView fixed it. UIWebView should not be used any longer unless it is specifically needed.
From Apple documentation:
In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to false if you render files that are not supposed to run JavaScript.
For one my projects, we need to extract the distilled content of a crawled webpage. We want to be able to this as an internal service on the server side without the browser. I have been working on using the headless mode of chromium with the distill functionality to be able to do this. Has anyone tried doing this in this forum? Even if you have not done, could someone share some insights on how to potentially do this ?
Thanks,
Praveen.
I'm at a loss and have exhausted my search engine fu.
How do you refer to the linking that allows you to reference your native app in the AppStore (or Google Play) from your responsive website?
If user doesn't have your native app but they visit your website you often see a link to the native app above the page that you can usually dismiss (though this Instagram example I just created doesn't appear to let you dismiss it).
How is this handled?
Edit: Actually, here's a better example (I happen to have app installed but it appears regardless)
it's easy on iOS Apple Documentation
via here
The Android equivalent is this I haven't tried it personally.
We have a Chrome extension that can be used to open a page into our website. From there the user then continues onto the next page which has a custom NPAPI plug-in embedded in it. This has always worked fine. However, since the version 32 update the plug-in loads and runs (it's a video conferencing plug-in and is clearly running as the other side can see video) however it doesn't show up on the page. Examining the DOM everything looks fine. Grabbing the border and re-sizing the browser will cause the plug-in to suddenly render correctly. I've tried all manner of javascript/css tricks to try and mimic this behavior as a workaround but nothing works. Tabs opened manually (not using chrome.tabs.create) work fine.
This worked up till 32.
Any ideas around this?
Chrome 32 is phasing out NPAPI, read the announcement here.
There is a deprecation guide that you can read here.
It seems like Google wants you to use it's Native Client tech to run native compiled code on user's machines. It is cool stuff...but so far I've found it difficult/more limiting to work with when compared to NPAPI (but there are obvious upsides, security for instance).
You could also build a native app and use native message passing to communicate from extension -> app. Once downside to this is that there is currently no way to bundle a native app into an extension install, so the user will need to download and install your app separately.
I am coaching my son's flag football team this winter and I'd like to make a little one pager app with jquery which will display and animate for the team some plays during huddles. I have been researching this quite a bit and it seems there is no way for safari to load local files. Some have suggested using goodreader, the app, but according to their manual they use a simplified browser rather than safari.
Not sure what else to try. The iPad is wifi only using ios5.
Safari is not capable of loading local files.
You have a few different options. You can:
Upload the file to Dropbox, and use it's offline mode to view it.
Use a native / hybrid container (like Appcelerator, PhoneGap, etc)
to bundle your HTML/Javascript into a "native" app.
No Safari can not load local files. You can't run local applications from there. What you can do is develop an actual app for your iphone using dreamweaver/jQuery. You could make pre-recorded videos and play them on your iPad as well. Goodreader, from what I can tell, is for reading local PDFs, which has nothing to do with apps... (but I don't really know)
This page should give you a general idea of using JQuery (mobile) to develop and actual app:
http://jquerymobile.com/
Edit: I just thought of a simpler approach that should work. Open a drop-box account at dropbox.com and put the website/Jquery in the public folder. Get the URL for the public folder and use that. Open the website on your iPad and then don't close the window. Even when the network connections stops it should still work.
I ended up using HTML5 built in APPCACHE: http://www.html5rocks.com/en/tutorials/appcache/beginner/
We went undefeated BTW :)