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
I have put together what I firmly believe to be a very polished FM solution for IOS and plan to push this to Apple's App store as a first time developer quite soon using Filemaker's SDK/XCode kit. I do realise the complexity behind this, including catering for data protection during version updates, multilingual distribution, security options, etc.
However, my question relates to the legality of:
embedding the Web Viewer Tool in the App which, as a small feature of the App, will automatically search the internet for images based on existing field entries. using Google Maps in the Web Viewer Tool. including YouTube links, on another layout, where I have provided a feature for not only allowing the end user to store their own links to YouTube videos but also intend to pre-populate the App with links pertinent to the App's purpose. The videos would play within the app once selected. No attempt has been made to hide the fact within the App that Google and YouTube content is being used.
I have searched this forum, the internet and some of Apple's and Filemaker's documentation but cannot find any clear statement as to whether such proposed usage is permissible, especially when deploying as an App Store App. The content itself (the images searched for or the videos linked to) is not embedded in the App. Also, would permission necessarily need to be sought from the creators of the pre-populated linked videos?
I would appreciate any advice or reference to documentation which would help to clarify the legality of these matters.
I'm setting a webviewer with URLs from a separate field. It works fine for most URLs, however, YouTube URLs and Vimeo URLs aren't rendering, nothing shows in the webviewer. Videos play fine if part of a page like http://cnn.com. I have the webviewer in a popover.
The attached screen:
- fm screen: how the URLs are formatted in a URL field
- fm screen2: what the web viewer does with a youtube url
- fm screen3: what the web viewer does with a cnn.com page with a video playing
- fm screen4: what the web viewer set up looks like.
Thanks for any insights.