User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,713 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,435 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 7179 | Replies: 3
Reply
Join Date: Jan 2006
Posts: 2
Reputation: SynReaper is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
SynReaper SynReaper is offline Offline
Newbie Poster

Javascript Video Control Resources

  #1  
Jan 22nd, 2006
I have been searching for what seems to be forever now for an all-inclusive resource site that can provide information on embedded video controls using javascript. I have seen many sites that use javascript to control such video functions as play, stop, subtitling, and first-frame image. Can anyone possibly direct me to a source that has a complete list of all javascript calls to every video function and property? I know that there aren't any standards for javascript other than the ECMAs and there is probably different calls between IE and NS, but I need a starting point to do some research.

Thanks in advance all !
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: Ohio
Posts: 204
Reputation: plazmo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Javascript Video Control Resources

  #2  
Jan 24th, 2006
could you please give an example of a site?
Reply With Quote  
Join Date: Jan 2006
Posts: 2
Reputation: SynReaper is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
SynReaper SynReaper is offline Offline
Newbie Poster

Re: Javascript Video Control Resources

  #3  
Jan 24th, 2006
Originally Posted by plazmo
could you please give an example of a site?

______________________________________________

well, firstly, you can look at Cnet.com's video section to see a flash version that everyone seems to be using since macromedia/adobe provides a simple solution if you purchase thier extremely expensive product, but there also exists a html/javascript version without all this insane overhead at cbsnews.com. the vid section of cbsnews is at the right-side of the page and is controlled only with javascript. the project that i'm working on can't afford for the overhead of flash or any other 3rd-party solution so I am stuck with Javascript controlling. I took a look through MSDN for the Windows Media Player object to find a complete list of functions and properties that can be set from outside the application, but came up short again.

Thanks again for any assistance all !
Reply With Quote  
Join Date: Aug 2005
Location: Ohio
Posts: 204
Reputation: plazmo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Javascript Video Control Resources

  #4  
Jan 24th, 2006
well i found what you want, i accidently stumbled on it while looking up some other things.

the url is http://msdn.microsoft.com/library/de...ages__etse.asp


example:

<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player 7 Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="Player" width="320" height="240"
  CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
  <PARAM name="URL" value="http://WebServer/MyFile.wvx">
  <PARAM name="uiMode" value="none">
</OBJECT>
<BR>
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">
<SCRIPT>
<!--
   function StartMeUp ()
   {
       Player.controls.play();
   }

   function ShutMeDown ()
   {
       Player.controls.stop();
   }
-->
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--
 On error resume next
   Player.URL = ""
   if err then msgbox "You need Windows Media Player 7. Go to" & chr(13) &_
        "http://www.microsoft.com/windowsmedia"
     err.clear
-->
</SCRIPT>
</BODY>
</HTML>
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 3:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC