Html5 localStorage in Folio, InDesign 5.5
Hi,
for a customer we have build a presentation in InDesign CS5.5 as Folio which works fine.
And we made a small htm5 page with a formular which stores some information via “localStorage.setItem()”. In any browser that works fine too.
But when we import the html into the folio, an error occurred. It seems, that the localStorage is the point of failure.
Is there any thing that we can do to bring the html to work inside the folio?
SirGraya
(germany)
There´s no AIR in iPad. It uses webkit engine to run html-content inside native applications. And there are some restrictions, all the functions you can use with normal browsers are not supported there. You should find webkit´s specifications from Apple´s developer portal.
I don´t know what kind of data you want to save, but one possible way to do it is use iPad´s built in database. It´s quite easy to use and you can store data from html-page, also from one you have placed inside folio (I used to make nice little yellow sticky note widget by using that) Users could create new sticky notes and write some text into them and everything was stored into iPad´s database. Next time they visited same folio, all the data was pulled back to sticky notes automatically... I used a sticy notes code from apple´s html5 showreel with small modifications.
You will find original code from here http://developer.apple.com/safaridemos/sticky-notes.php
Open notes.js to see how iPad´s local database is instantiated.
ps. I understand that you have very good reasons to use DPS and folios, I just want to clarify to other possible readers that html5 web-apps eDocker produces are cached with html5 local storage manifest and they are also running in offline mode....=)
Similar Messages
-
FLA to HTML5 invalid asset in InDesign Folio Builder?
Hi,
So basically im trying to create a magazine getting ready to publish on an iPad.
I know animations are not supported on Ipad devices/software, So I looked at Terry Whites tutorial on basically how to still add animation
to a publication. I followed all the steps he took, though after ive placed the HTML5 file in my Indesign document and attempt to publish it, it says invalid asset in the folio builder.
I do not know what I am doing wrong. I am using InDesign CS6.
All the HTML is, is a image file flying in from the right. It works when I open the HTML in my browser.
Yet doesnt work when I try to publish it in folio builder.
Any ideas what I am doing wrong?
Thanks.Hi,
My first step, I placed the image, went to Animations and picked 'fly in from the right'
I then clicked on the image > file > export
I then coverted the file using Wallaby, which converted successfully.
I went back to InDesign and created a new document and made a rectangle using the Rectangle frame tool.
Then went to Folio Overlays > Web Content > Inserted/Opened the HTML file.
Then I went to Folio Builder and Made a new folio
(I have been told to set the default format to PNG, I did try that and it still did not work) > Then I clicked OK.
I then added the opened InDesign file to the folio.
Then I clicked OK
It seems to always "get stuck" on Writing PNG.
Then I get this error.
Dont know what Im doing wrong, So hopefully you may be able to tell me and help.
Thank you! -
Field Search in Folio Indesign DPS
Hi, i use Indesign cc, i would like know if is possible to insert search field folio?
I need created book with many queues, is necessary to insert field search for surf.
Is possible)
thank you very much
p.bortolottiHi, i use Indesign cc, i would like know if is possible to insert search field folio?
I need created book with many queues, is necessary to insert field search for surf.
Is possible)
thank you very much
p.bortolotti -
HTML5 Panels Persistence in InDesign
Hi All,
I know that the Panels in HTML-5 extensions can be persistent in Photoshop and Illustrator; but I can't find anything related to panel persistence in InDesign.
Photoshop-
var event = new CSEvent("com.adobe.PhotoshopPersistent", "APPLICATION");
event.extensionId = "{ext-id}";
CSInterface.dispatchEvent(event);
Illustrator
By default
In InDesign, I played around <autovisible> property in manifest and strangely my panel become persistent randomly at some time. But I'm not really able to reproduce the steps here. Is there a proper way to persist panel in InDesign? This is weird.Hi,
My first step, I placed the image, went to Animations and picked 'fly in from the right'
I then clicked on the image > file > export
I then coverted the file using Wallaby, which converted successfully.
I went back to InDesign and created a new document and made a rectangle using the Rectangle frame tool.
Then went to Folio Overlays > Web Content > Inserted/Opened the HTML file.
Then I went to Folio Builder and Made a new folio
(I have been told to set the default format to PNG, I did try that and it still did not work) > Then I clicked OK.
I then added the opened InDesign file to the folio.
Then I clicked OK
It seems to always "get stuck" on Writing PNG.
Then I get this error.
Dont know what Im doing wrong, So hopefully you may be able to tell me and help.
Thank you! -
InDesign Crashes Opening Folio Builder Panel
While working on a publication, I will leave the Folio Builder panel to open a different one. Upon trying to reopen the builder panel so I can add my publication to the folio, InDesign crashes. Without fail, everytime. No matter what InDesign document I have open, it will crash. I have to force quit, reopen and add the document first thing. before begining work on another article.
Anyone know why?I open Indesign and it automatically signs me into my dps acct.
I begin working on an article (using the different tools like object states, buttons, video)
all of those panels are in the same tool group as the folio builder so folio builder gets collapsed while using the other tools.
when it is time to update my article and i go to open the folio builder panel is when it freezes InDesign.
I don't have any exact steps to reproduce this because the other tools I use varies, but if the folio builder panel gets collapsed, InDesign freezes when I reopen it. -
Stopping InDesign from saving a Adobe Digpup Folio File in my Users on my C: Drive
Hi There
Can anyone explain why my Adobe InDesign saves a "copy" of the Folio InDesign file i'm working at here:
C:\Users\[USERNAME]\AppData\Roaming\StageManager.BD092818F67280F4B42B04877600987F0111B594. 1\Local Store\dmp\Inspired By You - High End_2014_2_5_16_51_13?
I'm workin as normal, adding Articles to my Folio but for some reason it saves a Adobe Digpup Folio File in that Location? How can I stop it?
If I quit InDesign I can delete the file but If I start adding more Articles to my Folio it addes a copy file to that location.
Thanks
KenniAre there difference in windows and Mac the way they do it? Because I have been doing the Folio's on my Mac and I don't think I have seen anything like this. Don't recall it saving files on my Mac.
I'm on Windows 7 btw. My problem is that i'm working in a quite big company, and have restrections IT wise. I have a profile storage limit on my account and the location the Folio's are save in counts as that profile storage. So I would need to buiid my files and every time go into and delete them afterwards, once it's build and in Content Viewer? -
Preview folio on iPad using Windows 7
Hello there,
I am currently working on a folio (InDesign CS6) and i'd like to have a preview on my iPad using the folio builder as I am not totally satisfied with the desktop-preview. Is there any way to do so without having to put a lot of work in it? I mean with iOS you just connect your iPad to your Mac and it works... (No, it doesn't with Windows.) A brief tutorial would be nice, couldn't find anything helpful on google...
I hope everyone could understand my problem as my english is not perfect
Best regardsThank you very much for that quick reply.
But thats what I think I did. Could you give me a brief step-by-step-tutorial how to upload and what to do with my iPad?
What I did is:
- Work in InDesign at my folio using the Folio Builder, continuously updating my files to the cloud (not the Creative Cloud)
- Go to the Folio Producer and publish my folio (enter random publishing number and product-ID, click "publish". There is a check mark in the publishing-column.)
- Open the Adobe Content Viewer on my iPad, logging in using the same Adobe ID.
- Nothing happens, i cannot download any of my folios.
Please tell me what i'm doing wrong, i cannot help me anymore...
(I'm using german versions so dont blame me if some names do not match. I hope you could understand what i mean.) -
Content Viewer: only iPad shows html5 content
Hello! I embedded an html5 audio player into InDesign Cs6. It works great on the Content Viewer on iPad, but not on the Desktop Content viewer. Is it always like that?
Thank you so much, Neil!
I'm trying to build an app with scores and music in InDesign Cs6. I want to publish my app for iPad and Samsung Galaxy,
so for IOS and Android. Because I want the control buttons to look the same in both mobile operating systems, I tried to build the controls on my own in native html5 audio, but I suppose, I'm not capable of doing that.
I am trying to find controls (native html5 audio) for stopAudio (=reset without playing), a loop button (means: not only looping true/false) and the possibility to change the value of the progress bar. Is that possible at all in native html5?
Best regards, Peter
(please excuse if my english is misleading!)
I tried this until now (and it works), but there is neither a stopButton, a loopButton nor a progressBar (with the possibility the change the value)in the code:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 Audio</title>
<script type="text/javascript">
function playAudio()
document.getElementById ("player").play();
document.getElementById ("pausebutton").style.display = "";
document.getElementById ("playbutton").style.display = "none";
function pauseAudio()
document.getElementById ("player").pause();
document.getElementById ("playbutton").style.display = "";
document.getElementById ("pausebutton").style.display = "none";
function progressBar ()
timeCurrent = document.getElementById("player").currentTime;
timeTotal = document.getElementById("player").duration;
percent = timeCurrent / timeTotal;
progressBarWidth = percent * 128;
document.getElementById("bar").style.width = progressBarWidth + "px";
</script>
</head>
<body>
<audio id="player" onTimeUpdate="progressBar()">
<source src="audio01.mp3" type="audio/mp3"></source>
</audio>
<img src="play.png" onClick="playAudio()" id="playbutton"/>
<img src="pause.png" onClick="pauseAudio()" id="pausebutton" style="display: none"/>
<div style="width: 128px; height: 7px; background-color: blue;" id="bar"></div>
</body>
</html> -
InDesign CC opening additional document 5 times when working in file
I am working on converting our alumni magazine into a DPS app. When working in my files (each spread is now slip up and residgned for horizontal and verticle viewing to become articles for the folio) inDesign will then open the original document from where I copied the material to the new design five times. When I continue to click on the tab of the article, it will open five more copies. Any help would be great. Is this a copying and pasting issue?
It looks the an issue with the text frame. Could that be linked to my original file?
-
Why are the localStorage objects unavailable to Safari while Private Browsing?
According to these two sites
http://caniuse.com/#feat=namevalue-storage
http://apple.stackexchange.com/questions/131587/how-can-a-web-site-determine-if- safari-private-browsing-is-turned-on
HTML5 localStorage objects aren't accessible when users visit sites that use them via a Safari Private Browsing window.
W3 indicated this is supported: http://www.w3schools.com/html/html5_webstorage.asp as does https://developer.apple.com/library/safari/documentation/tools/conceptual/safari extensionguide/ExtensionSettings/Extensi…
I'm hoping to find or establish more information that confirms localStorage objects don't work in Safari Private Browsing windows. All other browsers my team has tried support this in private browsing mode.
Thanks for any and all assistance.
Message was edited by: cmcleod99Maybe Google history is enabled.
*https://www.google.com/history/?hl=en&ctz=-120 -
InDesign quits when importing article or trying to preview
When I try to import an article I have just finished working on, into my existing folio, InDesign seems to quit at the stage of "Finishing", and the folio does not complete import. This also happens when I try to preview my work on my desktop. At the same point, InDesign seems to quit. Anyone ever experience this? Bob Levine
Hi Jay.
I get a "This page is temporarily unavailable. We'll be back soon." when attempting to access the link you posted. Is that the same behavior your friend receives? Are you able to still view the link yourself?
Thanks,
- Dave -
Could someone please help me with creating a form in DPS that can be A) filled in by the reader B) be submitted via email and C) keep all the info entered on the form when the folio is closed or you navigate away from the page? We have educational content with assessments after each level, can this be done with DPS or is there a workaround?
ThanksTo be honest it would take me a couple of hours to figure out. Here is Apples page on storing data locally using HTML5 http://developer.apple.com/library/safari/#documentation/iPhone/Conceptual/SafariJSDatabas eGuide/Introduction/Introduction.html
This article showing a proof of concept and demo could be used as a starting point. http://alxgbsn.co.uk/2010/12/18/using-html5-localstorage-as-a-fallback-for-offline-form-su bmission/
Also, I have found the guys at stackoverflow.com to be very helpful, just ignore the DPS part when talking to them, all they would need to know is HTML5 on iPad. -
hi there,
i am trying to stream a vimeo video, in a DPS folio (Indesign CS6).
the video should play inside of a container frame (318x179px).
I have tried this several times, using this in folio overlays web-content.
The apropriate URL should be:
http://player.vimeo.com/video/52996659?badge=0
Unfortunately the video is always displayed cutten. Only a cropped part of the video is displayed inside of the content of the frame.
By testing, if i place the video with the frame exactly the size of the Indesign art board for the ipad,
everything works perfectly.
But the need is, the stream should be played in the container frame (318x179px).
any help would be very appreciated.
thanks in advance.Hy Bob,
again great to hear from you.
Well if i understand correctly your answer, the point is that the dimensions (resolution) of my video is to big for the frame?
I actually have already tried many times to activate the Scale Content to Fit option in the Folio Overlays panel. But it did not work.
If there is no other solution i will need change design concept to match the horizontal dimensions in the artboard. I know this works.
In the image as an annex you can see where the video should run.
anyway thnx a lot,
cheers
alx -
How can I enable coockies for localhost and file://?
I've a web form used to perform various computation in javascript and display the results. The form use cookies to store usefull information, under desktop firefox I actived coockies for file:// but I can't find how I can do it for the mobile edition...
do html5 localstorage can solve the issue? how can I enable them? I fully understand the risk of having local file cookies enabled...thank you, I must find something else so I can restrict them from others.
-
Javascript local storage is shared across books
It's nice that local storage sharing between widgets in a book works, but sharing also happens between books. So, localStorage.clear() in any book wipes out all books. Any way to restrict to one book?
Jimjim-a wrote:
Not sure how "vendor" is identified in book other than ISBN.
You are a 'vendor' - it just means a book that uses local storage from anyone else besides you. It sounds like you're only sure that what's happening is affecting your own books...?
I use HTML5 localStorage in my apps and they don't wipe each other's data....that's why it's called 'local' , because it is sandboxed to that app. I've heard of some cases where an iBA book shared notes with another book, same author, so I'd assume that effect is what's behind the global wipes.
Are your books capable of sharing notes, too? Sorry if I missed it, are these always tested by loading via iTunes or just previews?
Ken
Maybe you are looking for
-
Passing drill down filter to a BI Publisher report in 11G
Let's say we have a dashboard with a prompt and a regular Answers report. The user expects the prompt to filter report 1 and then make a selection from the report1 to navigate to report 2 which is now being filtered by both the prompt and the selecti
-
How to switch off the induction furnace with LabView efter an LCF test is finished?
Hi, I am working with low cycle fatigue testing at Instron 8801 and are using Instron Fast Track2 LabView LCF software for controlling tests, read the files, calculate modulus, etc. and produce figures. For heating of the specimens during LCF-tests I
-
Hi there, I have a 13" Macbook Pro (Mac OS X, Version 10.5.8). For a long time now, I haven't been able to run any software updates on my computer. When I open Software Update, there are 6 items available for updating (including AirPort Utility 5.6.1
-
Credit request for license# with PO# ubmitted by the partner is in status
Hi All Please help :---- The credit request for license# with PO# ubmitted by the partner is in status Closed on retrun tool, however the Credit note was not issued. What can be the reason.... Thanks Yash
-
Update Retriever - Missing Drivers W540,X240,T440
Hi Missing loads of drivers via Update Retreiver and/or Systemupdate. Is it going to be published soon? Model: 20BH (w540), 20B7 (T440), 20AM (X240) 3G WWAN card, WLAN etc etc.. Using Update Retriver 5, Build date: 2013-9-3 Systemupdate 5.03, build