Jump to content

Playing Audio on the iPad


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

Recommended Posts

I couldn't make it work and this note from FileMaker Pro 12 Advanced's help doesn't sound promising:

In Filemaker Go, content in container fields is displayed by the iOS like other iOS audio, video, and PDF files.

I could imagine the FMI engineers not wanting a setting on a field to automatically switch out of the layout context to the iOS quicktime playback screen.

Maybe a web viewer? On FileMakerGo it will play YouTube in the layout, so I'm guessing if it pointed to a page that had the audio file and auto-played it that would work. Of course it's no longer a pure FileMaker solution at that point.

One interesting thing was that I could airplay the youtube video running in the web container. Kinda neat!

Anthony

Link to comment
Share on other sites

Fair enough. What I was getting at is that it looks like FM Go implements the "MPMoviePlayerViewController" class to handle media playback from container controls, and that that control is only fullscreen;so I get the design/engineering decision to not let a check box setting made at design time switch the whole UI context every time a record is entered.

What I think might work as a pattern is:

  1. storing media files in containers
  2. saving the media file in the container to the FileMaker Go Documents or Temp path with a generic name "sound_file.mp3" using Export Field Contents
  3. Opening that generic file in a web view

Unfortunately, when I tried to do a test along those lines, I got an obscure iOS web view related error. "Frame load interrupted". This may be because i chose mp3 as my format, it may not.

So it appears that FileMaker Go was able to find the file, but the web viewer had difficulty playing it back.

Hope some of that might be helpful!

Anthony

Link to comment
Share on other sites

  • 1 month later...

I'm having a similar problem to those mentioned and was hoping someone could comment on it. I create a database under FM Pro 12 Advanced, store a small movie in a container field and then transfer the database (via email) to an iPhone 5 running FMGO 12. I have a script that operates so that when a certain location is entered (sensed by the location function) it brings up a particular record with the movie in the container field. Under FMPRO 12, I have it set to automatically display the movie when that record is displayed and it works fine. When the same file runs under FMGO on the iPhone, I have to actually touch the container field to get the movie to play and then it will only play in full screen. This is a show-stopper for my application. Anyone have any ideas as to how to make this work the same as it does under FMPro 12? (I should mention - no the location function does not work on FMPro 12 - however when I force the application to go to a record with a movie file, the file starts playing in the container immediately - on FMGO, I want the application to go to the record based on the latitude and longitude and then immediately start playing the movie in the container in that record - it goes to the record just fine, just won't play the movie until I actually touch the container)

--Peter Brooks

Link to comment
Share on other sites

This topic is 4212 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
×
×
  • Create New...

Important Information

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