Add video player controls?

I have a file video .mov that I need to add 'VCR' video Basic controls to. What are my options?

BTW the .mov file was created on a Mac, but I'm working on a PC with CS4.

Thank you.

Basics of streaming video-
http://www.mediacollege.com/video/streaming/

QuickTime Player code of the above embedded link or convert your MOV to FLV file.

DW easily supports Flash videos.

Insert > media > Flash Video > progressive download.

Choose a skin (the player controls).

Navigate to the FLV file on your site.

Click OK.

Download HTML, SWF, FLV, and Scripts folder on your server.

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB

Tags: Dreamweaver

Similar Questions

  • Autohide the HTML5 player controls when the video is suspended as well.

    The HTML5 player controls will hide after a few seconds when a video begins to play, either click on a YouTube video link, or when the video is taken from the break. However, the controls will be visible as long as the video is paused. The controls are quite obstructive due to certain times when I need a break to see a certain thing in the video in a very short time-frame but got covered by the player controls and disappears when resume playback. So, how to make controls of the HTML5 to hide also automatically a few seconds after the video player is paused or instantly hides when the mouse is outside the area of the drive?

    Hi frfxuser, the embedded player works the way you describe, but YouTube uses scripts to customize the player controls, so you would need a specific YouTube 'hack' to hide the application.

    One possible approach would be to use a Bookmarklet, which is a snippet of JavaScript that you can save on your bookmarks bar or Bookmarks Menu for quick access. The script can assign controls ' view: no ', then when you click on the new button, remove this rule so they show once again and you can return to normal.

    If you want to try it:

    A time of installation:

    (A) select and copy the following script:

    javascript:var s=document.getElementById('stylehidecontrols'); if(s){s.remove();} else{s=document.createElement('style'); s.id='stylehidecontrols'; var r='#movie_player .ytp-gradient-top, #movie_player .ytp-chrome-top, #movie_player .ytp-progress-bar-container, #movie_player .ytp-chrome-controls{display:none !important}'; s.appendChild(document.createTextNode(r)); document.body.appendChild(s);} void 0;

    (B) right click a place on the bookmarks Menu or Bookmarks Toolbar where you want to save the script and choose new bookmark

    (C) in the location box, paste the script, and then in the name box, type something you remember as YT hide and click the Add button

    To use the bookmarklet:

    After clicking on pause, click on the bookmarklet to run the script on the page and hide the controls.

    You can return to the player by clicking on it, but if you want comprehensive controls, click on the bookmarklet button again to remove the hack of the page style.

  • pop ups continue to add to update video player and they keep opening keep tabs. How can I stop it?

    New tabs keep open asking me to update my video player

    If the new tabs are relentless, you may need to restart Firefox Safe mode to get little peace. It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • How to make windows media player my default to add videos?

    Original title: import videos

    Whenever I try to import videos from my camera kodak, data automatically updates the quick time player.

    I have windows vista and have you installed sp2. How to make windows media player my default to add videos?

    Hello

    • What version of Windows are you using?

    You can check this link:

    Change the music or default video player

    http://Windows.Microsoft.com/en-us/Windows7/change-the-default-music-or-video-player

    See also:

    Change the programs that Windows uses by default

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

  • Help with Volume control for the video player

    Hey!

    My video plays and stops correctly on my video player, but I can't understand this volume control. My cursor moves to the way I want it, but the volume does not adjust. Please tell me what is wrong with my code:

    slider_1.onPress = function() {}

    this.startDrag (true, _root.volume_bar1._x, _root.volume_bar1._y, _root.volume_bar1._x + 133, _root.volume_bar1._y);

    }

    slider_1.onRelease = function() {}

    this.stopDrag ();

    }

    slider_1.OnMouseMove = function() {}

    newPoint = new Object();

    newPoint = this ._x

    newPoint = this ._y

    _root.volume_bar1.globalToLocal (newPoint);

    _root.demo_reel.setVolume(-1*newPoint.x);

    }

    I watched a tutorial and died this code, but of course my own instance names.

    Thanks in advance!

    use:

    paramsF (slider_1, _root.volume_bar1._x, 0, _root.volume_bar1._x + 133 100);

    slider_1.onPress = function() {}

    this.startDrag (true, _root.volume_bar1._x, _root.volume_bar1._y, _root.volume_bar1._x + 133, _root.volume_bar1._y);

    }

    slider_1.onRelease = function() {}

    this.stopDrag ();

    }

    slider_1.OnMouseMove = function() {}

    _root.demo_reel.volume = this.m * this._x + this.b;

    }

    function paramsF(mc:MovieClip,x1:Number,y1:Number,x2:Number,y2:Number):Void {}

    MC.m =(Y1-Y2) /(x1-x1);

    MC.b = Y1 - mc.m * x 1;

    }

  • How to control a built-in video player of CS5?

    Hello!

    So, there's this video player that opens, when I import an flv video in my fla (Flash CS5) project. It can be customized with different buttons, but I would like that it has a button which redirects me to a web page that opens in a new tab in the browser.

    The problem is, I want the video to stop when the button is clicked and the new tab opens. but I can only add this button outside the flv player, so if I call an actionscript stop(); It affects her, she continued to play.

    How to stop it?

    Thanks: sassom

    If you use the FLVPlayback component, you must assign an instance name and then use that name to target for him to stop.

    You assign an instance name to it by selecting on the stage and by entering its name in the properties panel where it says .  Then in the button event handler code use you that name to indicate to the player to stop... If you call it flvPlayer, you would use: flyPlayer.stop ();

  • Am I being hacked from a website of popup saying I need to update my video player?

    I've been on Fingerhut. com (first time) when a popup that has engulfed the entire page said that I had to update my video player and should be less than one minute, 10 seconds actually. He just didn't feel, so I googled and he came is a scam, at least I'm sure it's a scam, I moved my mouse over the button install and the link was helpingtrk.com/base2.php. I googled url and is came up with what I thought was a a forum page, but it was another page of the scam, the url that has been http://mediaupdate15.com/418888/?v1=1 & v2 = 1 & v3 = 1 AND when I looked in my 'history', that the link had a greyed link that has been http://za1.zeroredirect1.com/zcvisitor/a7c6b420-12eb-11e5-bbcf-0a936b024545 that appears in my cookies in gray.

    I NEVER clicked on anything whatsoever on the pages, my question is, just being on these pages, I got my computer infected by a virus?

    If you have not downloaded anything, then most likely you are not infected. But it is worth checking:

    (1) open the Control Panel, uninstall a program. After the loading of the list, click on the column heading "installed on" to group infections, I mean additions by date. This should help discover any install/updater that can push other unwanted software. Beware of everything that you don't recognize / remember, since malware often uses sounding names important or innocent to discourage you remove. Out as much garbage as possible here.

    (2) very probably, it was generated by an ad in the site, but please check for bad just in case modules.

    Open Firefox page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons
    • in the Windows "Run" dialog box, type or paste
      firefox.exe "about:addons"

    In the left column, click on Plugins. Set essential and unrecognized plugins 'never enable '.

    In the left column, click Extensions. Then, in case of doubt, disable (or delete, if possible) not recognized and unwanted extensions.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    (3) Finally, you can complete your security software regular with sweeping/cleaning of the tools listed in our technical support article: Troubleshooting Firefox problems caused by malware. These scanners on request are free and take a long time to run. If they end quickly, especially if they require the payment you have a serious infection. I suggest the specialty forums listed in the article in this case.

    Clean it up?

  • Real Video Player/Adobe Flash Player

    I had problems in the past with my video player crashing using Adobe Flash player, including videos of Yahoo.com and my Real Player and now he disappeared totally dead. I tried to uninstall and reinstall Flash Player without problem, however when playing either video sites, Yahoo said "you must install Adobe Flash Player and Real Player said it must download component Add ' l to allow the video play, (of course once you do it does not help a bit)! The only thing I've done is to try to install Service Pack 2 on my system, but Needless to say, I'm having a devil of a time to perform this task no matter which reinstalls, backing up files, or what ever codec, or something that was recommended to me, so if anyone knows how to operate, or if it is even required to keep my system any information is greatly appreciated! OBE a Canope, U R my only HOPE?  Thank you in advance! Lorenzo

    Hi Lorenzo,.

    A. you use internet explore browser?

    B. recent changes made on your computer?

    Adobe flash player cannot have been uninstalled completely. I recommend you use the adobe removal tool to remove adobe flash player then download the latest version on your computer and check if the problem persists.

    Put your computer in a clean boot and disable security software before installing flash player on your computer.

    http://support.Microsoft.com/kb/929135

    NOTE: Place your computer to a normal startup after installation of flash player. Follow step 7.
    NOTE: Activate security software.

    How do I uninstall the plug-in Adobe Flash Player and ActiveX control
    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Install Adobe Flash Player
    http://get.Adobe.com/flashplayer/

    Note: Microsoft does not control the websites of third parties and has not tested any software on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there.

    I hope this helps.

    Bindu S -Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • aid is the development of components for the AS3 video player

    Hi all

    I'm looking for a video player that

    can be resized at design time with should stretch controls (play, pause

    button, volume seekbar controls full button screen etc.)

    I found the same

    kind of player in AS2.0 here. The best part is that it can be resized in the design

    should have stretch of time with its controls.

    emehmedovic.com/xmca/toobplayer/

    You may have already looked at this but, you can use a flvplayback component that has no controls and then add the controls that you are interested in individually to the scene. You can then size and position the control components you want and then use Actionscript to connect each component control for the flvplayback component.

  • Video player does not play movie every time

    Hello

    I am a beginner with flash technology . I use "Flex builder 4.5" and tries to insert a video on a web site that play a lot of films (on DP or Direct Play mode).

    My problem is that the video player does not load the film selected each time (it fail to initialize) and (how to explain properly...) when gel loading, if I select the same movie again in the list, it load it in a second.

    For me, a video is "charged" when metadata are received (video in day time) and the play button is on.

    But the method is called to load the video (in fact initialization) is the same every time. I have change the attribute 'source' of the video player, and the initialize() method is called automatically.

    Can you help me find how to make sure that load a video on my player (in 100% of cases) which extends from the Flex mx.controls.VideoDisplay?

    Or can you explain why the video player does not load the video as well on Firefox than IE or SAFARI (on MAC)? Is the plugin different? Because on an old computer with IE, the video player do not work at all (never load movies).

    For now, I think to add a timer on load and every 30 seconds restart the method init if video not yet initialized. But this isn't a solution, just a patch that may not work.

    I'm french, sorry for syntax errors or other. I tried to be as clear as possible. Feel free to correct me!

    Happy new year to all...

    Okay, I solved it by myself.
    So if this could help someone, I use the attribute "stateChange" of the VideoDisplay component to manage the loading film correctly.

    This site help me powerfully:

    http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-FLV-w ith the videodisplay control.

    Good luck next time.

  • 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]

  • How can I get rid of this suspicious popup: 'your video player Firefox must be updated. Last version released: 12 September 2015 "?"

    I believe that I have a piece of malware affecting firefox. I frequently get a popup, allegedly from Mozilla, saying: Your Firefox video player needs to be updated. Latest published version: [today].
    Malwarebytes didn't find anything. Trend Micro is nothing. I can't find anything. Can you offer any help.

    If you are interested to try other free malware scanners, here's a list:

    However, I suspect that the problem may be caused by one of your addons. I think that maybe it's the MediaPlayer 3.3.2 available to you.

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    More information on the use of safe mode can be found here:

  • The update for the video player is for Windows, I have a Mac, is an another scheduled update?

    I received two notifications that the video player for Firefox should be updated. When I try to install the update, I get the message that it cannot do so because it is impossible to run Windows applications on a Mac. An update is planned for Macs? Also, if an update is only for Windows, is there a way I can indicate that I don't need, so I continue to receive messages?

    You have malicious software! (Yes, Macs can get malware).

    Please remove this extension and see if that helps: MediaPlayer 3.3.2

    You can do this on the page modules. Either:

    • CMD + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then find this suspicious extension on the right side and remove (or, in case of doubt, disable).

    Often, a link will appear above at least an extension disabled/removed to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Which solves the misleading guests?

  • Qosmio X 770 - are looking for best free video player to play with 2D to 3D movie

    I have a Qosmio X 770 with NVidia 3D playback. I'm looking for the best free video player for playback of video clips 2D to 3D.

    Toshiba Video Player works fine, but I can't get it to play files in MP4 - AVC format. Is it possible to add codecs so it will play other formats?

    NVIDIA 3D Vision Player don't play all formats but when in 3D mode, there is no access to the commands. Volume can be set with the function keys and video can be suspended with combinations of keys that do not forget, but you can not fast to the front/back or access the slider to change the video position.

    Both are reasonable solutions, but none is perfect. Is there a better option out there? I tried StereoscopicPlayer but could not operate and it is limited to 5 minutes of play in any case.

    Both are reasonable solutions, but none is perfect.

    Software freeware as a perfect solution?
    I don't think you will get this software just for free...

    How to convert 2D to 3D in 2D to 3D converters movies?
    The KM Player supports also the 2D to 3D feature but does not support all formats... you have to pay for the full version get full support.
    Of course as large PowerDVD, but not for free.

  • 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.

Maybe you are looking for

  • Text-to-speech no longer works correctly

    I just bought a new iphone 5 s.  Text to compose text messages from dictation speech worked perfectly out of the box. Six days later, however, he cannot deal with my voice.  It crashes just with arrow of rotation in the text box after you finish talk

  • I can't download, I can't download it please help!

    Hi, I can't download OS X Capitan 10.11.3, GB of download 5.08 and STOP, I have waited long for this version, and I can't download! Please help me. You can not download from another server?

  • Messages is to combine two people into a path of conversation

    Messages decided that my husband and my son are the same person. Unfortunately they have the same name, but even if I corrected my address book to my son 'II' list their photo (and the name with the 'II') always happen when I'm in conversation with m

  • Cannot re - open 5.2 Pages document just created.

    After spending a good all by creating a new document (not very complex) in the Pages, I saved and closed, and now when I try to open it, I get the following message: "(XXX) could not be opened." The index.xml file required is missing. "I had tried ea

  • Impossible to listen to protected music

    original title: Media Player recently had work done on my computer, I protected and unprotected music on my Media Player after the work was done, I can't play protected music or RIP protected music.     What is the problem?