On the surface, the release of online movies seems to be a very "iffy" thing, rookie netizens almost dare not think. In fact, the release of the film is in the Web page directly into the movie, and then play in the browser can be, this process and the operation of the image inserted as simple, you can easily implement in FrontPage, you can also in the HTML source file by adding control statements to achieve. There are 2 ways to insert a movie in a Web page, one with no player interface, the other one is with the player interface, both of these methods of publishing do not have complex program code, and do not need esoteric programming, follow the steps below you can in just a few minutes to learn to publish movie online: First, without the player movie release This way of publishing does not appear in the Web browser in the viewer, instead, you use the shortcut menu commands to control the movie's playback and stop, with the following steps: 1, run the FrontPage 2002 program, make sure the page is in view, then move the mouse over the menu bar, and then execute insert/Picture /video command, the system will then automatically open a File selection dialog box in which you can select the movie video file you want to publish and click OK in the dialog box to insert the target movie into the Web page; 2 The inserted movie file appears only as a small icon in page editing mode. You can only enjoy the normal content when you open the page in the preview state or using the browser, 3, in order to make the movie in the right way to play, we also need to insert a number of movie files to set some parameters, To specify how the online movie is played; set when you can right-click the video file icon, from the next open shortcut menu to perform the "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 selected, Of course, you can also set the movie only a limited number of cycles, and in the number of settings bar to enter the appropriate number of digits; 5, in this tab page, if you need to play after the movie, to pause for a period of time to repeat the next time, the "cyclic delay" option is selected, At the same time, enter the number of milliseconds to pause; 6, you can also be the beginning of online movies to play a number of settings, such as whether to allow the movie to open the page file automatically play the function, or set to let the mouse hover on the screen to start playing movies, etc. after the above settings, You can perform a "preview" command to check if the movie is playing correctly and how it will play, and if the playback is not good, you can cancel the preview, reset the movie playback parameters until the appropriate adjustment; So far, we can complete the Simple movie publishing task. 7. If we don't have frontpag on handSpecial tools such as E, you can also insert the movie directly into the source file to achieve the release of the online movie: You can first insert any picture in the Web page, and then use Notepad to open the page source code file, and in which to find control of the picture "< img border=" 0 src = "E:\*.* >" Statement 8, change the "src" image tag name in the statement to the video tag name "Dynsrc", and point the property value of the tag to the relative path and filename of the target movie file , for example, to publish the Aaa.avi movie on e-disk, you can insert the "< img border=" 0 "dynsrc=" E:\aaa.avi ">" statement directly in the source code of the Web page, 9, after completing the code insertion, You can save the page as an HTML file, and use your browser to see the movie you inserted. If you find that the inserted movie screen is too small or disproportionate in the browsing interface, you can reopen the Web page source code file, and add the corresponding movie playback control code in, so that the movie screen and playback mode according to their own needs to set; 10. You can use the tags in the IMG statement to control the size of the movie. Width= "xx" height= "XX" to set the movie playback of the screen size, if the cancellation of this tag attribute, the browser will automatically according to the original playback size of the movie to display in the browser; 11, in the IMG statement, you can also add control of the movie play the way of the tag " Start= "" ", If you want the page to be accessed when the movie can automatically play, you can set its value to" start= "FileOpen" "; If you want the movie to start playing when the mouse hovers over the movie screen, you can set its value to" start= " MouseOver "", so that once the mouse hovers over the movie screen, the film will automatically play; 12, in addition, you can also in the IMG statement, add the ability to control the number of repeat playback "loop=" ... "", to allow online movies to cycle the movie as needed; If you set its value to " Loop= "Infinite", online movies will be automatically circulated indefinitely, but if you only want to play the movie again, you can not use the "loop" tag, 13, use "loopdelay=" ... "" Tags can set the time interval for a movie to repeat playback each time, such as if its value is set to "loopdelay=" 2, which means that the time you want to pause is 2 hao seconds. Through the above settings, a good movie will be able to normally play on the Web page. Of course, the effect of this online movie may not be very ideal, to getFor a more effective movie release, it's best to learn how to bring the player to the movie release technique. Second, movie release with player in order to enable viewers to play and enjoy the movie as they wish, you can use the following method to implement the movie with the player: 1, run the FrontPage 2002 program, and then execute the Insert/Web Components command in the menu bar. FrontPage 2002 then opens a dialog box titled "Web Components"; 2. In the "Component type" option of this dialog box, you select the Advanced controls option with your mouse, select ActiveX controls in the Select a control option, and 3, and then in the Insert ActiveX Control dialog box, the Windows Media player option is selected so that a playback controller interface is inserted into the Web page, and you will see the player when you open the page in the browser; 4. Right-click the player you just inserted, The ActiveX Control Properties command is executed in the shortcut menu that pops up, so the system opens the Options dialog box. In the dialog box, select the Play tab, and in the tab page to further set the various properties of the playback parameters, such as the number of cycles, playback of the screen size and playback volume, and so on, to ensure that you can easily control the Web page of online movies; 5, set the playback properties, You can switch the FrontPage 2002 program interface to the HTML view, where you find the "< param name=" samifilename "value >" statement, and set the "Value" property value in the statement to "value = "*.*", where "*.*" indicates the name of the movie that needs to be published online and the relative path where the file is stored. In addition, you can modify the value of several other tags of the statement as needed; 6, of course, if you are very familiar with HTML syntax, you can also open the Web page source code files, to hand-design film playback controller; First, you should include the following fields in the HTML source file: < p > < object classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id= "MediaPlayer1" > < param name= "Filename" Value= "*.*" >//filename represents the movie name, *.* represents the location of the movie file < object > </p > and then saves the page file so that the pagewill be able to insert the playback controller and movies, 7, of course, the above is just the most basic code, in order to better control the movie playback, you would also like to add the following code for playback control in the HTML source file: < param name= "Playcount" value= "a" >//A says repeat the movie several times, such as 0 to let the movie infinite circulation; < param name= "AutoStart" value= "a" >//a indicates whether the movie is played automatically, 1 for AutoPlay, and 0 for the key play; < param Name= "Clicktoplay" value= "A"//a is 1 to control playback or suspend state with mouse click, for 0 is disable this function; < param name= "displaysize" value= "a" >// A is 1 to play the original size < param name= "Enablefullscreen Controls" value= "a"//a to 1 to allow switching to full screen, 0 to prohibit switching; < param name= "Showaudio Controls "Value=" A "//a is 1 to allow the volume to be adjusted, 0 to prohibit adjustment; < param name=" enablecontext menu "value=" a "//a is 1 to allow the right menu, 0 to disable the right-click menu; 8, When you enter the above code correctly, and then save the page file again, and then open the Web page with the browser, you can use the playback controller to play online movies freely in the web.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.