By Franco Pagano
When you have a webviewer in a layout as you change layout the webviewer reset it self, on mac activity app you can see the webviewer process disappear.
If the webviewer is in a popup if you close the popup the process remain still up, you have to change layout if you want to close the webviewer process.
By Jake Thomann
For anyone interested in an npm package that communicates with Filemaker's data API, I am currently developing here - https://github.com/thomann061/fmrest
Hello. I'm using a web viewer to control and stream mp3s from our server. This works great on my Apple laptop - the mp3 loads along with a player and I can listen to and control playback. It also works fine on one of two Apple desktop machines. But on one Apple desktop machine the file downloads to the desktop instead of loading in the web viewer. I've checked my browsers, both my default browser (Chrome) and the standard web browser (Safari), and the URLs play in the browser in both cases. Neither one downloads the track. Is there a way to control this behavior within FM so that the mp3 plays within the web viewer and doesn't download?
Note: The URL for the mp3s are in the format "www.url.com/assets/mp3/filename.mp3". I am loading the web viewer by using the Set Web Viewer script step and just that URL; I am not adding any additional html formatting. The only checkboxes set for the web viewer are "Allow interaction…" and "Automatically encode…"
I am trying to display an image (from disk) in a web viewer.
The following is the calculation entered into the web viewer (by means of a calculation):
data:text/html, <body> <p>Hello</p> <div> <img src="Maths_AS/Questions/q1.png" style="width: 700px"> </div> <p>Good-bye</p> </body> The text displays, but the img tag just produces a small box with an X.
When I use the following in a simple html file and display it using a browser (Firefox, Chrome), it displays correctly. In both cases the file references are relative; both the FMP file and the html file are stored in the same directory, from where the image is referenced.
<html> <head> </head> <body> <p>Hello</p> <div><img src="Maths_AS/Questions/q1.png" style="width: 700px"></div> <p>Good-bye</p> </body> </html> I am using Windows 10 Professional with FMP Advanced v.11.
I would be most grateful for some help here!
Thanks in advance
Hi I can not fiddle out how to make it work. I have tried several browsers with same result. We are using FM 12 server. I tried this file paths
and few others
I'm using this code in the Web Viewer which is working fine in FM client but not in browser
"data:text/html, <html> <head> <style type=text/css> " & table::style & " </style> </head> <body> <div class='thumb'> <span class='helper'></span><img class='thumb' src='" & table::ThumbnailPath & "'> </div> </body> </html>"
If it's caused by fact image is not present in web site folder as stated in document then my question is if it possible use unc network path in filename like file://///other_than_fmserver/networkpath/file.jpg. I wasn't successful either.
Any help appreciated