GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 24-Feb-2006, 09:06
Kacyndra's Avatar
Kacyndra Kacyndra is offline
Member
 
Join Date: May 2005
Location: Maryland
Posts: 225
Kacyndra will become famous soon enough

Enbbeded video - suggestion please....


hi,

i'm working on this site right now:
http://xrumxrum.com/video

what i want to do:
when the user clicks on the movie link, it should oopen in a new window
but my videos are in two formats, mpg and wmv.
can i use the same player/code for both?
i don't have flash...


or my other idea - i was going to have a page with a pretty layout and pass the parameters of the video name over to that page, - so play according video.

how can i do that?


any help would be appreciated.

Thanks!
__________________
Xrum!
  #2  
Old 24-Feb-2006, 17:19
Corey Bryant Corey Bryant is offline
Member
 
Join Date: Oct 2003
Location: Castle Rock, CO
Posts: 216
Corey Bryant will become famous soon enough

Re: Enbbeded video - suggestion please....


Check out HTML Music help. Since the MPG / WMV can be played in the Windows Media player, you should be able to use the same code.
  #3  
Old 24-Feb-2006, 17:31
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 749
admin will become famous soon enough

Re: Embedded video - suggestion please....


A few years ago, I was so into videos and putting them on a web server -- don't do that anymore

My notes are probably outdated now but they still exist: http://www.desilva.biz/webdsn/vidstream.html and http://www.desilva.biz/webdsn/vidweb.html.

Enjoy the sample video... it's the only one of me on the WWW but I am behind the camera!
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #4  
Old 27-Feb-2006, 12:44
Kacyndra's Avatar
Kacyndra Kacyndra is offline
Member
 
Join Date: May 2005
Location: Maryland
Posts: 225
Kacyndra will become famous soon enough

Re: Enbbeded video - suggestion please....


here is what i did so far, but i keep getting an error on the site, saying "object expected"

i basically want the video to come out in a new window, for each brick pressed.

Thanks

here is my code. please help

i have a wall and i imagemapped it.
here is a code for one brick:
HTML Code:
<AREA shape="RECT" alt="Tunnel" coords="169,423,238,445 " onmouseover="ShowHint('Tunnel')" onmouseout="HideHint('Tunnel')" onclick="openindex('http://xrumxrum.com/video/Bloop.wmv')">

the showhint, and hidehint works
the onclick part is newly added.... and is not working

here is the openindex function:

JAVA Code:
<script language="javascript" >
	function openindex(videoName)
    {   
        OpenWindow=window.open("", "newwin", "height=200,width=285,toolbar=no,scrollbars="+scroll+",menubar=no");
        OpenWindow.document.write("<TITLE>My Embedded Video</TITLE>")
        OpenWindow.document.write("<BODY BGCOLOR=000000>")
        OpenWindow.document.write("<embed name="RAOCXplayer" src="videoName" type="application/x-mplayer2" width="400" height="302" 
		ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" 
		pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/"></embed> ")
        OpenWindow.document.write("</HTML>")
	 OpenWindow.document.close()
        self.name="main"
    }
    
</script>


please help....
i'm VERY frustrated with this.

dont' know what i'm doing wrong...


oh yea, i forgot to say

Code:
(<embed name="RAOCXplayer" src="http://xrumxrum.com/video/Bloop.wmv" type="application/x-mplayer2" width="400" height="302" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/"></embed>
this part by itself works fine...... but not in the function
__________________
Xrum!
  #5  
Old 28-Feb-2006, 08:28
Kacyndra's Avatar
Kacyndra Kacyndra is offline
Member
 
Join Date: May 2005
Location: Maryland
Posts: 225
Kacyndra will become famous soon enough

Re: Enbbeded video - suggestion please....


i have looked around, and found this:

the question was do imagemaps support onClick?

"Yes, an imagemap should support onClick. If they support onMouseover, they'll support onClick. But it won't work, because onMouseOut will trigger it to disappear again. You'll have to build a function that will set a state using onClick, and check that state before performing the onMousOut function. I'm not an expert on JavaScript


i don't know how to do this, pleast help.....
__________________
Xrum!
 
 

Recent GIDBlogA Week in Kuwait by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing yuv video file with mfc momopeachgal MS Visual C++ / MFC Forum 1 29-Jul-2005 13:38
Checking source codes of image, audio and video files onauc C Programming Language 5 26-Feb-2005 21:47
I need a reliable audio video webhost onauc Web Hosting Forum 1 20-Dec-2004 09:28
MPG video playback problem minimustangs Computer Software Forum - Windows 2 18-Oct-2004 15:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:25.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.