[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

RealPlayer Audio & Video

Posted on 2004-10-20
10
Medium Priority
?
301 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

649 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