1
skbc-web
SWF Files in Debaser 0.92
  • 2007/10/14 17:47

  • skbc-web

  • Just popping in

  • Posts: 2

  • Since: 2007/10/14


I am building a new site for my church using Xoops. One of the multimedia files my paster wants on the site is a .swf file for our adult bible study class. I have gotten the file to play, but not automatically. When you visit the site, you get a play is button under the heading for Lifestages. When you press play it, the file plays properly, but what we really want is the swf file to play automatically when the site is loaded. Unforutnately, I don't have the original source for the swf, or I would add a rewind/play to the file.

Is there any code that I can put in debaser to make it rewind/play, or would webshow be a better option for this problem?

2
tcnet
Re: SWF Files in Debaser 0.92
  • 2007/10/15 1:21

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You don't really need either module unless you have many files to show. You can bypass the Play button and autostart the file by creating a custom html block containing your embed code.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="150" width="160">
<
param name="movie" value="http://yoursite/yourfile.swf" />
<
param name="quality" value="best" />
<
param name="play" value="true" />
<
embed height="150" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://yoursite/yourfile.swf" type="application/x-shockwave-flash" width="160" quality="best" play="true" />
object>

3
skbc-web
Re: SWF Files in Debaser 0.92
  • 2007/10/17 20:28

  • skbc-web

  • Just popping in

  • Posts: 2

  • Since: 2007/10/14


Thank you for the code. It worked exactly as we had wanted it to.

4
tcnet
Re: SWF Files in Debaser 0.92
  • 2007/10/17 21:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Your welcome, I'm glad to hear it was helpful.

Login

Who's Online

363 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 363


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits