1
madkidz
Embedded windows media player
  • 2007/3/8 12:21

  • madkidz

  • Just popping in

  • Posts: 17

  • Since: 2007/3/7 1


XOOPS Version: 2.0.16
Module Name/Version: Tiny Editor/version 1
PHP Version: 4.4.4
MySQL Version: 4.0.27-log
Web Server Software (Apache/IIS/Other): Apache/1.3.37 (Unix)
Operating System: xp
Theme you are using: mh6
Custom template: (Yes/No) no
PHP Debug Messages: Don’t know how to get
MySQL Debug Messages: Don’t know how to get
Smarty Debug Messages: Don’t know how to get
when I use the WYSIWYG (Tiny Editor version 1) and try to embed windows media player it wont show the player. It only shows it as a text on the page. I have tried using all the content types & none will give the correct results. I am using a code similr to this embed src="http://media.365webradio.com:8181/tribestar" height="240" width="240"></embed
I left of the <&> so it wont show the player.
. I was told I needed to use edit html icon, but when I open it up, I don’t know what to do. What I see is this <span style="font-size: 12pt; font-family: "Times New Roman""><embed src="http://media.365webradio.com:8181/tribestar" height="240" width="240"></embed ></span>
When I go to the tiny editor module this is what it has in red
WARNING: The tinyeditor/include/ftpconfig.php is writable. You should write-protect this file. chmod 444 on Linux.
WARNING: The tinyeditor/include/ftpconfigchmod.php is writable. You should write-protect this file. chmod 444 on Linux.
WARNING: The tinyeditor/include/ftpconfigplugin.php is writable. You should write-protect this file. chmod 444 on Linux.

I am a novice when it comes to these things. Please advice as if it’s a 5 year old you are talking to.

2
Anonymous
Re: Embedded windows media player
  • 2007/3/8 12:34

  • Anonymous

  • Posts: 0

  • Since:


Hi,

I can help with this bit:

Quote:
madkidz wrote:
>
When I go to the tiny editor module this is what it has in red
WARNING: The tinyeditor/include/ftpconfig.php is writable. You should write-protect this file. chmod 444 on Linux.
WARNING: The tinyeditor/include/ftpconfigchmod.php is writable. You should write-protect this file. chmod 444 on Linux.
WARNING: The tinyeditor/include/ftpconfigplugin.php is writable. You should write-protect this file. chmod 444 on Linux.


Using the FTP tool that you used to upload your files onto the server (I use CuteFTP), navigate to the files mentioned above.

You need to select the file and change the CHMOD setting to "read only", which is 444 on a Linux server.

In CuteFTP, this is done by right-clicking on the file and selecting CHMOD from the menu. Your FTP software could be different but the principal will be the same.

This is meant to enhance the security of your set up, it won't help with the embedding issue. Sorry.

3
madkidz
Re: Embedded windows media player
  • 2007/3/8 13:18

  • madkidz

  • Just popping in

  • Posts: 17

  • Since: 2007/3/7 1


Thanks for your help on that. One question. I normally access the site thru mew IE browser. I have ws ftp but rarely use it.

4
Anonymous
Re: Embedded windows media player
  • 2007/3/8 13:43

  • Anonymous

  • Posts: 0

  • Since:


Do you use WS FTP to upload new/updated modules and other files? If so then use that to access the files on the server and set the CHMOD for those files.

You won't be able to do that using a web-browser.

5
madkidz
Re: Embedded windows media player
  • 2007/3/8 23:24

  • madkidz

  • Just popping in

  • Posts: 17

  • Since: 2007/3/7 1


Quote:

JAVesey wrote:
Do you use WS FTP to upload new/updated modules and other files? If so then use that to access the files on the server and set the CHMOD for those files.

You won't be able to do that using a web-browser.


Ok Thanks.
Does anyone knows how to solve the embedded problem.

6
Peekay
Re: Embedded windows media player
  • 2007/3/8 23:47

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Most WYSIWYG editors have a habit of 'correcting' your input. This can make it very difficult to embed Flash movies, JavaScripts and (I assume) Windows Media files using a WYSIWYG editor. Often they trash your code even if it is perfectly valid.

You could use an iFrame or a module like Pagewrap to include an external HTML file containing the required code, verbatim.

If you can live without embedding, I think there are a couple of multimedia modules that may be able to present Windows Media files.
A thread is for life. Not just for Christmas.

7
bleu_
Re: Embedded windows media player
  • 2007/3/9 0:09

  • bleu_

  • Just popping in

  • Posts: 32

  • Since: 2006/8/1 2


with HTML view you can insert any wmv file like this:
<div align="center">
  <
object width="320" height="286" id="MediaPlayer" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
    <
param name="filename" value="http://pathtoyourmovie.wmv" />
    <
param name="Showcontrols" value="True" />
    <
param name="autoStart" value="True" />
    <
embed width="320" height="240" type="application/x-mplayer2" src="http://pathtoyourmovie.wmv" name="MediaPlayer" />  </object>
</
div>


you set the height and width you want and the path where your file is you can also set the parameters to true or false to what with you want. (tested with Koivi checking the HTML view)

8
madkidz
Re: Embedded windows media player
  • 2007/3/9 14:32

  • madkidz

  • Just popping in

  • Posts: 17

  • Since: 2007/3/7 1


Thanks I have done exactly that and it doesnt work. Do you thing my module is corrupted.

9
madkidz
Re: Embedded windows media player
  • 2007/3/9 14:42

  • madkidz

  • Just popping in

  • Posts: 17

  • Since: 2007/3/7 1


Quote:

Peekay wrote:
Most WYSIWYG editors have a habit of 'correcting' your input. This can make it very difficult to embed Flash movies, JavaScripts and (I assume) Windows Media files using a WYSIWYG editor. Often they trash your code even if it is perfectly valid.

You could use an iFrame or a module like Pagewrap to include an external HTML file containing the required code, verbatim.

If you can live without embedding, I think there are a couple of multimedia modules that may be able to present Windows Media files.


Just seeing this. Thanks. I will look into it.

10
svaha
Re: Embedded windows media player
  • 2007/3/9 21:38

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


As far as I know koivi editor has no problem with embedding : http://www.alohaspirit.nl/modules/new ... hp?topic_id=2443&forum=12

I don't know exactly what you want, but you could also (maybe) use a module that's made for this, I'm testing xmovie at the moment : http://www.amevita.eu/modules/x_movie/

Or a specific module like xstreamer that is suitable for flv files. http://www.amevita.eu/modules/xstreamer/

Login

Who's Online

59 user(s) are online (33 user(s) are browsing Support Forums)


Members: 0


Guests: 59


more...

Donat-O-Meter

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

Latest GitHub Commits