Closed Thread Icon

Preserved Topic: embedded objects... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18455" title="Pages that link to Preserved Topic: embedded objects... (Page 1 of 1)" rel="nofollow" >Preserved Topic: embedded objects... <span class="small">(Page 1 of 1)</span>\

 
DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 10-17-2001 23:54

Ok, where to start...
I'm trying to set up sort of a "playlist" for a series of waw-files (one or many).
To play these I want to either use the embedded object for it, you know, the little control-panel (I know how to get that up and running).
Now, how do I get the documentation on the object itself? It's (naturally) different in NS & IE...

I'll explain why, since I might have a list with several waw files that I can mark one or more to listen to, I would like to be able to loop through the document.embeds[] array, to play them in series, after each other, and show the right control panel for the file playing, alternatively hide the control panels and replace it with links.

What I need to find is if these embeds have any parameters except "start/run/play/stop" whatnot that I can work with from javascrip, more specific at first, do they return anything as the file has ended/stopped playing that I can detect?

Where would I find documentation like this, who makes these little buggers???
As for the code, I have a pretty good idea on how to handle that so that's not the issue right now.

Thankful for all tips!
/Dan


-{ a vibration is a movement that doesn't know which way to go }-

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-18-2001 00:05

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-18-2001 00:07

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-18-2001 00:12

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 10-18-2001 00:15

Essentially the issue is that Object is supported by IE and Embed by Netscape.

The tried and true method is to place the Embed code within the Object tag and essentially use both. Both browsers should ignore the unsupported tag and just use the supported tag.\

The tags needed really depend on the object. I'm a little confused what the "embedded object" is that you are using is.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 10-18-2001 09:00

Thank you very much InI (where do you get this stuff?)

bitdamaged:
The object/plugin I was testing with is the one that controls sound?!?!?
this is the code, I havn't got the foggiest on who made this, it turns up as another plugin/java kind of thing with the same functions in NS :

code:
<EMBED NAME='CS1003237447369' SRC='wawfiles/andymail.wav' LOOP=false 
AUTOSTART=false MASTERSOUND HIDDEN=false WIDTH=150 HEIGHT=40>
</EMBED>


If that tells you what plugin this actually is...
/Dan



-{ a vibration is a movement that doesn't know which way to go }-

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-19-2001 19:02

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 10-20-2001 13:48

InI, I've tried .start() .run() .play() .stop() and more... It works differently on the javaplugin for NS and IE. This probably won't be a problem.

The thing is that I'd really like to find some documentation on this.
You can make DW add crossbrowser code to start these controls, but for one, I'm not human enough to read that code... then I'd like to be able to get "callbacks" from the controls that tell me if a clip has stopped or is running, this to use in javascript.

Currently I'm looking at a combo of embedded RealPlayer and MediaPlayer to handle these files.
For realplayer, there's no problems, they provide good documentation on adding and controlling your own embedded customized player.
For MediaPlayer... I've been all over M$.com for their documentation on Mediaplayer, it's there, but it's so bleeding IE-specific (surprise...).

As for the embed-name... Well, sure, I can change it, the funny thing is that if I change the name to "player1" and then use "document.embeds["player1"].play()" in all places instead, the friggin external Mediaplayer kicks open outside the page!
While if I keep the orig name, it plays embedded...
Not a problem at this point, just annoying.

At this point there is no code to post, i'm just in a testing phase, I'll get back later as it starts to take form.
Thanx for the help so far, I'll simply dig deeper...
/Dan


-{ a vibration is a movement that doesn't know which way to go }-

[This message has been edited by DmS (edited 10-20-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu