video player called watch background

Hi all is there,

We have a page, showing little content, and the user can tap on a thumbnail of the video. We then invoke the video player and the video opens and plays normally. The title and the menu hide after a few seconds. Attaching of tape on video, bring back them, but also shows the content of the underlying page for a brief moment, which is really annoying.

See here for a video:

https://DL.dropbox.com/u/15044447/videoplayer.MP4

We invoke tha drive via:

request.setUri (QUrl (url));
request.setMimeType ("video");
request.setTarget ("sys.mediaplayer.previewer");

The easiest way to get rid of this effect would be to cover all of the content of the underlying page with a black rectangle, but there must be a 'real' solution for this problem. Is there someone who can help or is faced with the same problem?

Thanks in advance.

This was noted as a bug in their own country and has since been fixed (I asked, and it is verified)

nothing should be replaced by a developer point of view, with a new update of device the problem should disappear. Unfortunately; We have not any time/information regarding when this fix will be available for the production machines.

Tags: BlackBerry Developers

Similar Questions

  • Error: "IT TAKES ADOBE FLASH PLAYER TO WATCH THIS VIDEO.

    original title: ADOBE FLASH PLAYER

    I uninstalled adobe flash player program from my computer without knowing it can affect the ability to watch badminton on the YOU TUBE videos.  When I tried to watch the YOU TUBE video, the message "YOU NEED ADOBE FLASH PLAYER to WATCH THIS VIDEO". So I downloaded and reinstalled the flash player from adobe program, I thought that this will help you solve problems.  However, next time when I watched the video, same message "YOU NEED ADOBE FLASH PLAYER to WATCH THIS VIDEO" came again.  To the point of occasionally, I am still unable to watch these videos on YOU TUBE.  All comment or suggestion would be appreciated.

    Make sure that you install the most recent version of the Adobe Web site:

    http://www.Adobe.com/

    And chose flash player

    If you download it on another Web site, then uninstall and install from the Adobe Web site.

    Make sure install also that you on the same browser you use to watch Youtube videos. Then restart your PC and see if the problem is solved or not.

  • I am trying to create a button that opens a pop-up window with a video player, sensible size. Also, I would like for the page Web of the background go darker when that happens. Is there a way top make in Muse?

    I am trying to create a button that opens a pop-up window with a video player, sensible size. Also, I would like for the page Web of the background go darker when that happens. Is there a way top make in Muse?

    Hello

    I created a video for you in Muse. Here is the link:- lightboxvideo.mp4 - Google Drive

    I hope that it would give you an idea on how to do just.

    Kind regards

    Rohit Nair

  • Custom using netStream video player not working not

    I have problems playing movies using the flash in a way that is not sinking tons of memory (http://forums.adobe.com/thread/851908). So, I tried to build my own, but I can't allow him to play anything... What don't I get on the netStream working with the VideoDisplay?

    customComponents package < code >
    {
    import flash.events.Event;
    import flash.events.NetStatusEvent;
    import flash.events.TimerEvent;
    import flash.media.SoundTransform;
    import flash.media.Video;
    import flash.net.NetConnection;
    to import flash.net.NetStream;
    import flash.utils.Timer;

    Import mx.core.UIComponent;
    Import mx.events.FlexEvent;

    / * Explanation of the component: VideoDislplayCustom is a replacement for s:VideoDisplay, because our load method in video memory leaks in the order of several hundred megabytes every time a new video has been loaded. It provides a video object that attaches to a netStream, which allows us to broadcast the video files on the hard drive to play rather than load them into the player. By preventing the caching of all kinds, overcome us the leaks memory of this magnitude and are a tool that can last throughout the day switching between videos often. */

    SerializableAttribute public class VideoDisplayCustom extends UIComponent
    {
    / * Constructor * /.
    public void VideoDisplayCustom()
    {
    Super();



    videoPlayer = new VideoDisplay();
    this.addChild (videoPlayer);
    this.addEventListener (FlexEvent.CREATION_COMPLETE, init)


    netConnection = new NetConnection();
    netConnection.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    NetConnection.connect() (null);

    netStream = new NetStream (netConnection);
    netStream.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    netStream.client = this;
    netStream.bufferTime = BUFFER_TIME;

    setVolume (defaultVolume);
    }

    / * Necessary, because we need allow all this time to initialize before you start trying to create certain things or parts of some components addressing.
    * Called from: this. Creation_Complete event that is raised after this component is all assembled. */
    private void init(event:Event):void
    {
    this.removeEventListener (FlexEvent.CREATION_COMPLETE, init);
    videoPlayer.visible = true;
    videoPlayer.source = "";
    videoPlayer.videoObject.attachNetStream (netStream);
    }

    / * Global variables * /.
    Define our constants.

    Time to buffer, in seconds. Subsequently assigned to the netstream object
    protected const BUFFER_TIME:Number = 8;

    Public variables.

    We must be able to define a source for our video player.
    public var source: String = "";
    Maintains the boot volume when the player starts, defined in terms of percentage of the total volume of the system.
    public var defaultVolume:Number =. 60;
    Because when we turn it off to save the previous volume. This wil enable us to check with our drop-down list component or other components to make sure that
    We have the right to 'lastVolume '.
    public var lastVolume:Number = defaultVolume;
    When we turn off our video, we know that she is mute. Checking to see if the volume 0 is accurate, not enough, so we have a variable for it. In addition,
    the s:VideoDisplay uses a variable 'muted', if we want to keep the same looking for outside like this component.
    public var muted: Boolean = false;
    When we want the video loop, you have to know that, so here is our Boolean loop. In fact, when we reached the end of playback, either deliver us
    a "complete" event, or we start playing again from the beginning. This value determines what.
    public var loop: Boolean = false;
    We need to know if we can soften the video or not (to improve the quality of reading).
    public var smoothing: Boolean = true;

    Private and protected variables.

    We need a video object to attach the netStream to. So, here it is.
    protected var videoPlayer:VideoDisplay;
    We must be able to access netConnection and NetStream objects from outside this component (to set the source and check on things), so here is our
    objects.
    protected var netConnection:NetConnection;
    protected var netStream:NetStream;
    We need to know if the stream is loaded or not before we can read.
    protected var loaded: Boolean = false;
    We need store metadata for the video that load us up, so here's our storage object metadata.
    protected var vidInfo:Object;

    / * Meathods of this component (aka public functions), visible to the whole program. */
    public void play (): void
    {
    Words of the var: String = «»
    If (!) Loaded)
    {
    netStream.play (source);
    load = true;
    } else {}
    netStream.resume ();
    }
    }

    public void pause (): void
    {
    netStream.pause ();
    }

    public void stop (): void
    {
    netStream.pause ();
    netStream.seek (0);
    }

    public void seek(timeToSeekTo:Number):void
    {

    }

    public void setVolume(volumeToSet:Number):void
    {
    var soundTransform:SoundTransform = new SoundTransform (volumeToSet);
    netStream.soundTransform = soundTransform;
    }

    public function mute (): void
    {
    if(!muted)
    {
    lastVolume = videoPlayer.volume;
    setVolume (0);
    Mute = true;
    } else {}
    setVolume (lastVolume);
    Mute = false;
    }
    }

    / * We store the metadata collected by the NetStream object, information so that we can him later in this program. This isn't really a meathod, but it
    * should be made public so that the NetStream could find it.
    * Called from: NetStream object, as soon as he gets the metadata and information loaded file. */
    public void onMetaData(info:Object):void
    {
    vidInfo = info;
    }

    / * Functions private and protected this component, closed to the rest of the program. */
    protected function netStatusHandler(event:NetStatusEvent):void
    {
    Switch (event.info.code)
    {
    case "NetStream.Play.StreamNotFound":
    trace ("Error. Stream not found: "+ source);
    break;
    case "NetStream.Play.Stop":
    Stop();
    break;
    }
    }

    < code >

    Any help?

    Here is the code for the component. I hope there is nothing odd about that. I have included my contact information at the top. Please send me an email me or Adobe PM if you have questions or comments about this code. Hope this helps someone. It took me a good while to tinker until I found this.

    You can also find this useful if you do not need to completely rebuild the component. http://bryanheisey.com/blog/?p=21

    [CODE]

    /* Contact info: Jordan: [email protected] between 2010 and 2015. */
    
    /* The built-in video display object would not work for our purposes, because it would leak enormous amounts of memory (in the order of 200-300MB) every time a new
     * video was loaded in and played. It was almost as though it retained all previous videos played in memory, rather than replacing the video it had loaded.
     * After farther investigation, I believe it had to do with the fact that s:VideoDisplay discards the source and videoGateway, and creates a new one, meaning that
     * garbage collection has to get in there and fix it. However it doesn't unless RAM is also being lost in enough little chunks, so...it never cleaned up.
     * This is the first attempt to fix that, by directly manipulating the netStream, and streaming the video, rather than loading it in as was happening in s:VideoDisplay.
     * I have, however, followed the structure that was presented in s:VideoDisplay provided by Adobe in the Flex 4.0.1 framework as far as where events and public functions
     * and so forth are declared. This video player uses a lot of code and ideas from s:VideoDisplay and the player described at
     * http://www.flashwebdesigns.com.au/index.php/2010/07/custom-flex-4-spark-videodisplay. More details of what this actually is found right above the constructor. */
    
    /* TODO: Looping pauses for a moment before restarting.
              */
    package customComponents
    {
         /* Imports:
          * NetStatusEvent is used to react to specific events in the video stream. For example, when it starts to play, when it stops, and so forth.
          * SoundTransform is a class used to control the volume in the NetStream, and so when the volume is changed, we need to use this to create a new sound handler for the
               stream.
          * Video is used as the gateway through which the NetStream is visible. That is actually it's only purpose, because we wind up directly manipulating the NetStream when
               we need to do anything with the video.
          * NetConnection is used to initiate our NetStream. NetConnection is looking for a server connection. When we pass through null as the server, it knows we're after
               local content.
          * NetStream is what actually plays the videos off the computer. This is the central piece of this component. Using this class as our primary piece of this component
               is what allows us to circumvent memory leaks and other issues.
          * UIComponent is what this component extends, so it's needed for the basis of our component.
          * FlexEvent is required to allow us to listen for creation complete, allowing us to call an init() function here like we do with almost every other component we have.
          * TimeEvent was the original type of event used in s:VideoDisplay, so working on changing as little as possible, we kept that as our event types, and by the time we
               finished, there was no point to changing it. */
    
         import flash.events.Event;
         import flash.events.NetStatusEvent;
         import flash.media.SoundTransform;
         import flash.media.Video;
         import flash.net.NetConnection;
         import flash.net.NetStream;
    
         import mx.core.UIComponent;
         import mx.events.FlexEvent;
    
         import org.osmf.events.TimeEvent;
    
         /* Events */
    
         /* complete is dispatched when the playhead reaches the duration for playable media.
          * original eventType: org.osmf.events.TimeEvent.COMPLETE */
         [Event(name="complete", type="org.osmf.events.TimeEvent")]
         /* durationChange is dispatched when the duration property of the media has changed.
          * This event may not be dispatched when the source is set to null or a playback error occurs.
          * original eventType: org.osmf.events.TimeEvent.DURATION_CHANGE */
         [Event(name="durationChange", type="org.osmf.events.TimeEvent")]
         /* needToSeek is dispatched whenever play() is called. play() loads in the new video. If the video is the same one that was already playing, therefore not changing the
          * duration, we need to catch that, and the easiest way to do that is just to dispatch an event commanding that we seek. */
         [Event(name="needToSeek", type="flash.events.Event")]
    
         /* Explanation of component: VideoDislplayCustom is a replacement for s:VideoDisplay, since our method of loading in videos caused memory leaks in the order of hundreds
          * of megabytes each time a new video was loaded in. This one provides a simple video playing object that attaches to a netStream, which we use
          * to stream the video files off the hard driver rather than loading them into the player. By disallowing caching of any kind, we overcome memory leaks of
          * that magnitute, and provide a tool that can last all day switching between videos often. */
    
         public class VideoDisplayCustom extends UIComponent
         {
              /* Constructor */
              public function VideoDisplayCustom()
              {
                   super();
                   // We want to have an init() function, so we listen for it's dispatch.
                   this.addEventListener(FlexEvent.CREATION_COMPLETE, init);
                   // We build the actual stuff that plays our videos.
                   createUnderlyingVideoPlayer();
                   // The next three lines ensures that code farther down will work. We compare durations in vidInfo, which is just an array, so we first need to give it a duration
                   // value to compare (it's bad if we compare null to a number)
                   var tempArray:Array = new Array();
                   tempArray["duration"] = 0;
                   vidInfo = tempArray;
              }
    
              /* We need to allow everything time to initialize before we start trying create some things or addressing parts of some components. Looking towards expandability,
               * also, this only makes sense to have.
               * Called from: this.Creation_Complete, which event is fired after this component is all put together. */
              private function init(event:FlexEvent):void
              {
                   // since we added the event listener, we need to pull it off.
                   this.removeEventListener(FlexEvent.CREATION_COMPLETE, init);
                   videoPlayer.visible = true;
              }
    
              /* Global variables */
    
              // Define our constants \\
    
              // Time to buffer, in seconds, before it begins playback. Later assigned to the NetStream object. Since all our files loaded are on the local host, we
              // don't need to set this very high. And if we use a black screen, we can specify a minimum buffer size.
              protected const BUFFER_TIME:Number = 8;
    
              // Public variables \\
    
              // Holds the start volume when the player starts, defined in terms of percentage of total system volume.
              public var defaultVolume:Number = .50;
              // For when we mute, we need to save the previous volume. This wil let us double-check with our dropDown component or other components to make sure that
              // we have the right "lastVolume".
              public var lastVolume:Number = defaultVolume;
              // When we mute our video, we need to know it's muted. Checking to see if it the volume is 0 is not accurate enough, so we have a variable for it. Also,
              // the s:VideoDisplay uses a "muted" variable, and since we want to keep it looking the same from the outside as this component, we keep that variable.
              public var muted:Boolean = false;
              // When we want to loop the video, we need to know that, so here's our loop boolean. Basically, when we hit the end of the video playing, either we issue
              // a "complete" event, or we start playing it again from the beginning. This boolean determines which.
              public var loop:Boolean = false;
              // We need to know if we can smooth the video or not (to improve playback quality). Also something from s:VideoDisplay
              public var smoothing:Boolean = true;
              // We needed a way to carry through the height and width, and for some reason, this.width and this.height were both cleared and reset to 0 before the component is
              // created, or sometime during creation, so we needed to create these variables instead to carry it through. Breaks our "looking the same from outside" attempt.
              public var playerWidth:Number = 1024;
              public var playerHeight:Number = 768;
    
              // Private and protected variables \\
    
              // We need to be able to define a source for our video player. This would be a public variable, but that wasn't allowing for both playing the first video and the
              // subsiquant subclips, so we had to write getter and setter functions for the source, so we can maintain the previous source to know how to act. Thus, we have
              // our newSource and our oldSource.
              protected var newSource:String = "";
              // We also need to know if we have a new source loaded in, so this variable holds the old source.
              protected var oldSource:String = "";
              // We need a video object to attach the NetStream to. So, here that is.
              protected var videoPlayer:Video;
              // We need to have a NetStream to be able to use it, and to create one, we need to have a NetConnection. So, here they are.
              protected var netConnection:NetConnection;
              protected var netStream:NetStream;
              // We need to store the metadata for the video that we load up, so here's our metadata storing object.
              protected var vidInfo:Object;
    
              /* Meathods of this component (aka public functions), visible to the whole program. */
    
              /* This function checks our sources, and if they haven't actually changed, we don't want to reload the stream, so we just tell the hosing component (which for
               * us is the VideoScreenCustom component) that we need to seek. If we load in the new video (netStream.play(newSource), then we can't seek until the video is
               * actually loaded, and we can't always seek from the onMetaData functions below, so this seemed the best way to do it.
               * Called from: play() and playScreenSaver() in VideoScreenCustom.mxml. */
              public function play():void
              {
                   if(newSource == oldSource)
                   {
                        dispatchNeedToSeek();
                   } else {
                        netStream.play(newSource);
                   }
              }
    
              /* Pretty straightforward--we pause the video by pausing the netStream.
               * Called from: pause() in VideoScreenCustom.mxml. */
              public function pause():void
              {
                   netStream.pause();
              }
    
              /* Pretty straightforward--we need to unpause the video where we left off, so we call resume() on the netStream to unpause.
               * Called from: resume() in VideoScreenCustom.mxml. */
              public function resume():void
              {
                   netStream.resume();
              }
    
              /* We don't currently use this, because closing the netStream makes it hard to restart videos and seek, since it's still opening the stream when the seek command
               * is sent, and it stops the screen saver from working properly. It's just best to avoid closing our stream unless we are unloading it or something.
               * Called from: nowhere. This is a place holder / view into other uses. */
              public function stop():void
              {
                   netStream.pause();
                   netStream.close();
              }
    
              /* We need to be able to move around a video and to enter at different entryPoints, so seeking is vital. Here, we make it accessable from outside this component.
               * Called from: loopVideo() in this component, play(), rewindVideo() and fastForwardVideo(), and seekToPoint() from VideoScreenCustom.mxml */
              public function seek(timeToSeekTo:Number):void
              {
                   netStream.seek(timeToSeekTo);
              }
    
              /* Function that mutes the video. When it is called again, it restores the previous volume.
               * Called from: set volume() below, and currently nowhere else. This is a place holder until that feature is requested. */
              public function mute():void
              {
                   if(!muted)
                   {
                        lastVolume = netStream.soundTransform.volume;
                        setVolume(0);
                        muted = true;
                   } else {
                        setVolume(lastVolume);
                        muted = false;
                   }
              }
    
              /* Getter and setter functions */
    
              /* Used by VideoScreenCustom to know what the current time in the video is so that it can rewind, fastforward (by passing through a new time to seek to), and so
               * we can watch for stop points in the video clips. */
              public function get currentTime():Number
              {
                   return netStream.time;
              }
    
              /* Used by the videoScreenCustom to know if it is even possible to fast forward any (if within the skip interval from the end, then FFing is not possible). Also
               * here if ever needed for any other reason. */
              public function get duration():Number
              {
                   return vidInfo.duration;
              }
    
              /* Since we're remembering both the previous and the current source, we need to specify that we are returning the newSource through this getter function.
               * Externally, this looks just like a public variable. */
              public function get source():String
              {
                   return newSource;
              }
    
              /* Since we remember both the old and the current source, when the source is changed (.source = "somePath"), we need to copy the current source, then set the new
               * one so that we can use it in this to know whether to load the video or not (we don't want to load it if it is already loaded in and playing). Externally, this
               * looks just like a public variable.*/
              public function set source(sourceToSet:String):void
              {
                   oldSource = newSource;
                   newSource = sourceToSet;
              }
    
              /* From videoScreenCustom, we set the volume only through videoDisplay.volume=NUM. So, we handle all volume stuff here. It is possible to have the videoScreen
               * call mute() seperately in the future, so we add a little logic here to unmute if muted. Otherwise, we se the volume. */
              public function set volume(volumeToSet:Number):void
              {
                   if(muted)
                   {
                        mute();
                   } else {
                        setVolume(volumeToSet);
                   }
              }
    
              /* We store the metadata information gathered by the NetStream object, so that we can get to it later in this program. This isn't truly a meathod (meaning available
               * to the component hosting this one), but it had to be made public so that the NetStream object could find it. You'll note that we have too onSomeDate() functions.
               * The reason for that is that some video conatiners return one type of data (MetaData), and another returns a different set of metadata (XMPData).
               * Called from: NetStream object, as soon as it gets the metadata and information from the loaded file. */
              public function onMetaData(info:Object):void
              {
                   var oldVidInfo:Number = vidInfo.duration;
                   vidInfo = info;
                   if(oldVidInfo != vidInfo.duration)
                   {
                        dispatchDurationChange();
                   }
                   resizeVideo();
              }
    
              /*See above on onMetaData() for info about this. It does the same thing, but for different file formats (mostly flash-based containers). */
              public function onXMPData(info:Object):void
              {
                   var oldVidInfo:Number = vidInfo.duration;
                   vidInfo = info;
                   if(oldVidInfo != vidInfo.duration)
                   {
                        dispatchDurationChange();
                   }
                   resizeVideo();
              }
    
              /* Private and protected functions of this component, closed off to the rest of the program. */
    
              /* We need to build the essential pieces of the player and leave them in all the time. The basic concept for this player is that we have a Video object to
               * serve as a gateway for the NetStream object, which is what actually connects to the video file and passes it through. The Video object is just the reciever--
               * that means that all calls and commands that we want to deliver to the playing video we instead direct towards to NetStream.
               * Called from: the constructor function. */
              protected function createUnderlyingVideoPlayer():void
              {
                   // create our Video object, attach it to the stage, and resize it (critical--since otherwise, both height and width would be 0).
                   videoPlayer = new Video();
                   addChild(videoPlayer);
                   videoPlayer.width = playerWidth;
                   videoPlayer.height = playerWidth;
    
                   // NetConnection is needed to open the NetStream. When anything changes in this stream, we can handle those changes in netStatusHandler(). When we connect and
                   // pass through null, it means that we have no server and the files will be hosted on the local box.
                   netConnection = new NetConnection();
                   netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                   netConnection.connect(null);
    
                   // The main piece. Through this netStream, we control video playback, volume, and so forth.
                   netStream = new NetStream(netConnection);
                   netStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                   // the client is who the NetStream turns to to find functions for it's events. There is one event that requires handling--the one that calls onMetaData
                   // (or MXPData). It finds those functions in the client object.
                   netStream.client = this;
                   // How long it will buffer before it starts to play the video. Since we're on the local box, our buffer can pretty much be as low as we want.
                   netStream.bufferTime = BUFFER_TIME;
    
                   setVolume(defaultVolume);
                   // Final step: attach the NetStream object to the Video so that the Video knows to pay attention and do something.
                   videoPlayer.attachNetStream(netStream);
              }
    
              /* We need to change the size of the video to fit on the screen. However, it must be noted that sometimes, if it must be stretched too far, then video quality
               * becomes horrible, and so far, no workaround has been discovered.
               * Called from: onMetaData (of all kinds, including XMP and other types of metadata), called whenever a new video is loaded in. */
              protected function resizeVideo():void
              {
                   videoPlayer.width = playerWidth;
                   videoPlayer.height = ((playerWidth * vidInfo.height) / vidInfo.width);
                   videoPlayer.x = 0;
                   videoPlayer.y = ((playerHeight - videoPlayer.height) / 2);
              }
    
              /* In order to change the volume, we have to apply a new soundTransform object. So, here we create it and do that.
               * Called from: mute(), createUnderlyingVideoPlayer(), and the setter function set volume(). */
              protected function setVolume(volumeToSet:Number):void
              {
                   var soundTransform:SoundTransform = new SoundTransform(volumeToSet);
                   netStream.soundTransform = soundTransform;
              }
    
              /* For our screensaver, we needed to allow the video to loop. This function will handle that. The only problem is, since we wait for it to .Stop (see Called from:),
               * there is a pause between the end of the video, and when it starts over.
               * Called from: netStatusHandler for NetStream.Play.Stop */
              protected function loopVideo():void
              {
                   netStream.seek(0);
              }
    
              /* We need to pay attention to what the NetStream is saying and react accordingly. Especially when the video ends. All NetStream andNetConnection events on
               * documentation at Adobe are listed as a comment at the end of the class (very end of this file).
               * Called from: the NetStream and NetConnection event when they spit out an event. */
              protected function netStatusHandler(event:NetStatusEvent):void
              {
                   switch (event.info.code)
                   {
                        case "NetStream.Play.StreamNotFound":
                             trace("Error. Stream not found: " + source);
                             break;
                        case "NetStream.Play.Stop":
                             if(loop)
                             {
                                  loopVideo();
                             } else {
                                  var playedTime:Number = int(netStream.time);
                                  var totalTime:Number = int(vidInfo.duration);
                                  // if we're within 2 seconds of the end, assume we're at the end.
                                  if(Math.abs(totalTime - playedTime) <= 1)
                                  {
                                       dispatchComplete();
                                  }
                             }
                             break;
                   }
              }
    
              /* Event Dispatching Functions */
    
              /* Sent out to let the hosting component (VideoScreenCustom) know that the end of the video clip has been reached.
               * Called from: NetStream's NetStream.Play.Stop event code, sent out whenever the end of the video playing through the stream is reached. */
              protected function dispatchComplete():void
              {
                   var eventObj:TimeEvent = new TimeEvent("complete");
                   dispatchEvent(eventObj);
              }
    
              /* When the new and old sources have different durations (meaning a new video has been loaded), this is called to let the hosing component know we have a new vid.
               * Called from: onMetaData (onXMPData), which is called whenever a video is loaded. */
              protected function dispatchDurationChange():void
              {
                   var eventObj:TimeEvent = new TimeEvent("durationChange");
                   dispatchEvent(eventObj);
              }
    
              /* When we don't have a new video, we still need to call seek() after the NetStream is aware that the video is the same. Or something. I'm not sure why, but we need
               * to seek after things have been set and run for a few microseconds. This is used for FFing, RRing, but mostly for seeking to a new "chapter" in a continuous
               * video during playback.
               * Called from: play() above. */
              protected function dispatchNeedToSeek():void
              {
                   var eventObj:Event = new Event("needToSeek");
                   dispatchEvent(eventObj);
              }
    
         }
    }
    
    /*
    The following table describes the possible string values of the code and level properties.
    Code property Level property Meaning
    "NetStream.Play.Start" "status" Playback has started.
    "NetStream.Play.Stop" "status" Playback has stopped.
    "NetStream.Play.Failed" "error" An error has occurred in playback for a reason other than those listed elsewhere in this table, such as the subscriber not having read access.
    "NetStream.Play.StreamNotFound" "error" The FLV passed to the play() method can't be found.
    "NetStream.Play.Reset" "status" Caused by a play list reset.
    "NetStream.Play.PublishNotify" "status" The initial publish to a stream is sent to all subscribers.
    "NetStream.Play.UnpublishNotify" "status" An unpublish from a stream is sent to all subscribers.
    "NetStream.Play.InsufficientBW"  "warning" Flash Media Server only. The client does not have sufficient bandwidth to play the data at normal speed.
    "NetStream.Play.FileStructureInvalid" "error" The application detects an invalid file structure and will not try to play this type of file. For AIR and for Flash Player 9.0.115.0 and later.
    "NetStream.Play.NoSupportedTrackFound" "error" The application does not detect any supported tracks (video, audio or data) and will not try to play the file. For AIR and for Flash Player 9.0.115.0 and later.
    "NetStream.Play.Transition" "status" Flash Media Server only. The stream transitions to another as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. For Flash Player 10 and later.
    "NetStream.Play.Transition" "status" Flash Media Server 3.5 and later only. The server received the command to transition to another stream as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. When the stream switch occurs, an onPlayStatus event with a code of "NetStream.Play.TransitionComplete" is dispatched. For Flash Player 10 and later.
    "NetStream.Pause.Notify" "status" The stream is paused.
    "NetStream.Unpause.Notify" "status" The stream is resumed.
    "NetStream.Record.Start" "status" Recording has started.
    "NetStream.Record.NoAccess" "error" Attempt to record a stream that is still playing or the client has no access right.
    "NetStream.Record.Stop" "status" Recording stopped.
    "NetStream.Record.Failed" "error" An attempt to record a stream failed.
    "NetStream.Seek.Failed" "error" The seek fails, which happens if the stream is not seekable.
    "NetStream.Seek.InvalidTime" "error" For video downloaded with progressive download, the user has tried to seek or play past the end of the video data that has downloaded thus far, or past the end of the video once the entire file has downloaded. The message.details property contains a time code that indicates the last valid position to which the user can seek.
    "NetStream.Seek.Notify" "status" The seek operation is complete.
    "NetConnection.Call.BadVersion" "error" Packet encoded in an unidentified format.
    "NetConnection.Call.Failed" "error" The NetConnection.call method was not able to invoke the server-side method or command.
    "NetConnection.Call.Prohibited" "error" An Action Message Format (AMF) operation is prevented for security reasons. Either the AMF URL is not in the same domain as the file containing the code calling the NetConnection.call() method, or the AMF server does not have a policy file that trusts the domain of the the file containing the code calling the NetConnection.call() method.
    "NetConnection.Connect.Closed" "status" The connection was closed successfully.
    "NetConnection.Connect.Failed" "error" The connection attempt failed.
    "NetConnection.Connect.Success" "status" The connection attempt succeeded.
    "NetConnection.Connect.Rejected" "error" The connection attempt did not have permission to access the application.
    "NetStream.Connect.Closed" "status" The P2P connection was closed successfully. The info.stream property indicates which stream has closed.
    "NetStream.Connect.Failed" "error" The P2P connection attempt failed. The info.stream property indicates which stream has failed.
    "NetStream.Connect.Success" "status" The P2P connection attempt succeeded. The info.stream property indicates which stream has succeeded.
    "NetStream.Connect.Rejected" "error" The P2P connection attempt did not have permission to access the other peer. The info.stream property indicates which stream was rejected.
    "NetConnection.Connect.AppShutdown" "error" The specified application is shutting down.
    "NetConnection.Connect.InvalidApp" "error" The application name specified during connect is invalid.
    "SharedObject.Flush.Success" "status" The "pending" status is resolved and the SharedObject.flush() call succeeded.
    "SharedObject.Flush.Failed" "error" The "pending" status is resolved, but the SharedObject.flush() failed.
    "SharedObject.BadPersistence" "error" A request was made for a shared object with persistence flags, but the request cannot be granted because the object has already been created with different flags.
    "SharedObject.UriMismatch" "error" An attempt was made to connect to a NetConnection object that has a different URI (URL) than the shared object. 
    
    If you consistently see errors regarding the buffer, try changing the buffer using the NetStream.bufferTime property.
    
    */
    

    [/ CODE]

  • Video player for amazon is different since firefox update

    After the upgrade to 37.0.1 Firefox, the video player for amazon has changed (she even worked as before on IE)
    connection speed and the video quality is significantly degraded the physical characteristics of the player has changed (pop no longer available through window) was limited to watch in the browser or full screen (without between - pop out)
    All the modules and plugins to update reset browser several times - same problem

    I have an image of how he used to study and the way it looks today but will have download problems (15 min worn out trying to download 200 KB gif before stopping) screenshot

    We will check this first;

    If you have any problems with the current versions of Shockwave Flash plugin then check this:

    • see if there are updates for your graphics card disk drivers

    https://support.Mozilla.org/KB/upgrade-graphics-drivers-use-hardware-acceleration

    • Disable protected mode in the plugin Flash (Flash 11.3 + on Windows Vista and later versions)

    https://forums.Adobe.com/message/4468493#TemporaryWorkaround

    • turn off hardware acceleration in the Flash plugin

    https://forums.Adobe.com/thread/891337
    See also:

  • Amazon HTML5 video player on Safari?

    Today, I watched a video from Amazon in Safari 9.1.1 under El Capitan on my MacBook. Amazon played using Silverlight plug-ins, I had installed. However, a box came up that said the video would improve if I uses its HTML5 video player, that he says is compatible with Chrome (M42 version or newer), Firefox (version 47 or more recent), Edge Microsoft Internet Explorer (11 or newer on Windows 8.1 and later), on Windows 10 and Opera (version 31 or more recent).

    Safari is remarkably absent from the list. Recent versions of Safari do not support HTML5?

    Recent versions of Safari do not support HTML5?

    Of course, it does. Amazon has chosen not to support Safari, for reasons known only to them.

  • Portege M100 - video player does not work

    Can anyone help?
    Had to rebuild my beloved Portege M100, after a hard disk failure.
    Everything works well except the video player.

    Tried using Windows Media Player and Intervideo Win DVD, but the two close as soon as the video starts.
    WMP has said that this is a problem with a codec called ivivideo forming Intervideo and Corel as they are now.

    However, their site is less useful and I can't find a way to update.

    Suggestions anyone?

    Hello

    Try VLC Player.
    It s small tool/player which can be downloaded for free.
    It plays most files smoothly.

    In addition, you could install some packages of codec as K-Lite codec pack

    Good luck

  • Toshiba Video Player - corrupt downloaded the zip file

    To the right:

    The following zip file is damaged. Please check.

    FTP - URL vidpl - 20150211140640.zip
    Date last modified 11/02/15
    Toshiba company
    Type of video player
    Subtype (none)
    Size (KB) 148050455
    Version 5.3.49.124
    Universal language
    Countries world wide
    Description with the TOSHIBA VIDEO PLAYER, you can watch videos on your laptop.

    Download link

    I think that this file is not damaged. What you are trying to install is not the full version but, I think, just a patch which can be installed if the full version is already installed on your system.

  • Video player Help:

    I was wondering... When you watch videos is there a setting so that you can get back where you left when you watch a video? Please explain how I really want to use the video player such as my Ipod where I can start back here where I left so I don't owe it all over again.

    -Boarder

    I tried the apps and I think Meridian Player is the best that you select to scan all files when you open the application after downloading.

    Here is the link to the Meridian Player: https://market.android.com/details?id=org.iii.romulus.meridian&feature

    -Boarder

  • Embed the video player in WebView - Fullscreen problems

    I'm at the point where I have to integrate a 3rd party html5 web player.

    I created a view of web pages containing the video player embedded in an iFrame. I have also the app resize the display orientation of the device-based Web.

    The problem is with the button full screen set up in the video player. Pressed, she calls a video player fullscreen BB10. This works well until the orientation of the device is changed. The full screen video not to back the new dimensions of the screen, and after leaving full-screen, the webview dimensions are incorrect.

    What is called when the button fullscreen is pushed? Where can I get and edit the metadata for the fullscreen player? Be able to address this issue is absolutely crucial to be able to finish my application, so any help will be greatly appreciated.

    I've done an investigation more, and it appears as if it is actually a bug in the operating system. I have loaded a developer version of 10.3.1 on my Z10, and media player automatically adapts to the direction correctly.

  • How to play video over https using system of video player?

    BlackBerry 10.3

    Question: I tried to call the system video player to play video files with the Protocol file:// and http://, it's OK, but when I changed to https://, it hangs and displays SIGSIEV.

    the same as url https protocol can be played in webview & qml media player control.so here is the question:

    Q: how call system of video player and play the video via the https protocol?

    Thank you.

    Oh... my bad, problem solved.
    I forgot to init call Director.

  • BB10: Video player displays no picture, just sound

    Hi guys,.

    I do my own video player. I use a ForeginWindowContol and a MediaPlayer as an object attached in QML.

    It works very well. But there is a problem. When I call the function player.play () in onCreationComplete video starts but there is not any picture, just sound.

    However, when I play the video by pressing a button, it works perfectly. But I need to automatically just start at the beginning, I mean, just after the .qml is pushed into the navPane.

    Any ideas on how to solve this problem?

    I appreciate it.

    Ok

    I found a solution.

    I use a timer inside QML and start onCreationComplete. After one second has passed, I play the video.

    And it works. I seems that somethings must be initialized before you even think of playing the video.

  • Invoke the audio part and a video player for my application

    Hi all

    I'm building an audio jack and video app download. I can play the app in my application. But the video player has some issues. As in the other topics in the forum I have found that if I turn on the properties of superposition, then he can't play.

    So, I want to call the default reader with the downloaded file. Is this possible? I have not found a solution in the forums.

    concerning

    You can try the method QNXApplication openFile and the File class has an openWithDefaultApplication. These two are supposed to do the same thing, but they do not. So, if one does not work, try the other. They are both supposed to work in the next version of the operating system.

  • Problem with video player

    Hi experts,

    I'm under 2 problems with video player in my application:

    1. the backlight turns off automatically after 30 seconds by default during playback of a video file.

    2. impossible to adjust the volume, he always plays with the highest volume.

    When I try to play the video by media player integrated BB Bold, the volume is adjustable and the backlight is on during the display of the video. Is it possible to do the same thing in my application?

    Thanks in advance,

    Kind regards

    Binh Nguyen

    -For the first problem, you will need to set the backlight to yourself in the code, something like:

    If ((Display.getProperties () & Display.DISPLAY_PROPERTY_REQUIRES_BACKLIGHT)! = 0)
    {
    Backlight.Enable (true, 20);
    }

    Be careful about the number of seconds that you pass to the enable(). They are tp limited 255 seconds even if you spend a lot. This means that if your video is longer than 255 seconds, you must call the activate more than once. I usually call it the timer as well as check the status

    -For volume control, the player does not meet the default control buttons. You need to implement it in your code.

    Set the class of player that you use to implement the method as follows:

      protected boolean keyControl(char c,int status,int time)
        {
            if(c == Characters.CONTROL_VOLUME_UP)
            {
                //IncreaseVolume;
            }
            else if(c == Characters.CONTROL_VOLUME_DOWN)
            {
                //decreaseVolume();
            }
            return super.keyControl(c,status,time);
        }
    

    Where the increseVolume is something like:

    If (_Kit! = null) //_vc = player VolumeControl
    {
    _vc.setLevel (volumeLevel);
    }

    Rab

  • Emergency AID - adding a video player using javascript

    I apologize for the subject line taken of panic.

    My client uses educational videos on their Web site. The current video player is being abandoned, so that they replace it. They sent a PDF file with the code to use, but I have a problem. Here are the directions:

    Departure: Add the player to your site:

    These steps allow you to add the new drive to a Web site by changing the HTML code of the

    desired page. This should be added to each page on which the player must

    appear.

    Note: If the page already has the code for the old player, this code should be

    removed and replaced with the code below.

    1. import javascript library by adding the following code in the HEAD section of your

    HTML page:

    < script type = "text/javascript".

    src=" https://CDN.curvedental.com/videoplayer-1.1-min.js ">

    < /script >

    2 Add the following section to the script into your HTML page where you want the video

    element to display:

    < script >

    function curveVideoPlayerInit() {}

    var = new CurveVideoPlayer({) video

    item: document.getElementById ('player'), //id

    of the domNode to replace

    showFooter: true, / / this will show down

    article including playlist drop-down list

    Line1: "Dr. Nobody Office", //Text to show that

    first line under the drive

    row2: "Call anytime" //Text to show as the second

    line under the drive

    });

    Video.init ();

    }

    < /script >

    3. connect the onLoad event on the body of the html page to the curveVideoPlayerInit()

    you have created.

    < onload = "curveVideoPlayerInit () of body" >... < / body > ""

    econd

    I know very little coding, but I have inserted html several times without any problems! I don't know where I am going wrong.

    I followed the directions above. Went to the page where the player will be inserted. Went to the properties of the page and insert the following: < script type = "text/javascript"

    src=" https://CDN.curvedental.com/videoplayer-1.1-min.js ' >< /script > "in the space for" HTML < head >. .

    I then object > insert HTML code the following:

    < script >

    function curveVideoPlayerInit() {}

    var = new CurveVideoPlayer({) video

    item: document.getElementById ('player'), //id

    of the domNode to replace

    showFooter: true, / / this will show down

    article including playlist drop-down list

    Line1: "Dr. Nobody Office", //Text to show that

    first line under the drive

    row2: "Call anytime" //Text to show as the second

    line under the drive

    });

    Video.init ();

    }

    < /script >

    I did not know where to add the step 3 - onLoad event?

    That's what I see when I preview the page in the browser:

    Screen Shot 2015-12-30 at 12.51.38 PM.png

    The player should be in the body of the text. Help, please! The old VCR will no longer work after 1 January.

    Thanks in advance for anyone who can offer any help! I contacted the seller and told me that it is possible that the Muse does not support the player. Is this possible?

    Hello

    Please try this.

    Step 1:

    Open the page in Design view, go to Page > Page Properties > metadata > past the HTML code below in forsection

    We had to create JS codes to simulate onload in the body (with the help of the code in bold).

    
    

    Step 2:

    Paste the code below into the page of the object > insert HTML code

    You were made to default code in bold below and there was incorrect line breaks in the first section of the script

    
    

    Please try and let me know if still face you any issue.

    Kind regards

    Vivek

Maybe you are looking for