Popup fields rendered behind video player applet
Hi,
We are embedding a video player using Windows media player. The code is like:
<object id="MediaPlayer4" width="302"
height="165"
classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Windows Media Player components..."
type="application/x-oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
style="margin:11.0px;">
<param name="filename"
value="${pageFlowScope.newAssetBean.asset_preview_url}"/>
<param name="Showcontrols" value="True"/>
<param name="autoplay" value="false"/>
<param name="autoStart" value="0"/>
<embed type="application/x-mplayer2"
src="${pageFlowScope.newAssetBean.asset_preview_url}"
width="302" height="165"
autostart="false"></embed>
</object>
Once a popup is shown above this player, the fields in the popup get behind the embedded player.
How do we fix this?
Hi,
not knowing your JDeveloper version, there is known bug for 11g R2 --> bug 13492597. It seems that this is fixed in a backport for 11.1.1.6
Frank
Similar Messages
-
It explains things on my end. I hope you guys are not in on this. It's intrusive and rather pushy at that. I don't feel I should have to download another video player. The name of the company is updatevideos<i></i>.com. I went there and it took me to api<i></i>.adrenalads<i></i>.com and then to mojopages<i></i>.com!!! If some lumphead is trying to get over on me , I ain,t buyin'!!!
THANKS, AndyHi rimshot69, did you check for an extension in Firefox? To see whether one of those might be involved, you could try one of the following:
(1) Manually Disable ALL nonessential and/or unrecognized extensions on the following screen. If in doubt, disable:
orange Firefox button (or Tools menu) > Add-ons > Extensions category
Then restart Firefox using the handy links provided for that purpose and see whether the messages stop.
(2) Test in Firefox's Safe Mode
That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using
Help > Restart with Add-ons Disabled
Any difference?
You also may want to run some supplemental scans. These three tools are highly regarded (and free):
* Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
* SUPERAntiSpyware : http://www.superantispyware.com/
* AdwCleaner : http://www.bleepingcomputer.com/download/adwcleaner/ ''(ignore banner ads for other products)'' -
Smart Script Player Applet (Player Only) Problem ...
Hi all!
We are trying to make our SmartScript opens automatically when a user navigates to a particular view. We followed the following steps:
* Using Siebel tools:
1) Create a new view.
2) Add "Smart Script Player Applet (Player Only)" to it.
3) Add the view to an existed screen and other needed steps.
* Using Siebel web client:
1) Associate the view with the Smartscript.
When we tried to invoke it, we couldn't see the questions :S and when we pressed "Finish" a message appeared indicating that there are a required fields that must be answered before.
Taking into considerations that when invoking the smartscript from the user interface it works correctly!
Can anyone help us of how to recognize the error?
Thanks in advance.
Kind regards,
Tamara.
Edited by: 952870 on Aug 27, 2012 7:36 AMHi Tamara,
You seem to have followed the steps as per bookshelf:
http://docs.oracle.com/cd/E16348_01/books/SmartScript/SmartScriptExeTestSS6.html#wp1008662
I guess you have added the new view to the user's responsibility etc?
I sometimes add a list applet to the same view just to test that the view is working and renders correctly. This just rules out any SS player issues
Thanks
Andy -
An image changing to FLV Video Player in AJAX Update Panel
Hi,
I'm trying to design part of a website can seen as video gallery. I have videos related to subcategories; and subcategories that related to categories.
I was using popups but now want to change it. Simply, firstly there are images and descriptions(in an update panel) of videos on page. After clicking thumbnail, the region includes thumbnail and description wil be changed to FLV video player.
Outside of updatepanel player is working good. but when i move it into updatepanel; doesn't working in IE. Because JS code (AC_FL_RunContent(.....)) is not working in updatepanel. Tried another script (like alert('hello!');), it's working. I think i have problem with the function named AC_FL_RunContent(...). It's working as i want, if open page with Firefox.
Looked for this in google. Visited many pages, but never find a solution for this nor source of problem. I hope someone can help me
Using ASP.Net. I'm attaching my tree structure and codes below:
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" //www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<
html xmlns ="http://www.w3.org/1999/xhtml">
<
head id="Head1" runat="server">
<title>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css"/>
<script type ="text/javascript">
function
MM_CheckFlashVersion(reqVerStr,msg){
with (navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
if (flashVer < reqVer){
if(confirm(msg))
window.location = http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash;
function callFLVP(){
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=./VideoGallery/serpende&autoPlay= false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive');
</
script>
<
script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</
head>
<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Literal ID="thumbLiteral" runat="server"></asp:Literal>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="showvideoButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:Button ID="showvideoButton" Text="Video" runat="server" onclick="showButton_Click"/>
</div>
</form>
</
body>
</
html>
Default.aspx.cs
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
thumbLiteral.Text = "<img src id=\"imgThumb\" src=\"./VideoGallery/small/serpende.jpg\" />";
protected void showButton_Click(object sender, EventArgs e)
string strNoScriptBlock = "";
strNoScriptBlock += "<noscript>";
strNoScriptBlock += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"320\" height=\"240\" id=\"Object1\"><param name=\"movie\" value=\"FLVPlayer_Progressive.swf\" /><param name=\"salign\" value=\"lt\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"FlashVars\" value=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=false&a utoRewind=false\" /><embed src=\"FLVPlayer_Progressive.swf\" flashvars=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=fal se&autoRewind=false\" quality=\"high\" scale=\"noscale\" width=\"320\" height=\"240\" name=\"FLVPlayer\" salign=\"LT\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" /></object>";
strNoScriptBlock += "</noscript>";
string strScriptBlock = "";
strScriptBlock += "<script>";
strScriptBlock += "callFLVP();";
strScriptBlock += "</script>";
ScriptManager.RegisterClientScriptBlock(this, typeof(string), "strScriptBlock", strScriptBlock, false);
thumbLiteral.Text = strNoScriptBlock;Let's check this first;
If you have problems with current Shockwave Flash plugin versions then check this:
* see if there are updates for your graphics drive drivers
'''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
* disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
'''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
* disable hardware acceleration in the Flash plugin
'''https://forums.adobe.com/thread/891337'''
See also:
* '''http://kb.mozillazine.org/Flash#Troubleshooting''' -
Hello everyone I am hoping someone here can help me. I am going to school and I have an action scripting class. For my final project we have to make a flash video player with a custom skin to upload to our websites. We did something similar to this with our first project which we made a player where the movies where embedded in the file itself but this is supposed to be a youtube like flash player where we can call in the files from another source.
We kind of got pressed for time and were not able to go into detail with this project so the teacher gave us the code and I put it in exactly how it should be but im pretty sure i have something misplaced or I am missing a step. I get 8 different errors when I go to test the movie. and nothing works. Can someone please tell me what I am doing wrong or can you point me in the direction of a tutorial on this as I have been searching for tutorials on this with no luck.
Here is my Action Script 3.0 CODE:
import fl.video.FLVPlayback;
import fl.controls.List;
var vid:FLVPlayback = new FLVPlayback();
vid.source= "fashion.flv";
addChild(vid);
vid.skin="SkinOverPlayStopSeekMuteVol.swf";
vid.x=100;
vid.y=300;
vid.skinAutoHide="true";
vid.width=500;
vid.height=280;
var vidList:List = new List();
vidList.x= vid.x+10;
vidList.y= 200;
vidList.width=200;
vidList.height=100;
vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
vidList.addItem({label:"Chase Scene",data: "chase.flv"});
vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
addChild(vidList);
vidList.addEventListener(Event.CHANGE,playVid);
function playVid(e:Event):void{
vid.source=e.target.selectedItem.data;
Here is a screenshot of the errors I am receiving.
Please help me
thanks
Message was edited by: BTwardyI don't know if what you posted is all that is in that as file, but you need to declare a package, then call the import statements, then declare the class name. Like this:
package {
import flash.display.Sprite;
import flash.events.Event;
import fl.video.FLVPlayback;
import fl.controls.List;
public class Main extends Sprite {
public function Main() {
var vid:FLVPlayback = new FLVPlayback();
vid.source= "fashion.flv";
addChild(vid);
vid.skin="SkinOverPlayStopSeekMuteVol.swf";
vid.x=100;
vid.y=300;
vid.skinAutoHide="true";
vid.width=500;
vid.height=280;
var vidList:List = new List();
vidList.x= vid.x+10;
vidList.y= 200;
vidList.width=200;
vidList.height=100;
vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
vidList.addItem({label:"Chase Scene",data: "chase.flv"});
vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
addChild(vidList);
vidList.addEventListener(Event.CHANGE,playVid);
function playVid(e:Event):void{
vid.source=e.target.selectedItem.data;
Then click on your stage in Flash, then open the properties window, and fill the Class text field with: Main
Make sure the as file is saved in the same folder as the flv. -
Apple Video Player Replacement
I just got a PowerMac G3 with a/v in out to replace my Quadra 840av. The main purpose of this system is to convert S-Video to RBG(VGA). System came with 10.2.8 installed and no System 9 folder. :O So I replaced the noisy HDD and added some more ram. Then I installed OS 9 and updated it to 9.2.2. After that I put 10.3 on a sperate partition. For the **** of it I tried runing Apple Video Player in classic mode, but ofcourse it didn't work.
So I was wondering, is there a program out there for OSX that will display the S-Video in? Otherwise todo what I need todo I'll just have to boot into OS9.
P.S. I noticed that the S-Video in on the Quadra and the G3 have the same connector as a/v multi outs on most modern computers. Is there a way to use a component dongle with it? I tried using one but niether systems liked on Apple Video Player.'fraid so Unfortunately it got left behind in the transition to OSX. I guess there weren't enough machines out there to make it worth it, especially since a 300MHz isn't exactly the hottest machine out there for doing video.
-
Hi
I have symbian Belle on my e7.0, its video player suddenly stoped working for all file formates.
only audio comes out when playing video files.
Please help me.Quit the Videos app completely, restart the iPad and then try again.
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button
If that doesn't work, try this.
Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. when the movie appears in the search - tap on it and it should hopefully start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK.
And if that doesn't work, You can try this.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. -
HT201412 video player just stopped working
video player does not play screen just goes black
Quit the videos app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Or ..... Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Sometimes this will restart the videos app when you get the black screen. Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. When the movie appears in the search - tap on it and it should start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK. -
First of all, the app is just awesome and really thanks for everything you guys are doing.
I just have a little thing wanna mention, which is about the video player in Adobe TV section.
I would like the video to be more flexible just as it is in Adobe Media Player, meaning (minimize, maximize, etc.), because what I noticed when I play videos, they are not really clear. I took some screenshots to show but I do not and seems there is no way to attach photos here. Anyways, I would like to thank you again for all the work, keep it going
Cheers,
AbdulHi,
I would agree that it should be possible to maximise Adobe TV. I don't see the point in making this a modal window either. You cannot interact object behind modal/video window, which means that what is already a restricted window becomes even more restricted.
I am interested in code for Flex on Adobe TV, so having a small window is not going to help.
Regards,
Niall -
Elements 12 video player automatically pauses & video time line
Hi Everyone,
I'm trying to use Premier elements 12 to do a few things & cannot find the answer to a few questions I have & was hoping someone could help me
1) When using the elements video player (one built in) if I start to play a video, it's automatically pauses after about 7 seconds. Is there a way to have it not auto pause?
2) When I bring in a video & look at the "Video1" bar, I notice the video only shows for about 30 seconds & then there is a blue space. How do I get the video clip to show thru out (in the Video1 bar) ?
ThanksTheMayor
What computer operating system is your Premiere Elements 12 running on? Could use that information if we get into any computer specific Q&A details.
I think that we need to start with
a. What are the properties of what you are importing into your project, such as...
video compression
audio compression
frame size
frame rate
interlaced or progressive
file extension
pixel aspect ratio
We need that information as it relates to the next question. We could direct you to video audio properties readout program for the information but let us try to get the necessary information from knowledge of the brand/model/settings of the camera that recorded the video.
b. What is the project preset that you or the program is setting to match the properties of the source video?
(See Edit Menu/Project Settings/General and tell us what you see for Editing Mode, Timebase, Frame Rate, Pixel Aspect Ratio - even if the
fields look grayed out).
c. When you are playing your Timeline content in the Edit area monitor is there an orange line over its content.
d. To the left of the name "Video 1" is a filmstrip icon. That represents the video display style. It has 4 different display types. You toggle to get the display type that you want - assumed the one where video thumbnails populate the whole Timeline clip's duration. That is the display type which is seen in the above screenshot. So, one click at a time on the filmstrip icon until you get the preferred video display style. The audio tracks also have display styles - only two different ones not four like the video display style. (For audio, see the speaker icon to the left of the name "Audio 1")
Please review, consider, and supply the necessary information. Then we will sort through the details to discover the core of your reported issue.
Thank you.
ATR -
Embedded Flash video player does not appear
Regarding this page: https://dl144.infusionsoft.com/app/page/default-campaign-landing-page8
If you look at the source, there's an iframe containing an embedded video player from vzaar in that yellow space at the top of the screen. it renders correctly in all other browsers except FireFox 23. I'm on OSX 10.7.5
I also tried it on Firefox 24.0 on Windows 7 Home Premium with the same result - no player.
Can anybody suggest why the contents of the iframe do not appear?That iframe is blocked because of mixed active content.
You can see this in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K)
<pre><nowiki>Blocked loading mixed active content "http://view.vzaar.com/1214912/player" @ https://dl144.infusionsoft.com/app/page/default-campaign-landing-page8
</nowiki></pre>
The main site is https and the iframe source is http://view.vzaar.com/1214912/player
*https://support.mozilla.org/kb/how-does-content-isnt-secure-affect-my-safety
*https://developer.mozilla.org/en/Security/MixedContent
A workaround is to set the security.mixed_content.block_active_content pref to false. -
Typical Player Applet and Security
Hello,
When i use the Typical PlayerApplet in a webpage, it can connect to the rtsp server and play the video successfully.
However, I'm trying to build a new player applet, using the com.sun.media.content.rtsp.RtspUtil class (following the com.sun.media.content.rtsp.Handler example), but then I get security exception.
If I sign the applet, I still get that Security exception.
Please help.Possibly. Any output in the Java console:
View > Java Console
As you're running in an Intranet environment why don't you go with the plugin as this would give you a lot more scope GUI wise? You can place it on your server and set your HTML so that it's downloaded automatically if the user does not already have it installed. The one problem with this is that if your users are running WIN2K/NT then they have to admin rights to do the install.
If not then you could try compiling with the -target switch:
javac -target <release> Generate class files for specific VM version -
E2500 - Not connecting to the video player.
Got it home and tried to connect it to my streaming video player in the next room and it would not connect at all. I took it back and bought a different brand and it connected immediately and stayed connected for 6 hours of streaming video with zero drop outs. It stays connected and my streaming video player does not have to search for the router each time I want to use it.
What's great about it: nothing
What's not so great: poor connection
This product has...
Unreliable connection
Dual band
Short range
slow connection
About me...
Heavy media streamer
Technology guru
No, I would not recommend this to a friend.
I use it in...:Small homeThere might be some settings required in the router so that it gets the proper solution. If you are facing the concern of getting lag, dropped connections then you can try the following steps:
A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
1] Open the software and go to the option which says "Router Settings"
2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
3] Then go to the Wireless tab, keep network mode as mixed,
For Channel Settings of 2.4 GHz you can make Channel Width to 20 MHz only and Channel to 6, 9, 11..
For Channel Settings of 5 GHz you can make Channel Width to 20 MHz only and Channel to 40 or 161...
B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the username field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
Secondly avoid using any other wireless devices like cordless phones, microwave oven etc nearer to the router. Update the drivers for the wireless card of the wireless computer. Then check the wireless connection status. -
Hello Everyone,
I am scripting a video player and one of its functionalities
is to be able to have a playlist that can be arranged by the user
in any order user like. For Example, if there are lets say 5 videos
within the playlist:
SONG 1
SONG 2
SONG 3
SONG 4
SONG 5
User can then change the order of the videos by clicking on
any video and dragging it up or down just like windows mediaplayer
and the player should play the videos in such order.
So far, I have been able to use the list component but am not
sure if it will allow the dragging.
I would highly appreciate it if you guys can suggest what
should I do to handle this functionality.
Thanks.Hm, you could define ‘slots’ with rectangles and
each slot would map to a specific slot in some
‘playlist’. Then create your own ‘list
renderer’ that attaches draggable clips based on the playlist
array. During drag and drop, you’d detect which
‘slot’ the movieclip was dropped into, which would
define where in the playlist array it should be inserted.
Then shift the elements around, insert the item in the array,
and rerender the list.
(I’m sure there are probably better/neater ways to do
this as well, this is just quickly off the top of my head). -
Hello,
I'm creating a webcam based video channel system but i have problems receiving the signal from the pc in the server. I send it using JMStudio but i'm unable to interpret.
This is the code i use:
import java.applet.*;
import javax.swing.*;
import javax.swing.event.*;
import java.io.*;
import java.awt.*;
import java.net.*;
import java.awt.event.*;
import java.util.Vector;
import javax.media.*;
import javax.media.rtp.*;
import javax.media.rtp.event.*;
import javax.media.rtp.rtcp.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import javax.media.format.AudioFormat;
import javax.media.format.VideoFormat;
import javax.media.Format;
import javax.media.format.FormatChangeEvent;
import javax.media.control.BufferControl;
public class RecibeVideoApplet extends Applet implements ReceiveStreamListener, SessionListener
String ip = "my ip"; // Estas direcciones variaran dependiendo del transmisor
int puerto =0000;
String puerto1;
RTPManager rtpm = RTPManager.newInstance();
Object datoSinc = new Object();
boolean datoRecibido = false;
Panel panelCam = new Panel(new BorderLayout());
Button cerrar =new Button("Salir");
Player player=null;
// Funcion que inicializa el Applet
public void init()
// Recogemos el parametro de la pagina HTML
ip = getParameter("IP");
//puerto1 = getParameter("PUERTO");
///puerto = Integer.valueOf(puerto1).intValue();
try
System.out.println("Ip" +ip);
InetAddress dirIp = InetAddress.getByName(ip);
System.out.println("dirIP" +dirIp);
SessionAddress dirLocal = new SessionAddress(InetAddress.getByName("000.000.000.000"),puerto);
System.out.println("dirLocal" +dirLocal);
SessionAddress dirDest = new SessionAddress(dirIp,puerto);
rtpm.addSessionListener(this);
rtpm.addReceiveStreamListener(this);
rtpm.initialize(dirLocal);
rtpm.addTarget(dirDest);
catch (Exception e)
System.out.println("No se pudo crear la sesion RTP" + e.getMessage());
// Esperamos a que lleguen los datos
long then = System.currentTimeMillis();
long periodoEspera = 60000; // esperamos como maximo 60segundos
try{
synchronized (datoSinc)
while (!datoRecibido &&
System.currentTimeMillis() - then < periodoEspera)
if (!datoRecibido)
System.err.println("Esperando datos RTP...");
datoSinc.wait(1000);
catch (Exception e) {}
if (!datoRecibido) {
System.err.println("No se ha recibido ningn dato RTP");
// Funciones que esperan a que llegue un evento y avisan de ello
public synchronized void update (SessionEvent evento)
if (evento instanceof NewParticipantEvent)
Participant participante = ((NewParticipantEvent)evento).getParticipant();
System.out.println("Acaba de unirse un nuevo participante:"+ participante.getCNAME());
public synchronized void update (ReceiveStreamEvent evento)
RTPManager rtpm = (RTPManager)evento.getSource();
Participant participante =evento.getParticipant();
ReceiveStream stream = evento.getReceiveStream();
if (evento instanceof NewReceiveStreamEvent)
try
stream = ((NewReceiveStreamEvent)evento).getReceiveStream();
DataSource ds =stream.getDataSource();
// Creamos el player para visualizar el video
player = Manager.createRealizedPlayer(ds);
if (player == null)
return;
// Comenzamos la transmision
player.start();
// Cogemos el componente visual para a�adirlo al panel
Component comp;
if ((comp = player.getVisualComponent()) == null)
return;
panelCam.add("Center", comp);
panelCam.add("South", cerrar);
add("Center",panelCam);
this.setSize(800,800);
this.setVisible(true);
//Avisamos al metodo inicializar de que hemos recibido datos
synchronized (datoSinc)
datoRecibido = true;
datoSinc.notifyAll();
catch (Exception e)
System.out.println("Error: " + e.getMessage());
return;
// Metodo que utilizamos para poder cerrar la transmisi�n mediante un bot�n
public boolean action(Event evt,Object arg)
if(evt.target.equals(cerrar))
close();
else
return super.action (evt,arg);
return true;
// Metodo para cerrar el player de la transmision
public void close()
try
player.close();
rtpm.removeTargets("Cerrando sesion desde RecibeVideo");
rtpm.dispose();
rtpm = null;
catch (Exception e)
System.out.println("No se ha podido cerrar correctamente");
//Metodo para destruir el applet
public void destroy()
The names are in spanish but i think that the main function can be understood
and this is the output i get from the webpage:
java.lang.Error: Unresolved compilation problems:
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
ReceiveStreamListener cannot be resolved to a type
SessionListener cannot be resolved to a type
RTPManager cannot be resolved to a type
RTPManager cannot be resolved
Player cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
SessionEvent cannot be resolved to a type
NewParticipantEvent cannot be resolved to a type
Participant cannot be resolved to a type
NewParticipantEvent cannot be resolved to a type
ReceiveStreamEvent cannot be resolved to a type
RTPManager cannot be resolved to a type
RTPManager cannot be resolved to a type
Participant cannot be resolved to a type
ReceiveStream cannot be resolved to a type
NewReceiveStreamEvent cannot be resolved to a type
NewReceiveStreamEvent cannot be resolved to a type
DataSource cannot be resolved to a type
player cannot be resolved
Manager cannot be resolved
player cannot be resolved
player cannot be resolved
player cannot be resolved
player cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
at RecibeVideoApplet.<init>(RecibeVideoApplet.java:12)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.Error: Unresolved compilation problems:
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
ReceiveStreamListener cannot be resolved to a type
SessionListener cannot be resolved to a type
RTPManager cannot be resolved to a type
RTPManager cannot be resolved
Player cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
SessionAddress cannot be resolved to a type
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
SessionEvent cannot be resolved to a type
NewParticipantEvent cannot be resolved to a type
Participant cannot be resolved to a type
NewParticipantEvent cannot be resolved to a type
ReceiveStreamEvent cannot be resolved to a type
RTPManager cannot be resolved to a type
RTPManager cannot be resolved to a type
Participant cannot be resolved to a type
ReceiveStream cannot be resolved to a type
NewReceiveStreamEvent cannot be resolved to a type
NewReceiveStreamEvent cannot be resolved to a type
DataSource cannot be resolved to a type
player cannot be resolved
Manager cannot be resolved
player cannot be resolved
player cannot be resolved
player cannot be resolved
player cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
rtpm cannot be resolved
at RecibeVideoApplet.<init>(RecibeVideoApplet.java:12)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
If anyone knows how to solve the problems i have, please let me know.
Thank youMHP and OCAP only use JMF 1.0, which does not include support for capturing video. You will not be able to do this in any current MHP/OCAP imlementation that I know of.
Steve.
Maybe you are looking for
-
CSS layout question - height of outer DIV
Hopefully this is a quick one - In the past I've used CSS for the main layout of a page, but still used tables within a DIV. But I'm trying to be good and used DIVs there too. Anyway - I have a basic example here: http://www.learners-guide.co.uk/less
-
Hold on screen the apps permanently
Dear all, i'd like to hold on the smartwatch screen the apps i'm using permanently. I don't want that the smartwatch return on stand-by state after few inaction second, only displaing the watchface. Someone can help me? Many thanks in advance.
-
i am using mac os tiger but now i want to switch over to leopard..i have got the leopard uptodate dvd... i also want to keep a backup of the tiger to avoid any inconvenience...kindly guide me about the system files that need the backup so that i may
-
Hi, I am trying to install Outbound option for IPCC Enterprise 7.5.1 and I am having some problems with it. My setup is as follows Server 1 : RouterA, LoggerA, PG1A(CCM PG), CG1A, CTIOS1, DialerA, PG2A(MR PG with two PIMs for the two dialers); Server
-
Phone won't charge. wow 6 days old
exchaned my broken iphone last friday and got a new one. just plugged it into the dock, and nothing happened. then plugged directly into the usb, nothing. then reset it, tried it with another charger, and nothing. any ideas? no physical damage whatso