Flash is one of the most popular technologies for creating interactive content. Flash audio and video are widely used to create active elements on the site. With the help of these technologies, you can implement on your resource the ability to play audio or video by means of the site.
Instructions
Step 1
To insert audio or video to flash, you must first download the desired player in SWF format from the Internet. To do this, use the resources that offer similar controls and save the resulting online player on your computer. If you know how to create SWF objects, you can also try to create the player yourself using Adobe Flash.
Step 2
Place the downloaded player in a separate directory on your site. For example, create a player_audio or player_video folder in your resource structure using your control panel or the FTP client you are using. Upload the music or video files you want to play into the same directory.
Step 3
Open the page where you want to add the player in any text editor window. You can also open the code for editing using the control panel of your site or by downloading the file you need for editing from your resource via FTP.
Step 4
A player is created on an HTML page using a tag. Paste the following code wherever you would like to display the player on your page:
Step 5
In this code, the data parameter specifies the path to the player that was saved on your server. A similar item is set for value in the tag. The src = line specifies the path to your audio or video file that you want to play in the player.
Step 6
Save the changes made using the menu "File" - "Save" and test the operation of the page. If everything is functioning correctly, upload your file back to the server. If the player does not play data, check that the specified path to the music or video file is correct.