You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently no way to push artwork directly and temporarily to the frame without adding artwork to the database. The following is a workaround (creating, pushing, deleting) which requires a short delay before deleting the artwork again:
OF.artwork.create(artwork).then((result)=>{letartworkId=result.idOF.frames.updateCurrentArtwork(frameId,artworkId).then(()=>{setTimeout(()=>{OF.artwork.delete(artworkId)},500)// wait to make sure the artwork gets passed to the frame before deleting the artwork})
Would be great if this was implemented more cleanly into the API.
The text was updated successfully, but these errors were encountered:
I would like to add a button to "view on frame" in addition to "add to own collection". The need came up while working on an extension that can display sketches from Openprocessing.org. Openprocessing.org is an archive with more than 700k sketches/artworks. As there are so many sketches of varying quality, I realised it would be good to test (see and interact with a touchscreen, in my case) them quickly before permanently adding them to my own collection.
I guess it would be cleaner to wait for some feedback/callback from the frame after it has received the artwork. After that, the artwork could be deleted safely from the server.
Is the frame returning that kind of feedback to the server and is it possible to listen to that event from elsewhere?
There is currently no way to push artwork directly and temporarily to the frame without adding artwork to the database. The following is a workaround (creating, pushing, deleting) which requires a short delay before deleting the artwork again:
Would be great if this was implemented more cleanly into the API.
The text was updated successfully, but these errors were encountered: