Solved

RealPlayer Audio & Video

Posted on 2004-10-20
10
294 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
Comment Utility
Do you have separate files for the dialogue and video?
0
 
LVL 14

Author Comment

by:pablouruguay
Comment Utility
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
Comment Utility
What files do you currently have the media in?  (I.E. avi, wav, wma?)
0
 
LVL 14

Author Comment

by:pablouruguay
Comment Utility
is broadcasting
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 6

Expert Comment

by:superm401
Comment Utility
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
Comment Utility
yes
0
 
LVL 6

Expert Comment

by:superm401
Comment Utility
<!--

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
Comment Utility
<!--
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
Comment Utility
yep this solution work for me. but is a little slow the connection. but i dont care thanks a lot superm.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now