Solved

RealPlayer Audio & Video

Posted on 2004-10-20
10
297 Views
Last Modified: 2010-04-09
Hi people. i have a webcasting server in my office. and i need to share audio & video in a webpage live..


the video is only one. but i need if the people click in link 1 the video appears in english  and if the people click in other link the video appears in spanish.

i do in the past. but i miss the webpage for that.
0
Comment
Question by:pablouruguay
  • 5
  • 4
10 Comments
 
LVL 6

Expert Comment

by:superm401
ID: 12516118
Do you have separate files for the dialogue and video?
0
 
LVL 14

Author Comment

by:pablouruguay
ID: 12564341
yep. i wrong when i accept this question because y click in accept behalf submit :( my comment. here my comment


i have separated 2 comments and 1 video. i need to join this 3 things

the video with spanish audio
the video with english audio

0
 
LVL 6

Expert Comment

by:superm401
ID: 12564743
What files do you currently have the media in?  (I.E. avi, wav, wma?)
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 14

Author Comment

by:pablouruguay
ID: 12564778
is broadcasting
0
 
LVL 6

Expert Comment

by:superm401
ID: 12600147
Am I correct that you have one video stream and two audio streams, and you want to let one link open the video with english and the other open the video with Spanish?
0
 
LVL 14

Author Comment

by:pablouruguay
ID: 12603259
yes
0
 
LVL 6

Expert Comment

by:superm401
ID: 12618671
<!--

Try this out:
NOTE: You must change the filenames where applicable, I.E. spanish.rpm...,
Tell me how it works out.

Also, put the top script in the head, and the rest in the body, in the order shown.

-->

<SCRIPT type="text/javascript">
function playSpanish()
{
       var spanembed=document.createElement("EMBED");
       var bodytag=document.getElementsByTagName("BODY");
       bodytag=bodytag[0];
       spanembed.setAttribute("src","spanish.rpm")//change spanish.rpm to spanish src
       spanembed.setAttribute("style","visibility:hidden");
       spanembed.setAttribute("name","spansound");
       bodytag.appendChild(spanembed);
       video.doPlay();
       spansound.doPlay();
}
function playEnglish()
{
       var spanembed=document.createElement("EMBED");
       var bodytag=document.getElementsByTagName("BODY");
       bodytag=bodytag[0];
       spanembed.setAttribute("src","english.rpm")//change english.rpm to spanish src
       spanembed.setAttribute("style","visibility:hidden");
       spanembed.setAttribute("name","spansound");
       bodytag.appendChild(spanembed);
       video.doPlay();
       spansound.doPlay();
}
</SCRIPT>
<BODY>
<EMBED src="movie.rpm" width=100 height=100 name="video">
<SCRIPT>
video.doStop();
</SCRIPT>
<A HREF="void(0)" onClick="playEnglish()">Click here to play in English</A>
<BR>
<A HREF="void(0)" onClick="playSpanish()">Click here to play in Spanish</A>
</BODY>
0
 
LVL 6

Accepted Solution

by:
superm401 earned 500 total points
ID: 12618745
<!--
I MEAN

Try this out:
NOTE: You must change the filenames where applicable, I.E. spanish.rpm...,
Tell me how it works out.

Also, put the top script in the head, and the rest in the body, in the order shown.

-->

<SCRIPT type="text/javascript">
function playSpanish()
{
       var spanembed=document.createElement("EMBED");
       var bodytag=document.getElementsByTagName("BODY");
       bodytag=bodytag[0];
       spanembed.setAttribute("src","spanish.rpm")//change spanish.rpm to spanish src
       spanembed.setAttribute("style","visibility:hidden");
       spanembed.setAttribute("name","spansound");
       bodytag.appendChild(spanembed);
       video.doPlay();
       spansound.doPlay();
}
function playEnglish()
{
       var spanembed=document.createElement("EMBED");
       var bodytag=document.getElementsByTagName("BODY");
       bodytag=bodytag[0];
       spanembed.setAttribute("src","english.rpm")//change english.rpm to spanish src
       spanembed.setAttribute("style","visibility:hidden");
       spanembed.setAttribute("name","spansound");
       bodytag.appendChild(spanembed);
       video.doPlay();
       spansound.doPlay();
}
</SCRIPT>
<BODY>
<EMBED src="movie.rpm" width=100 height=100 name="video">
<SCRIPT>
video.doStop();
</SCRIPT>
<A HREF="javascript:void(0)" onClick="playEnglish()">Click here to play in English</A>
<BR>
<A HREF="javascript:void(0)" onClick="playSpanish()">Click here to play in Spanish</A>
</BODY>
0
 
LVL 14

Author Comment

by:pablouruguay
ID: 12731045
yep this solution work for me. but is a little slow the connection. but i dont care thanks a lot superm.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question