How To Insert A Video Into A File

Table of contents:

How To Insert A Video Into A File
How To Insert A Video Into A File

Video: How To Insert A Video Into A File

Video: How To Insert A Video Into A File
Video: Insert Offline Video In MS Word || 2021 Method || MP4, 3GP, WMV ,AVI, FLV videos in MS word 2024, April
Anonim

The Internet has long become not only a huge repository of information, but also a means of communication for millions of people who may never meet in real life. This means that you can share with your distant friends music and video files that you recorded yourself or found on the World Wide Web.

How to insert a video into a file
How to insert a video into a file

It is necessary

video file, internet access

Instructions

Step 1

There are many ways to embed a video file on a web page, for example, using the embed and ancor tags (the well-known anchor tag).

If the video is in your personal collection, upload the file to the server in the same folder as the web page. If you are going to share several videos with your visitors, it is better to create a separate subdirectory for them, naming it, for example, My video.

Step 2

Embed does not require an end tag. The autostart attribute determines whether the video will start automatically on page load. False disables autostart, true enables. The built-in player has Star / Paus / Stop buttons to control the start and stop of the video. In addition, you can stop the file by clicking on the image, and continue viewing by double-clicking on the image.

Step 3

If you want to link to a video file that you found on the Internet, enter its global address.

Step 4

To embed a video on a web page using an anchor tag, write its URL in the href attribute: Of course, the URL can be local or global.

Step 5

In addition to autostart, the embed tag has other attributes that you need to be aware of in order to correctly place the video file on the web page: - hidden can hide the file control buttons depending on the value false or true. Do not hide the Stop button from visitors, unless you intend to force them to watch the video.

- loop is responsible for looping the file. If loop = “true”, a closed loop is started, if “false”, then the file is scanned once.

- the playcount attribute is similar to the loop - it specifies the number of times the file will run. If playcount = "5", then the video will be played five times.

- volume defines the volume level in the range from 0 to 100. The embed tag supports all the most common media file formats:.swf,.mov,.avi and mpeg. You can place any of them on your web page with a local or global address.

Recommended: