Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

streaming data with FMP

Featured Replies

I want to know if it is possible to stream data from a field using filemaker. For example with a combination of java or flash the information contained in a field could be streamed to the browser avoiding refreshig the web page. I think that using a served side solution it could be possible but in order to reduce this complication I ask for a solution on the client side.

My first impression is that it could be possible and the hole filmaker communicaty can find a way to make this possible. I think that if we can find a way to do this, we can move filemaker into a next step of online data publishing.

Thanks to all, and let's be creative to resolve this issue

camcorp

Hi, excuse me if I'm being dumb, but surely you just deliver the url of the movie/java applet from the Filemaker db as you would if it's an image?

We did quicktime/mpg for "GrocerTV" (no, really - no sniggering at the back!) and the page html went something like this:

if (top.browser.platform == 'mac')

document.write('<embed src="[FMP-Field:mov]" autoplay=true width=240 height=195 controller=true></embed>');

else

if (top.browser.flavor == 'ie')

document.write('<embed src="[FMP-Field:mpg]" autoplay=true width=240 height=200 controller=true></embed>');

else

document.write('<embed src="[FMP-Field:mov]" autoplay=true width=240 height=195 controller=true></embed>');

This was just a get-and-play rather than true streaming 'cos we had a Quicktime streaming server, but not one that would do mpgs but it would work just the same.

Jeff

Oh, nearly forgot -don't comment the Javascript or FMP ignores it!

  • Author

Thanks,

I mean that streaming the content of a data field for example a quotation of a stock. This field contain a number it should stream only the last entered field to the client browser. I want to avoid the refresh tag that I'm currently using, It is working good now, but i want to move one step forward, instead of this i want to use flash or java or any other simple technology that i can integrate into my solution.

Please let meknow

quote:

Originally posted by camcorp:

Thanks,

I mean that streaming the content of a data field for example a quotation of a stock. This field contain a number it should stream only the last entered field to the client browser. I want to avoid the refresh tag that I'm currently using, It is working good now, but i want to move one step forward, instead of this i want to use flash or java or any other simple technology that i can integrate into my solution.

Please let meknow

Do you mean streaming audio or video? That will be next to impossible, because WebCompanion will choke on this.

If you need just data refresh without refreshing the whole page, that is easy -- use iFrame page to hold your data and do standard META Refresh in the data iFramed page.

  • Author

I mean streamming data, like some online data market services do. I do not want to stream video or audio.

Every time a new record is done the data in the browser should be updated. I frame works fine but isn't optimus.

Bye

[ December 12, 2001: Message edited by: camcorp ]

We have been able to use Flash to retrieve data. The format page is not html, just plain text. It is simply the Flash variable names and the [FMP-Field: tags; this is in the format required by Flash.

Java can do the same thing. You can even return XML.

Remember, the format file does not need to be html.

All the best.

Garry

RE: online data market services do

---------------------------------------

IMHO that is usually done with Java applets.

  • Author

thanks garry,

Which is the way that flash retrieve data from filemaker? Is any source where i can find how to integrate both technologies? should I use traditional CDML to include in a flash player.

Anatoli

Where can I find a Java applet that can do this for me inorder to integrate with my solution.

Thanks to all

quote:

Originally posted by camcorp:

thanks garry,

Anatoli

Where can I find a Java applet that can do this for me inorder to integrate with my solution.

Thanks to all

I did it only with iFrame, sorry.

Anatoli

  • Author

Anatoli

You give me the answer sometime ago, about using iframes. They work fine, but whith too many users filemaker I realized that for fmu it's a hard work. I prefear a simple flash movie or an applet that retrieve the data from filemaker.

The question is still open for all member of this forums. this is the best way to improve the filemaker usablity, in order to build better and most robust solutions online.

If some has more tips about using flash or an applet to stream data online please give some advice.

camcorp

quote:

Originally posted by camcorp:

If some has more tips about using flash or an applet to stream data online please give some advice.

Can't help you personally, but I came across some tips here:

http://www.mogulsoft.com/fmpro/

I'm currently travelling hence do not have all resources with me.

You may wish to try Set Variables in Flash, this function allows you to use a URL to retrieve values. The URL, of course, can be a call to FMPro. The returned Format file can just be text with the variable names and their values (FM replacement tags).

I posted some links to relevent references earlier in the year to a similar thread. I will see if I can find those anywhere.

I've done some checking. The Flash 'ActionScript' function is 'loadVariables ()'. You can find the notes on this if do a search on the Macromedia site for loadvariables.

The format files we used looked like this:

firstname=[FMP-Field:username]&totalscore=[FMP-Field:totalscore]&recid=[FMP-CurrentRecordID]

That is all the format file contained, a single line, and it ended in '.txt'.

We have used this for a Flash game, which keeps total-scores, highest-score and last-date-played. It is part of a larger application which also awarded points for survey questions answered.

Hope this helps.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.