1
noone
news module help
  • 2008/1/21 21:42

  • noone

  • Just popping in

  • Posts: 53

  • Since: 2006/9/30


hello,

I use News module (version 1.44), it's a great module, I lik it.

But I have one request for this module.

When I post news on my web sometimes I need to use JavaScript but It never allows javascript, I am not sure if it is disabled by default or something else. I know it works with java if I put it directly at the .php page but I need to put it directly when I post the module together with the other text.

For instanse sometimes I need to post this code in order to play the video (it is java code) but I cannot play it.

It works when I test it locally, but doesnt when I put post it with the news module:

<script type="text/javascript" src="http://www.argetimi.net/media_player/swfobject.js">script>

<
div id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the flash plugina>div>

<
script type="text/javascript">
var 
so = new SWFObject('http://www.argetimi.net/media_player/mediaplayer.swf','mpl','470','255','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width','470');
so.addVariable('height','255');
so.addVariable('file','http://www.argetimi.net/klipe/ushtrimore.flv');
so.write('player');
script>


You can check it here:

http://www.argetimi.net/modules/news/article.php?storyid=495


Maybe java is disabled by default. Is there any possibility to enable it (javascript) in order to read java (or the video player in this case).

I would be thankful if somebody helps
Thank you in advance

2
noone
Re: news module help
  • 2008/1/21 23:44

  • noone

  • Just popping in

  • Posts: 53

  • Since: 2006/9/30


or if anyone has any idea how to integrate this video player (JW Media Player) with News module on xoops.

It would be great if it is integrated with News, and when you need to post text and show an video with that text to be able to put it throught this player

Thank you

3
maltan
Re: news module help
  • 2008/3/7 11:01

  • maltan

  • Just popping in

  • Posts: 4

  • Since: 2004/12/13


I wonder if anyone ever succeeded in using SWFObject with Xoops?

Seems like it will not work, the swfobject javascript doesn't get executed at all.

Login

Who's Online

169 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

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

Latest GitHub Commits