[Pro] Disable Auto Audio Play

An audio file on PC Chrome browser auto plays even when I have the extended attribute set to autoplay false.

Anyone got any ideas how I can stop it playing on the page load?

Thanks

Trev


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

Try adding autostart false along with autoplay false (two separate attributes). Are you using a Flash player or just embedding an audio file and letting the browser work it out?

Walter

On Feb 1, 2012, at 9:37 AM, t50ufo wrote:

An audio file on PC Chrome browser auto plays even when I have the extended attribute set to autoplay false.

Anyone got any ideas how I can stop it playing on the page load?

Thanks

Trev


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

Hi Walter

Just draggin and droppin the audio file so just embedding.

Will give your solution a go.

Trev


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

Nope - that didn’t work! Is there any other way I can add the audio. It is just a simple short tune as mp3. The embedding method seems to bring up different sorts of player controls in browsers but the auto play is the most annoying.

Thanks

Trev


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

You could do this:

http://www.w3schools.com/html5/html5_audio.asp

in a Markup Item and use Upload Stuff or another upload Action to put the file where your code expects it. Note that there is a trick to getting this to work in as many browsers as possible. You need to make an OGG version for Firefox and Opera, and you have to put the OGG version first in the order of options or Firefox gets sniffy and refuses to play.

Autoplay is an option, but it’s (thankfully) not the default. If you did want it to play immediately, you would add autoplay=“autoplay” to the outer audio tag.

Your other option is to use a Flash audio player. I’ve combined the two recently, using an HTML5 Audio container with ogg, mp3 and then flash (as a fallback for various earlier versions of IE) nested inside. That also requires some hand-coding, there’s nothing for that in an Action yet.

Walter

On Feb 1, 2012, at 10:02 AM, t50ufo wrote:

Nope - that didn’t work! Is there any other way I can add the audio. It is just a simple short tune as mp3. The embedding method seems to bring up different sorts of player controls in browsers but the auto play is the most annoying.

Thanks

Trev


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

That Worked!

But, there is no volume control on the Firefox version. Is there a way to enable on - I just have a loudspeaker icon at the end of the bar that mutes or restores sound.

T


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

Could you post a link? Did you add the controls=“controls” part to the audio tag? Because that should show the volume if it’s there in the browser to enable. (Remember, like any browser-native control, like form fields, you are entirely at the whim of the browser designers how this will look/work.)

Walter

On Feb 1, 2012, at 11:12 AM, t50ufo wrote:

That Worked!

But, there is no volume control on the Firefox version. Is there a way to enable on - I just have a loudspeaker icon at the end of the bar that mutes or restores sound.

T


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

Link here Walter:

http://www.frazerwarnock.com/test/aboutus.html

(ps) site not complete!

Trev


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

Yeah, I see what you mean. That’s odd. No, I don’t know how you’re going to add it back if the browser doesn’t provide it. You’ve already done the one thing you can do (controls) and after that it’s up to Firefox.

Walter

On Feb 1, 2012, at 11:20 AM, t50ufo wrote:

Link here Walter:

http://www.frazerwarnock.com/test/aboutus.html

(ps) site not complete!

Trev


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

That’s fine Walter,

You have been more than helpful - at least it is not blaring
when the page loads (very annoying - specially that chanter drone!)

Kind regards

Trev


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

I know two very fine bagpipes jokes if you want to hear them…

On Feb 1, 2012, at 11:33 AM, t50ufo wrote:

specially that chanter drone!)


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

OK - Lets be havin them!

Not every day you get to do a bagpipe site!

I will be an expert by the time I have it finished :slight_smile:

Playing them is another thing!

T


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

Why do pipers march?

To get away from the noise.

You leave your car in a bad part of town, unlocked, with a bagpipes in the back seat.

When you return, hours later, you find two bagpipes in the back seat.

Walter

On Feb 1, 2012, at 12:23 PM, t50ufo wrote:

OK - Lets be havin them!

Not every day you get to do a bagpipe site!

I will be an expert by the time I have it finished :slight_smile:

Playing them is another thing!

T


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

Are there any other Audio Actions that don’t require special coding or uploading elements sans Freeway Pro? I’d like to have more control over an MP3 I have embedded in a webpage using the Background Sound action.

On 1 Feb 2012, 2:24 pm, waltd wrote:

You could do this:

http://www.w3schools.com/html5/html5_audio.asp

in a Markup Item and use Upload Stuff or another upload Action to put the file where your code expects it. Note that there is a trick to getting this to work in as many browsers as possible. You need to make an OGG version for Firefox and Opera, and you have to put the OGG version first in the order of options or Firefox gets sniffy and refuses to play.

Autoplay is an option, but it’s (thankfully) not the default. If you did want it to play immediately, you would add autoplay=“autoplay” to the outer audio tag.

Your other option is to use a Flash audio player. I’ve combined the two recently, using an HTML5 Audio container with ogg, mp3 and then flash (as a fallback for various earlier versions of IE) nested inside. That also requires some hand-coding, there’s nothing for that in an Action yet.

Walter


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

I’ve just created a new Action based on the audio.js code (http://kolber.github.com/audiojs/). The audio.js Action (http://actionsforge.com/actions/edit/245-audiojs) allows you to add mp3s to your site using HTML5’s audio tag (works in most modern browsers including the iPad/iPhone etc) and falls back to using Flash for older browsers.

There appears to be a lot that you can do with the library such as re-skinning the interface and creating playlists but these will have to wait for a later version of the Action. Currently you just need to add the Action to your page and specify the mp3 file or url path and you’re done.
Regards,
Tim.

On 1 Feb 2012, at 18:28, RavenManiac wrote:

Are there any other Audio Actions that don’t require special coding or uploading elements sans Freeway Pro? I’d like to have more control over an MP3 I have embedded in a webpage using the Background Sound action.


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

You’ll want this URL for it on ActionsForge: http://actionsforge.com/actions/view/245-audiojs

Walter


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

Nice Action Tim

I just gave it a try - very easy.
Just a couple of initial things I noticed:

The size of the player - would it be possible to be able to customise the size or length of the bar in particular. The bar length may not fit into a page design at its fixed length.

A volume control - that would make this action a “must have”

Thanks for the Action.

Trev


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

Thanks Walter.

On 1 Feb 2012, at 20:19, Walter Lee Davis wrote:

You’ll want this URL for it on ActionsForge: http://actionsforge.com/actions/view/245-audiojs


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

Hi Trev,

On 1 Feb 2012, at 20:38, t50ufo wrote:

The size of the player - would it be possible to be able to customise the size or length of the bar in particular. The bar length may not fit into a page design at its fixed length.
The overall size of the item as well as the style can be adjusted with CSS although currently you’d have to do this outside of the Action. I’ll add these features into the next version of the Action. You can see a modified version of the player here; http://kolber.github.com/audiojs/demos/test2.html

A volume control - that would make this action a “must have”
I doubt you’ll see this as HTML5’s audio tag doesn’t support volume control at all.
Regards,
Tim.


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

Hi Tim

Excellent news re the size and “skins”

Length of bar and basic colourways would be first rate within you action.
Pitty about the volume control - but a very nice little action.

Kind Regards and Thank-you.

Trev


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