I created a container so I can include audio files but I noticed that the QuickTime volume controller was designed to go up & down. Can we change this so the volume controller can go left to right, within the actual player? Image attached. Thx.
Currently there is no way to customize the interface of what program is used to preview container contents.
Remember that FileMaker is cross-platform, and the player will behave differently (and potentially not even be quicktime based) across filemaker users.
This older thread refers to a method of loading container contents in a webviewer, which would use the system's browser object controls to render the player. You lose a lot of filemaker's built in functions that route, but it's an option I've used before for images and PDFs.
Use WebViewer to play container field AVI?
Thanks for the feedback. I thought once it was turned into a solution, the actual embedded player remains for all platforms.
Can I create my own player, possibly using a script so the player is identical for all users?
As I noted via the link above the only method to customize the player is to use a webviewer, which may not be an option if you're dealing with large files.
Essentially you need to base64encode( yourtable::youraudiofile ) - followed up by passing that base64encoded file into a webviewer that has a player window in it.
See this article for writing html5 embed tags for different MIMEtypes of files utilizing base64 code:
HTML5 media and data URIs - Ian Devlin :: Web Developer
Once in the webviewer, you will have more control over the "skin" that is displayed to play the file via CSS and other styling.
More great info, Mike but I don't think this is going to do since I will be using large files. Every record will include an audio track (either wav, aiff or mp3) and a simple little embedded audio player (meaning it's the same for all users) with Play/Pause/Stop buttons and Volume. Not so much to ask for. I guess it's time to rethink this part of my solution. Thanks again.
Unfortunately since FileMaker relies on the default AV player provided by the operating system, rather than its own internal player, there is nothing you can do to change the appearance of the embedded audio player in a filemaker interactive container.
You could create different layouts according to each operating system, detect the operating system, and redirect to a different layout based on that value. That would at least let you create a border and other layout objects around the container, and allow you to set variable dimensions of the players based on the OS.
How big? Like a song's worth or something else? I bet a 4-6mb audio file isn't going to be horrible in terms of working with here. As Mike suggested, this audio is base64Encoded and then fed into the web viewer to play.
I put this together in a web viewer. I didn't add a volume control ( I'll see if i can do it) but it's getting there.
@Mike I was afraid of that but different layouts according to each OS may be an option... or... hmm, maybe the webviewer. I've got to see what works best but either way, I appreciate your input.
@Jeremy That is nice! Regarding file size, assuming they are Aiff or Wav, these can range from 45mb to 80, depending on the bit size, sample rate and length of the song.
So let me see how this works. I would click an image on my layout and this would open a default browser? Yep, I'm a newbie but learning. Thx guys!
Retrieving data ...