Online movie streaming media technology as an application, has been in the major sites, "faceless" With the continuous improvement of network bandwidth, I believe that online movie will attract more and more eyeballs. In order to make their own personal site also has online movie features, you thought yourself to distribute online movies? Whether or not, online movie will be the next hot spot network, learn to release the film should be by each worm one must master the skills.
On the surface, release online movie seems to be a very "Xuanhu" things, rookie users almost unthinkable. In fact, the film is released directly in the page insert into the movie, then play in a browser can, and this process is as simple as inserting images of operation, we can directly in Frontpage in easily, you can file in the HTML source in the statement by adding control to achieve.
Insert a web page the way the two kinds of films, one is without the player interface, the other is with a player interface, the release of the two methods are not complicated code, but the procedure does not require profound design, in accordance with the following steps you can learn in just a few minutes online movie release:
First, do not release the movie with a player
This release method will not appear in the Web browser player, but using the shortcut menu commands to control the movie playback and stop issuing specific steps:
1, run the FrontPage 2002 program, to ensure the website is in view mode, then move the mouse to the menu bar, followed by implementation of the "Insert" / "image" / "video" command, then the system will automatically open a file selection dialog box, in the The dialog box you can release the movie they need to select the video file, and click the dialog box "OK" button, it will be able to target a movie into a Web page;
2, then insert the movie file in HTML edit mode only displays a small icon, and we only state in the preview or use the browser to open the page in order to appreciate to its normal content;
3, in order to make the film in accordance with the appropriate way to play, we also need to insert a movie file to set some parameters to specify the online movie playback mode; settings, you can right click the video file icon, then open from shortcut menu to perform "Picture Properties" command;
4, in the pop-up "Picture Properties" dialog box, you first open the "Video" tab page, and in which the "repeat" option is selected, of course you can also set the movie plays only a limited number of cycle, and number of settings, enter the appropriate number of column size;
5, in this tab page, if you need to complete in the movie playing on it, to pause for some time under the replay again, it will be "late cycle" option is selected, also entered here need to suspend a specific number of how many times ms;
6, we can start playing the online movie way some settings, such as whether the film opened automatically when the page file playback, or set to hover the mouse on the screen when the movie starts to play; completion of the above settings We can perform the "Preview" command to check whether the film can play and play correctly How effective; If playback is not satisfactory, we may cancel the preview, movie playback to reset the parameters adjusted until a suitable date; this point, we will be able to complete the simple task of the film released.
7, if you do not like FrontPage special tools, we can file in the page source code directly into the movie player to achieve the online release of the film: we can insert any of the first page a picture, and then Notepad Open the Web page's source code files, and find the control in which the image " "statement;
8, the statement in the "src" to the video image tag name tag name "dynsrc", while the value of the attributes of the tag relative to the target movie file path and file name on it; for example, to e disk aaa.avi film released on the Internet, then you can directly insert HTML source code "" statement;
9, the completion of the code inserted, we re-save the page into a html file, using your browser to view, you can see into the movies themselves. If found in the browser interface into the film screen is too small or out of proportion, you can re-open the page source code files, and add the appropriate movie player control code to allow the film to the screen and play way to set it up according to their needs;
10, we can use the control statement in the img tag movie size "width =" xx "height =" xx "" to set the movie player screen size, if the cancellation of this tag attribute, then the browser will automatically according to the film Play the original size to show up in the browser;
11, in the img statement, we also control the movie playback mode you can add the tag "start ="..."", If you wish to visit the website to be able to automatically play movies, you can set its value to" start = "fileopen" "; If the mouse hovers over the movie screen in the movie begins to play, you can set its value to" start = "mouseover" ", so when the mouse hover over the movie screen when the movie will automatically play;
12, in addition we can also img statement, add to control the number of repeat markers "
loop ="..."", to make online movies film loop as needed; if its value is set to "loop =" infinite "" would, unlimited online movie will automatically loop; but we If the movie plays just once, it can not use the "loop" tag;
13, using the "loopdelay ="..."" tag can be set to repeat every time the film when the time interval, such as If its value is set to" loopdelay = "2" ", then expressed hope that the moratorium on time is 2 milliseconds.
Through the above settings, a wonderful film can normally played on Web pages. When
However, this online movie playback may not be very satisfactory, in order to get the film released more effective, we must also learn to take the best player in the movie release techniques.
Second, the film released with a player
In order to allow viewers to play according to their own wishes and appreciation of film, we can use the following methods to achieve with the movie player release:
1, run the FrontPage 2002 program implementation in the menu bar and then click "Insert" / "Web Components" command, then you can open a FrontPage 2002 entitled "Web Components" dialog box;
2, in this dialog box "component type" option, you use the mouse to the "Advanced Controls" option is selected, while in the "Select a control" option will be "ActiveX controls" is selected;
3, the next in the "Insert ActiveX Control" dialog box, you will be "Windows Media Player" option is selected, a player controller interface was inserted into the page, and after you open the browser page be able to see this player a;
4, right-click the newly inserted player, in the subsequent implementation of the pop-up shortcut menu "ActiveX control properties" command, so the system will open the "Options" dialog. In the dialog box, select the "Play" tab, and set the tab page to play a variety of attributes further parameters such as number of cycles to play, play screen size and the playback volume, etc, to ensure that you are able to browse the web page easily control online movie;
5, set up after the broadcast properties, we can switch to the FrontPage 2002 program interface "HTML" view mode, and finds "" statement and the statement " value "attribute value is set to" value ="*.*"", which "*.*" expressed the need for online release of the movie file name and relative path of the file stored. In addition, we need to modify according to several other markers in the statement of property value;
6, of course, if everyone is familiar with HTML syntax, then you can open the Web page source code files, movie player controller to manual design; First we simply add the following HTML source file fields:
id = "MediaPlayer1">
/ / Filename that film name that film location of the file *.*