Home  >  Article  >  Web Front-end  >  Why does the SWF video inserted into the web page have no buttons for start, pause, fast forward or anything else_html/css_WEB-ITnose

Why does the SWF video inserted into the web page have no buttons for start, pause, fast forward or anything else_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:04:022576browse

  2c1c01fe3da5b45638b932defb4b63fc
100db36a723c770d327fc0aef2ce13b1
  93f0f5c25f18dab9d176bd4f6de5d30e
    b2386ffb911b14667cb8f0f91ea547a7wangyeshiping.html6e916e0f7d1e588d4f442bf645aedb2f

    e23732a997b2f94502e9b136641285c0
    785303807f2b5b6e8472a0e3369a77ef
    15aeaaf17b3246387b68d2a2e41107e3
    
    048ba22bf75e648829c3a0f76e559c4b-->

  9c3bca370b5104690d9ef395f2c5f8d1
  
  6c04bd5ca3fcae76e30b72ad730ca86d
f72c63eee438bea198d630e7c992a9b1
a9c84c70488be25b805b19249a1dd502
ba4144cd45fc2283330f96d750acf61e
154d210bba28a9dbc23d358c17b6557f
24aa1cb4a3ddba2398d43f7a4e640920
6b9b873334b9923f0d43a30aee7e7f76
4dd31068bf220ff9da7a2b5fbd47a26a 
eb50c9ec568c9b96871b9e94a1ff3fd1
  36cc49f0c466276486e50c850b7e4956
73a6ac4ed44ffec12cee46588e518a5e

就只有光秃秃的一个播放 无语了 求教啊


回复讨论(解决方案)

http://www.woiweb.net/21-free-video-players-for-your-website-and-blogs.html

先做一个与你的代码相似的.htm文件。比如命名为Flash_controller.htm,代码如下:(具体长宽与背景自己修改)

<html><head><title>Macromedia Flash (SWF)</title></head><body bgcolor="#FFFFFF"><!-- saved from url=(0053)http://www.zhcw.com/lottery/db_table_last_200_asc.htm --><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="1024" height="785" id="myMovieName"><param name="movie" value="Flash_controller.swf?csConfigFile=Flash_controller.xml"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF"><param name="FlashVars" value="csConfigFile=Flash_controller.xml"><embed src="Flash_controller.swf?csConfigFile=Flash_controller.xml" FlashVars="csConfigFile=Flash_controller.xml" quality=high bgcolor=#FFFFFF width=1024 height=785 type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer"></embed></object></body></html>

从上代码中看出,还要建一个Flash_controller.xml文件,代码如下:
<config><AutoStart>1</AutoStart><MovieWidth>1024</MovieWidth><MovieHeight>768</MovieHeight><BackgroundColor>FFFFFF</BackgroundColor><MovieURL>01.swf</MovieURL><ShowLoadingMov>0</ShowLoadingMov><LoadingMovURL></LoadingMovURL><ScaleLoadingMov>1</ScaleLoadingMov><LoadingMovPercentToLoad>50</LoadingMovPercentToLoad><LoadingMovMinDuration>3</LoadingMovMinDuration><ControllerColor>C0C0C0</ControllerColor><ShowFFRW>1</ShowFFRW><ShowAbout>1</ShowAbout><AboutBoxText></AboutBoxText><TimeDisplayFormat>MM:SS</TimeDisplayFormat><ShowDuration>1</ShowDuration><ShowElapsedTime>1</ShowElapsedTime><TimeDisplayFont>Arial</TimeDisplayFont><TimeDisplayFontColor>000000</TimeDisplayFontColor></config>

01.swf就是你要播放的文件。
至于Flash_controller.swf是一个有常用按钮与进度条的swf播放器。在下个回复帖子中给出下载地址。

我刚刚试过了 你那个不行啊 我页面上什么也没有啊 无语了

再下载Flash_controller.swf,是一个有常用按钮与进度条的swf播放器。 下载地址
把Flash_controller.htm、Flash_controller.swf、Flash_controller.xml、你要播放的01.swf文件放在一个目录下。点击Flash_controller.htm就可以播放01.swf,并有按钮:开始、暂停、停止、进度条。

但你已结贴了。可能不会再看了。

   呵呵 谢谢你的回复啊 我看到了

lz 这么有爱的说

看了 kmokd 回复 xiebibolove 的帖子,受益匪浅,我也正为swf视频播放犯愁呢,在网上搜了无数,均无人提到如何做,昨天照 kmokd 仁兄说的做了,很实用,欣喜之余,还有问题赐教:
一是能否给出参数的作用和说明以及还有其它更多参数否?
二是播放控制条似乎只能随视频大小而改变,这样视频小的时候控制条非常小,能否单独改变控制条的大小及外观样式?另外就是播放进度数字显示无变化。

谁教教我 啊  我QQ422844738 我也是解决不了 这个问题 求解

为啥我按照kmokd 说的 ,怎么看不到啊,求赐教啊

为啥我看招4楼的方法 不行啊,求赐教

4楼方法可以用

可是不好用

点停止按钮后为什么声音不停止

According to the method on the 4th floor, why is it all blank? There is a progress bar, but the video area is completely blank. When I right-click, it seems that the video is playing but I can’t see it.

Thank you, 4th Floor Yes, for reference, haha,

Is anyone still paying attention to this post? Is there a good solution?

Follow, I also encountered the same problem, I don’t know the original poster Is it solved?

I tried it, but the method on the fourth floor doesn’t work.

The method on the 4th floor is feasible, but there seems to be a small problem with the video position. I need to find out the reason, thank you.

Is it feasible? It’s all blank, please please~~~~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn