I can control outside the audio in my canvas / HTML5 project?
I have a Flash project I export to HTML5 / canvas and there is an audio track in the background. Because he was tall, and causing the Flash loading wrong part, I decided it would be better to place it outside my Flash project using the audio tag. So I have this code:
"< automatic audio loop playback controls > < source src =" sounds/mySound.mp3"type =" audio/mpeg"> < source src =" sounds/mySound.ogg "type =" audio/ogg"> your browser does not support the audio tag. < / audio >
< canvas id = "canvas" width = "1200" height = "768" style = "background-color: #000000" > < / canvas >
Simple. I just want to be able to add a button to my Flash project to control the sound coming out of my audio tag. Is this feasible?
you don't know.
assign your audio tag an id attribute (for example, audioID) and you can use js like.
document.getElementById('audiID').play ();
document.getElementById("audioID').pause ();
etc.
Here is a list of the methods, properties, and events that you can use - reference DOM HTML audio/video
Tags: Adobe Animate
Similar Questions
-
How can I remove the audio when there is no cutting to click on?
I did several films, however, the latter has a problem. He didn't there is audio that plays at the end of my movie, but no visible cutting (video or audio) for me, right click and delete. It's as if the element is missing, but audio plays for five or six seconds, not related to any video. I can't highlight the audio delete (there is no image showing same) and I cannot reduce the volume level here either. I think that there is a bug in the last update of the components of Prime Minister. Any ideas? Or I have to start all over in the creation of my film?
todde
Thanks for the reply with screenshot.
On your screen, you are in the quick workspace. Please go to the Expert workspace where you can get a better view of what's going on
and therefore have more control.
It expanded to display the titles and their content will be a definite advantage.
We will follow to your results.
RTA
-
How can I change the audio track on netflix
I have the new Apple tv 4. How can I change the audio track on netflix?
Setup of the Apple tv has been replaced by the language I want but Netflix ignores this.
Thanks in advance
If the film has a choice of audio tracks, you should be able to slide down while the film is presented, then select audio in menus that appear.
-
How can I return the audio for my lap top.
Original title: audio sound
I inadvertently deleted something that gives me sound on my lap top. I think it is silverlight. How can I return the audio for my lap top. THX
Hello
1 have had any changes made on the computer before the show?
2. what operating system is installed on the computer?
3. when exactly do you face the question?
I suggest to return the item and try to run the fix it:
No sound in Windows
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
Please provide more information to help you best.
-
where can I get the audio drivers for IBM model 8434PA4
Original title : my audio driver where can I get the audio drivers for IBM model 8434PA4
Hello
need to answer,where can I get the audio drivers for IBM model 8434PA4?Hello
What operating system is installed on the computer?
I suggest you to check out the link next to the Web IBM site to download the audio drivers.
http://www-947.IBM.com/support/entry/portal/downloads
Choose the appropriate model before download the drivers. You can also contact IBM support for assistance.
-
I have a laptop asus F5R model. I use the operating system to windows xp service pack 2, I can't install the audio driver on my knees, please help me
Download and install the last set of drivers (starting with the chipset / driver motherboard) to the ASUS support site: http://support.asus.com/download/options.aspx?SLanguage=en&type=1
J W Stuart: http://www.pagestart.com
-
How can I reinstall the audio drivers for my motherboard d845egb2 intel
I received a 2nd hand computer and had to wipe all of its information. and lost the ethernet drivers and audio. So how can I reinstall the audio drivers for my motherboard d845egb2 intel
Hi samshepherd,
To check if an updated audio driver is available for your sound card, you can use Microsoft Update to help you determine your current sound driver and if an update is available.
You can also contact the sound driver hardware or the computer manufacturer for an updated audio driver.
See the link below for more details:
How to update a sound card driver in Windows Vista and Windows XP
Additional reference on:
-
When I go to burn my songs it says data instead of CD disc. How can I change the audio disc?
original title: Media Player
Just a thought...
Well, click on the burn tab should open a menu where you can select any Audio CD or data CD.
-
Installed the driver for Lifechat lx300, but can not hear the audio in media player
I have a new helmet. I installed the driver but can not hear the audio in media player
Hello
I suggest you to visit the links below that would solve your problem.
Step 1: Turn sounds into the lifestyle cat helmet
http://support.Microsoft.com/kb/935749
Additional information: a. tips for solving common audio problems
http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems
b. no sound in Windows
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
Hope this information is helpful and let me know if you need additional assistance.
-
How can I activate the audio service
How can I activate the audio service
-
Windows 7 installed on my HP Pavilion dv 1000 and he can't find the audio driver.
Original title: I installed windows 7 on my hp Pavilion dv 1000
I installed windows 7 on my hp Pavilion dv 1000, I can't find the audio driver for it. Is this possible? Help, please.
Hi Enricomassillon,
It seems that your HP system is not compatible for Windows. Available drivers are for Windows XP and 2000.
You can check out the link to HP support and try to install the audio drivers for Windows XP compatibility mode and check if it helps.
HP Pavilion dv1000 notebook PC drivers & downloads
For more information, see the article:
Make older programs in this version of Windows
You can also get in touch with HP support for help.
Hope the helps of information.
-
How can I adjust the audio level to 85 dB in first export?
How can I adjust the audio level to 85 dB in first export?
How to set the level in the you use the audio player for 85 dB?
Loudness Radar is useful for this?
AnjuBacker wrote:
How can I adjust the audio level to 85 dB in first export?
How to set the level in the you use the audio player for 85 dB?
Loudness Radar is useful for this?
85 dB is a level of calibration of the monitor. Use a meter of SPL (C-weighted/slow) with pink noise to perform this task. It is not something that is defined during mixing or exit. Loudness Radar is a sound level meter software. It includes templates and Visual representations to program Loudness, short temporary term Loudness, Loudness and Loudness Range (LRA). There is also an indicator of True Peak exceeded. Add this at the end of you point out the string for a precise measurement of your mix. Note to determine an exact indication of the program Loudness, the audio segment must be measured in its entirety.
-paul.
@produceNewMedia
-
I can't drag the audio clip in the timeline
I can't drag the audio clip on my calendar
Most common user error: no source patch tracks
-
When I drag my clip in my calendar, there is no audio that comes with it, even if it is supposed to be. How can I get the audio?
Make sure your Source patch and the targeting of the track are set correctly:
MtD
-
How can I remove the blue trail mouse my captivate project?
How can I remove the blue trail mouse my captivate project? I want to keep the mouse movement, but not the blue trail.
It is an object of zoom, right? Strange, but I do not see the track at all when previewing. You may be using game slide, which is not at all a preview mode?
A tip: for the best quality of the magnified image, you can create an image yourself of the zoomed area and use the button Add new Image to replace the one generated automatically, which can become pixelated.
Maybe you are looking for
-
where is the awesome bar for every night?
I need to see and to be able to copy the url - search is nice but not necessary, because I find on my homepage (protopage) and of course the startup page every night.
-
Skype makes my pc Freeze I cany USE it at all!
It's like this for weeks, I can't run Skype! Just connect to my pc freeze and I have to restart it please help
-
Script to show/hide the menu bar in the preferences
Hi all First of all, my knowledge of script is fairly limited, so bear with me, okay? So, I was wondering if you could write a script that activates / deactivates the system preferences to show or hide the menu bar? I found this article http://goo.gl
-
Leak memory in cRIO running RT
I am running RT 2009 on a compact chassis of RIO. My very basic VI causes the RIO to restart, which seems to be linked to a leak memory. I use system monitor and you can watch the use of memory on the chassis of RIO grow very slowly. Attached is t
-
Broken keyboard key is covered by the warranty?
Hello I bought Thinkpad T520 a month ago. Today, one of the areas that hold the key broken Z. The key is still usable but can be detached easily. I used the laptop on a desk only and I have not pressured the keys that could break them. It is a defect