Taste die audio Link abspielt und beim weiteren drücken stopt

New Here ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

Ich möchte eine Taste (HTML5) einbauen, die, wenn man auf sie klickt eine Audio Datei abspielt. Die soll allerdings nicht in Animate importiert liegen, sondern auf dem Server oder von Soundcloud kommen. Ich habe es schon mit einem Webseiten Link versucht, aber so recht funktioniert es noch nicht. Ich möchte nur, dass der Sound hörbar wird, allerdings nicht angezeigt wird.

Habt ihr eine Idee?

TOPICS
ActionScript , Code , Import and export

Views

62

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

if soundcloud is a file server, you can load the file by using the url to the sound file.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

Yes, thanks. But how can I tell a button to only play the sound, not show it.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

nothing is shown because a sound plays (unless the server is intercepting the url request and interjecting something).

 

just download the sound file and put on a file server you control.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

... and when i have the file on the server, what do i tell the button? this.play? this.audio?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 24, 2022 Feb 24, 2022

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines