
13
Creating content & importing assets
Last updated 6/15/2014
You can use the Audio Actions to call an audio element triggered by a user event. For more information on audio
actions, see Audio Actions .
Volume keyframes and control configured through the volume property are not supported on iOS devices. Users can
ad
ju
st the volume using the volume control of the device itself.
Prior to iOS 4.0, iPhone and iPod touch did not play audio inline. Audio was presented in full-screen mode. Audio plays
inline o
n iOS 4.0 and later on all devices.
Android
Android generally has the same audio element limitations as iOS.
Tips and cross-browser considerations
Audio sync
Audio can be used to choreograph sound to your stage compositions. However, due to the nature of the Web, audio
tracks can fall out-of-sync with elements moving on the stage. You may experience playback latency when coordinating
movement with sound, especially in longer tracks.
Audio Sprites
Using audio sprites allows you to create a single audio file with separate playable parts. This technique is used to
download all your audio in a single file to save download time.
To use an audio sprite, convert your audio element to a symbol and use play back markers to call the sections of your
spri
te.
Add video to animations
Edge Animate supports native HTML5 videos making it easier for you to use your favorite video clips within your
compositions. You can control the playback of videos using basic playback actions and JavaScript. Also, you can bind
video elements to touch and mouse events to create a rich interactive experience.
Video playback capabilities are supported in the HTML DOM. This means, the videos can play on any modern desktop
or
de
vice browser without requiring a plug-in.
You can import .mp4 and .ogv files into Edge Animate.
For the best cross-browser compatibility, include .mp4 and .ogv resources of video elements in your project. For a
detailed de
scription of supported video types, visit Media formats supported by the HTML audio and video elements.
Add video to compositions
Do one of the following:
• Click File > Import or drag-and-drop the video files directly onto the Stage from your file system. A 'video group'
with the name of the video file is created in the Library. This video group contains the video file and any fallback
files you add for cross-browser compatibility.
Comentários a estes Manuais