Unreal Media Server Forum Index Unreal Media Server
ATTENTION! THIS FORUM IS READ ONLY AS OF SEPTEMBER 1 2009.

PLEASE POST QUESTIONS TO OUR NEW FORUM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Javascript and the activex properties

 
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Web publishing - ActiveX control and Cross-Browser plugin
View previous topic :: View next topic  
Author Message
moco



Joined: 19 Jul 2007
Posts: 2
Location: Paris France

PostPosted: Fri Jul 20, 2007 9:20 am    Post subject: Javascript and the activex properties Reply with quote

Hello everybody,
First of all many thanks to allow us to use such a good streaming system at no cost.
I'm a new registered user but I've embeded Unreal Media Server in the HTML pages of my personal intranet for now almost three years (version 3.0) in a basic way (no use of sophisticated methods and properties but just start/stop and fullscreen setup).
I've jumped to version 5.0 which works fine and instead of using controls via the flow control bar and the right click I decided to use the relevant methods and properties via javascript and a personal GUI.
I got no problem for methods but at this time I'm not able to make properties working fine, either it is inoperative or the player does not work at all.
Let me show how I try to use the properties for example to get the name the media currently playing:

var nom = "";
var o;
var o = document.getElementById("player");
result = o.get_MediaName(nom);

or

var nom = "";
var pobj = new PlayerObject("player");
pobj.object = document.getElementById("player");
result = pobl.get_MediaName(nom);

I make probably an enormous mystake but after searching a lot internet and the users forum I did not get any information regarding the way to use the activex properties via Javascript.

So if any one of you is able to help it would be great.

Thanks by advance.
_________________
Present is already behind you
Back to top
View user's profile Send private message
Admin
Site Admin


Joined: 04 Aug 2006
Posts: 488

PostPosted: Fri Jul 20, 2007 10:59 pm    Post subject: Reply with quote

Take a look at the SDK package that has sample web pages doing similar things.

Admin
Back to top
View user's profile Send private message Send e-mail
moco



Joined: 19 Jul 2007
Posts: 2
Location: Paris France

PostPosted: Tue Jul 24, 2007 2:50 pm    Post subject: Reply with quote

Hi,

Many thanks to help me but I spent hours to find and try some samples in the SDK files, but nothing found which works regarding my problem.

I remind you my problem, I want to get the information related to the current playing media (MediaName, TotalTime, ...) using the activex properties from a web page and javascript.

Thanks again.
_________________
Present is already behind you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Web publishing - ActiveX control and Cross-Browser plugin All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group