?
Solved

RealPlayer Audio & Video

Posted on 2004-10-20
10
Medium Priority
?
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Suggested Courses

800 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