原帖由 totoromehk 于 2006-8-1 13:32 发表
请问怎样更改预设自动播放与否及大小声??
- -----------------------------------------------------
- Flash FLV Videoplayer for
- "Hillman Curtis on Creating Short Films for the Web"
- Author: Jens Loeffler - jens@flashstreamworks.com
- http://www.flashstreamworks.com
- -----------------------------------------------------
- Installation instructions:
- 1) Go to the folder "player"
- 2) Use a texteditor to open the index.html file
- <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="400" id="fullscreen" align="middle">
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="movie" value="movieplayer.swf" />
- <param name="quality" value="high" />
- <param name="salign" value="tl" />
- <param name="bgcolor" value="#ffffff" />
- <param NAME=FlashVars VALUE="vidpath=ENTER_YOUR_FLV_FILENAME_HERE">
- <embed src="movieplayer.swf" FlashVars="vidpath=ENTER_YOUR_FLV_FILENAME_HERE" quality="high" salign="tl" bgcolor="#ffffff" width="480" height="400" name="fullscreen" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
- </object>
- </center>
- 3) Replace ENTER_YOUR_FLV_FILENAME_HERE with your file name (e.g. myvideo.flv).
- 4) Change the width and the height information to reflect your video size. Make sure you replace it in both locations (line 1 and line 8).
- NOTE: ADD 20 PIXEL TO THE HEIGHT OTHERWISE THE VIDEO CONTROLS WILL BE CUT OFF. (e.g. 320 x 240 video should have the size 320 x 260)
-
- 5) Upload the movieplayer.swf and the index.html file to your server.
- If you are an experienced Flash developer, feel free to use the code for your own projects. The source files are included in the folder "source".
- ----------------
- DISCLAIMER:
- This software is provided by Flashstreamworks for full, free and open release. It is understood by the recipient/user that Flashstreamworks assumes no liability for any errors contained in the code. Although this software is released without conditions or restrictions in its use, it is expected that appropriate credit be given to its author should the software be included by the recipient as an element in other product development.
复制代码
1.flv是自动播放的.所以你参照你的 swf代码,如果你的swf代码可以预设声音大小和自动播放的话。那么这个代码你也可以改.
[ 本帖最后由 result 于 2006-8-1 14:30 编辑 ] |