Jump to content

streaming data with FMP


camcorp
 Share

This topic is 7248 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ]

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 7248 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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