[Pro] adding mp3 audio file

Hello

I just want make sure I am doing this right. I have a few mp3 files I want to use on. I drew an HTML and imported the file and it worked! Is this correct?

hanks all


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is what Freeway recommends:

Using Music and Audio Files on your Web Site
There are a few different ways to use music and audio files on your web site and this article discusses the various methods you can use.

Setting an audio file to play on page load
If you want a music file to play when a page is visited (so it plays on page load), the best way is to drag and drop an audio file straight onto your Freeway page.

The best audio formats are the web-standard ones which should play on all browsers and on all platforms - and these are .mp3 or .wav. If you use other formats, the visitor may need to download a plug-in for the audio to play.

As a default, an audio file used in this way will “autoplay” (ie, it will automatically play on page load) but it won’t “loop”. If you want it to loop, select the item on the page, go to Item>Extended, click on “New”, type “loop” (without the quotes) for Name, type “true” (again no quotes) for Value, then click OK.

Unless you want the audio file to be seen on your page, you will want to make it very small (perhaps 1px by 1px) and move it to an empty area of your page. If you don’t use a background color on the item it will be invisible.

Note: There may be a slight lag (especially with very large audio files) before the music starts after the page has loaded.

You may have seen a built-in Action called the Background Sound Action (which users of previous versions may have used in the past). Unfortunately this functionality of this Action has been compromised by later versions of Internet Explorer for PC, so we recommend using the method above.

Setting an audio file to play when the QuickTime controller’s play button is clicked
This is perhaps the simplest way to use an audio file on a page so that the visitor can click a play button to start the file playing.

Drag and drop an audio file onto your Freeway page and make the item 15px high (the height of the QuickTime controller bar. You can make the width of the item whatever you want - this will simply make the progress bar of the controller stretch to whatever width is set.

However, because by default an audio file is set to “autoplay”, you need to switch this off so that it will only play when the visitor clicks on the play button. To do this, select the item on the page, go to Item>Extended, click New, type “autoplay” (without the quotes) for Name, type “false” (again no quotes) for Value, then click OK. If you preview your page now, you will see that the QuickTime controller’s play button needs to be clicked for the music to play.

Setting an audio file to play when you click on a link
If you have a lot of audio files on a page and you want to avoid too much clutter, you can always use a graphic item so that when it is clicked a new window will appear with the audio file already on a page. The best way to do this is to use the Link to New Window Action on the graphic.

Draw a graphic on the page, size it and set a color for the background, then go to Item>Actions and choose Link to New Window. Now you need to set up the new page which will contain the audio file. Create a new page in Freeway, give its name as the name of the song playing on the audio file and click OK. Now set the page dimensions of the page to be 350px wide by 100px high.

Drag and drop the audio file onto the new page then set its dimensions to 310px wide by 15px deep and center the item vertically and horizontally. If you want the file to autoplay when the page opens, you can leave the defaults as they are - if you want the file to only play when the play button is clicked by the visitor, use the Item>Extended method we used earlier.

Now go back to the page with the graphic link. Select the graphic then, in the Link to New Window Action palette, enter the wording you want to display at the top of the browser window (perhaps the name of the audio file), click on the Page popup and choose the new page you created earlier, enter 350 for width, enter 100 for height, then set the Toolbar, Scrollbars and Resizable popups to None. Choose Yes in the Use Link popup.

Using a Flash Player to play your audio files
Some people like to use a Flash player as a virtual jukebox on the page with a list of audio files in a list in the Flash player’s window (or “skin”). The method for setting up a Flash player like this will vary depending on the Flash player you’re using.

There are many Flash players you can use for free, while others are commercial versions which offer greater flexibility and greater functionality. You can type “flash player” into Google (with the double-quotes) to see the selection available.

Note that we can’t support any third-party Flash player solutions such as these.

If you want to use a Flash player on your Freeway site, you will probably use a .swf file on your page (which you can drag and drop on the page), but there will be other files which are “referenced” by the .swf file so that they play when the file is selected in the player window (these will probably be .mp3 files for each song and a .xml file which tells the player which order to list the songs in). To make it work when you test the Flash player locally by previewing in a browser you’ll need to copy the referenced files into your Site Folder so that these files can be found. Likewise, when you upload the site, these referenced files will need to be placed manually into (probably) the Resources folder on the server (if they don’t work in that location, you may need to experiment with moving them to different locations). You can upload these files manually by using a standalone FTP application such as Cyberduck http://cyberduck.ch or Transmit http://www.panic.com/transmit.

dd


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This thread was started in 2010 and it’s now half way through 2014. I’ve found that modern browsers can play MP3’s just fine, without the need for a separate “audio player.” I want my site visitors to be able to click a link that will open and play the clicked MP3 in a small overlay. Walter’s ScriptyLightBox3 does this, however in some browsers like FireFox the spinning spiked wheel (visual feedback to the user while something is loading) stays displayed and spinning forever. Perhaps a simple fix of that Action (allow using to manually disable that spinning spiked wheel) could resolve that issue. But I am posting here to ask if there is a “better way”?

The reason I ask is because the method I’ve been using to date is now unreliable in Chrome and other browsers. Chrome coughs up a stupid “Could not load QuickTime Plug-in 7.7.3” error. Have a look at the following page in my website and click on the car alarm siren within the product photo at left:

If you do that in Chrome, you will see the overlay appear, but then the stupid error in Chrome prevents playing.

So again, I am looking for a more modern way to accomplish the same exact thing. I want someone to click that siren and then have a small overlay appear that will play the MP3. And yes, I want the browser’s player to appear so the user can Pause or Stop the audio. I don’t want it to blindly play. They need to see some kind of player.

Thanks,

James Wages


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try an Audio tag, in an HTML5 page. That gets you the widest possible playback options. You will need to transcode your audio from MP3 to WAV or Ogg for Firefox, which stubbornly refuses to play anything that is patent-encumbered. But in the

Walter

On Jul 30, 2014, at 3:13 AM, JDW wrote:

This thread was started in 2010 and it’s now half way through 2014. I’ve found that modern browsers can play MP3’s just fine, without the need for a separate “audio player.” I want my site visitors to be able to click a link that will open and play the clicked MP3 in a small overlay. Walter’s ScriptyLightBox3 does this, however in some browsers like FireFox the spinning spiked wheel (visual feedback to the user while something is loading) stays displayed and spinning forever. Perhaps a simple fix of that Action (allow using to manually disable that spinning spiked wheel) could resolve that issue. But I am posting here to ask if there is a “better way”?

The reason I ask is because the method I’ve been using to date is now unreliable in Chrome and other browsers. Chrome coughs up a stupid “Could not load QuickTime Plug-in 7.7.3” error. Have a look at the following page in my website and click on the car alarm siren within the product photo at left:

VISION 1480: DIGI-LINK SMART Keyless Upgrade System

If you do that in Chrome, you will see the overlay appear, but then the stupid error in Chrome prevents playing.

So again, I am looking for a more modern way to accomplish the same exact thing. I want someone to click that siren and then have a small overlay appear that will play the MP3. And yes, I want the browser’s player to appear so the user can Pause or Stop the audio. I don’t want it to blindly play. They need to see some kind of player.

Thanks,

James Wages


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

http://www.freewaytalk.net/thread/view/100580#latest


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options