Stop video player
Hello,
i have a stop command on my actions layer at frame 20. There
is a button on the stage that will go to frame 21 and contnue
playing the timeline when pressed. I want my video which starts on
frame 1 to stop once the go to frame 21 button has been pressed.
Currently when the button is pressed, the video continues to play.
What code do i need and where do I put it, in the player
layer, or the button layer? I hope this is clear.
thanks,
here is the code for the player layer:
var videoConnection:NetConnection = new NetConnection();
videoConnection.connect(null);
var videoStream:NetStream = new NetStream(videoConnection);
videoStream.play("
http://www.video.flv");
var metaListener:Object = new Object();
metaListener.onMetaData =onMetaData;
videoStream.client = metaListener;
var video:Video = new Video();
video.attachNetStream(videoStream);
addChild(video);
video.y = 70;
video.x = 440;
function onMetaData(data:Object):void
play_btn.addEventListener(MouseEvent.CLICK, playMovie);
stop_btn.addEventListener(MouseEvent.CLICK, stopMovie);
function playMovie(event:MouseEvent):void
videoStream.play("
http://www.video.flv");
function stopMovie(event:MouseEvent):void
videoStream.pause();
Here is the code from the button layer:
hor.addEventListener(MouseEvent.CLICK, goForward);
hor.buttonMode = true;
function goForward(event:MouseEvent):void {
gotoAndPlay(hor.currentFrame + 21);
See this cool mp3 xml player with visualization, playlist and
skins. Fully customisable. Vector.
http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851
Similar Messages
-
Sometimes, when Firefox has been open on my laptop for a few minutes but I've not been active on it, a new tab will automatically open up with a message saying, for example, that I should download a new video player or some PC cleaner software. I know it must be some kind of spam or malware, and I normally just close the tab, but I'm curious as to why this happens and how I can stop it from happening again.
That says a plugin needs updating. Open '''''Firefox > Add-ons > Plugins'''''.
Above the first plugin is a link that will check your plugins. Please use it. -
I can't play MPEG4.avi, or any other, video - all I get is "The video player has stopped working. Please relaunch". Please tell me what to do.
I took the video in 2009. I can't remember the camera model I took it with and the other information you request does not show up in the "i" panel in iPhoto.
My version of iPhoto 11 is 9.2.3. -
It explains things on my end. I hope you guys are not in on this. It's intrusive and rather pushy at that. I don't feel I should have to download another video player. The name of the company is updatevideos<i></i>.com. I went there and it took me to api<i></i>.adrenalads<i></i>.com and then to mojopages<i></i>.com!!! If some lumphead is trying to get over on me , I ain,t buyin'!!!
THANKS, AndyHi rimshot69, did you check for an extension in Firefox? To see whether one of those might be involved, you could try one of the following:
(1) Manually Disable ALL nonessential and/or unrecognized extensions on the following screen. If in doubt, disable:
orange Firefox button (or Tools menu) > Add-ons > Extensions category
Then restart Firefox using the handy links provided for that purpose and see whether the messages stop.
(2) Test in Firefox's Safe Mode
That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using
Help > Restart with Add-ons Disabled
Any difference?
You also may want to run some supplemental scans. These three tools are highly regarded (and free):
* Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
* SUPERAntiSpyware : http://www.superantispyware.com/
* AdwCleaner : http://www.bleepingcomputer.com/download/adwcleaner/ ''(ignore banner ads for other products)'' -
Video play stops Flash player 11.8 - Chrome
Video player stops after some minutes and I have found no way to continue them.
I've checekd my connectivity by simply opening other browser window and response times are right.
I'm using Windows Vista SP 1 for 64 bits Adnd Chrome Versión 29.0.1547.66 m
Flash Player version:
Version: i360Core 2.0 build 1309041555
ID: 4677731
Position: 1630 seconds
Domain: mp4-500-strfs.fplive.net/mp4-500-str
Protocol: rtmp
Extension: mp4
Transfer: 30 Bytes
Video size: 640 x 360
Audio codec: mp4a
Video Codec: avc1
Current speed: 0 bps
Max speed: 0 bps
Video FPS: 25
Current FPS: 0.00
Audio frequency: 44100 hz
Memory: 58.61 MB
Buffer: 0%
Buffer size: 0.202 seconds
Dropped Frames: 1
Is there anything I can check to find and solve the problem?"Chrome plays videos fine
HTML5 Player plays fine in all browsers"
Chrome has its own embedded Flash Player - the installed version DOESN'T affect it.
HTML5 DOESN'T use Flash (It's MP4 or webm)
Download the Flash Player uninstaller. Flash Player uninstaller
Download the Adobe Flash Player installer directly by clicking the following links.
Flash Player for ActiveX (Internet Explorer)
Flash Player Plug-in (All other browsers)
SAVE all files.
On each workstation:
Run the uninstaller to remove both ActiveX and regular Flash Player.
Reboot and then run the installers to replace both plugins.
Check to be sure FP is enabled for IE: http://forums.adobe.com/thread/885448
Disable ActiveX filtering: http://forums.adobe.com/thread/867968 -
Video player in iPod 60Gig. Sound stops after a while playing large clips
I have been converting DVDs and large video clips into iPod MPEG 4 format for the iPod with the Xilisoft DVD to iPod Converter 4. This softwrae works just great and the files plays well on my PC with Quick Time player as well as others. When loaded to the iPod they all start OK but the sound disapears after a while. If I fast-forward or backward then it works for a while again.
I do not see this behaviour with short clips (3-5 minutes)
As far as I can see this is related to the MPEG4 player in the iPod. Anyone have a similar problem or some resolution to it.Nope,
But I just discovered that that it is actually not only the sound that stops working but rather the whole video that has a "hick-up" and then when it continues the sound is gone. If I fastforward/rewind then it seem like the player rocovers and play the stream correctly again.
What are the Mp4 clip prefs you have used when converting?
I am planning to try some other settings when converting to see if that makes any difference but I doubt it will help. I think we will have to wait for a "better" i.e. working Video Player for the iPod ... -
How do I stop iTunes from being my default video player
I have a slightly older Macbook Pro, on OSX 10.5.8. I have a bunch of video files on a wireless networked hard drive and the directory mapped to my desktop for easy access. I also have VLC installed for video playback. All the files are *.m4v.
Here is the problem. When I click to open one of these files it starts copying the whole file over the network to my iTunes, and insisting on opening from iTunes. If I click on File -> Open With -> it shows iTunes as the default. I can click on File -> Open With -> VLC and this works just fine.
But how do I change the default video player? All I want to do is stream it over my internal home network, I don't want copy the darn file every time I want to play something.
ThanksMac OS X: Double-Clicking a File Opens the Wrong Application - http://support.apple.com/kb/TS2291
-= Changing the application used to open all files of a certain kind (written with reference to OSX 10.4 but may not have changed) =-
1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
3) In the lower part of the info window there is an "open with" menu with a list of applications.
4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more. Close the get info window.
5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
7) Close the get info window. -
Apple Video Player stops working
I have a Performa 6500/225 running OS 9.1. I also have a (vintage) Apple Video Conference webcam. Along with that I have an original Apple external hard drive. I have the Apple Video Player software on the internal hard drive. For some reason it seems to conflict with a CAD program I have on the external hard drive.
I have tried the clean install as was recommended previously. The AVP will work until I retweak everything. If AVP is working properly then my CAD program doesn't.This is strange because the AVP parts are not on the external drive and the CAD parts are not on the internal drive. Doing a clean install doesn't seem to be the answer. Does anyone know of a way to work around this or perhaps another older driver I might be able to use with my Apple Video Conference cam?
Performa 6500/225 Mac OS 9.1.xI missed the earlier discussion but this may be an extension conflict. Apple Video Player comes, I believe, with an extension that is present in your System folder. That extension will always load to some extent when you start your computer, even if you aren't actually running the application. So AVP is always running to a small degree even if the full application isn't. The CAD program may have its own extensions that may also be conflicting with AVP.
If it is an extension conflict then you may have to deal with it by using extensions manager to build two different sets of extensions for when you want to use the different programs and restart in between(yeah, a pain). Alternatively you can sometimes get around these conflicts by renaming you culprit extensions so they load in a different order (for example, by putting putting a "z" in front of one name, though that's usually to address conflicts that causes freezes at startup.
Normally it doesn't matter where you keep applications in terms of drives - that doesn't cause conflicts or resolve them. It's when they are running, or they have extensions that start when you boot your computer that causes the problem.
One other thing you could try would be to upgrade your computer OS to 9.2.2. Maybe things would run more cleanly under the newer OS. The upgrades from 9.1 would be free so there's no harm in trying. -
HT201412 video player just stopped working
video player does not play screen just goes black
Quit the videos app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Or ..... Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Sometimes this will restart the videos app when you get the black screen. Swipe to the right from your first home screen to get to the iPad Spotlight search. Type in the name of any of your movies in the field at the top. When the movie appears in the search - tap on it and it should start to play. Let it play for a minute or so - hit done - go back to videos app and see if all is OK. -
How to stop video from playing?
Hi,
i have a problem that i've already see that is pretty usual, the videoplayer that i have works fine but when i click in a button to go to another page the videoplayer doesn't stop,the audio continues playing even when i'm not on the videoplayer page.
I've already found some solutions in the web but none of them worked,probably because i didn't put them in the right place
The code is a little long:
// ############# CONSTANTS
// time to buffer for the video in sec.
const BUFFER_TIME:Number = 8;
// start volume when initializing player
const DEFAULT_VOLUME:Number = 0.6;
// update delay in milliseconds.
const DISPLAY_TIMER_UPDATE_DELAY:int = 10;
// smoothing for video. may slow down old computers
const SMOOTHING:Boolean = true;
// ############# VARIABLES
// flag for knowing if user hovers over description label
var bolDescriptionHover:Boolean = false;
// flag for knowing in which direction the description label is currently moving
var bolDescriptionHoverForward:Boolean = true;
// flag for knowing if flv has been loaded
var bolLoaded:Boolean = false;
// flag for volume scrubbing
var bolVolumeScrub:Boolean = false;
// flag for progress scrubbing
var bolProgressScrub:Boolean = false;
// holds the number of the active video
var intActiveVid:int;
// holds the last used volume, but never 0
var intLastVolume:Number = DEFAULT_VOLUME;
// net connection object for net stream
var ncConnection:NetConnection;
// net stream object
var nsStream:NetStream;
// object holds all meta data
var objInfo:Object;
// shared object holding the player settings (currently only the volume)
var shoVideoPlayerSettings:SharedObject = SharedObject.getLocal("playerSettings");
// url to flv file
var strSource:String = root.loaderInfo.parameters.playlist == null ? "playlist.xml" : root.loaderInfo.parameters.playlist;
// timer for updating player (progress, volume...)
var tmrDisplay:Timer;
// loads the xml file
var urlLoader:URLLoader;
// holds the request for the loader
var urlRequest:URLRequest;
// playlist xml
var xmlPlaylist:XML;
// ############# STAGE SETTINGS
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
// ############# FUNCTIONS
// sets up the player
function initVideoPlayer():void {
// hide video controls on initialisation
mcVideoControls.visible = false;
// hide buttons
mcVideoControls.btnUnmute.visible = false;
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnFullscreenOff.visible = false;
// set the progress/preload fill width to 1
mcVideoControls.mcProgressFill.mcFillRed.width = 1;
mcVideoControls.mcProgressFill.mcFillGrey.width = 1;
// set time and duration label
mcVideoControls.lblTimeDuration.htmlText = "<font color='#ffffff'>00:00</font> / 00:00";
// add global event listener when mouse is released
stage.addEventListener(MouseEvent.MOUSE_UP, mouseReleased);
// add fullscreen listener
stage.addEventListener(FullScreenEvent.FULL_SCREEN, onFullscreen);
// add event listeners to all buttons
mcVideoControls.btnPause.addEventListener(MouseEvent.CLICK, pauseClicked);
mcVideoControls.btnPlay.addEventListener(MouseEvent.CLICK, playClicked);
mcVideoControls.btnStop.addEventListener(MouseEvent.CLICK, stopClicked);
mcVideoControls.btnNext.addEventListener(MouseEvent.CLICK, playNext);
mcVideoControls.btnPrevious.addEventListener(MouseEvent.CLICK, playPrevious);
mcVideoControls.btnMute.addEventListener(MouseEvent.CLICK, muteClicked);
mcVideoControls.btnUnmute.addEventListener(MouseEvent.CLICK, unmuteClicked);
mcVideoControls.btnFullscreenOn.addEventListener(MouseEvent.CLICK, fullscreenOnClicked);
mcVideoControls.btnFullscreenOff.addEventListener(MouseEvent.CLICK, fullscreenOffClicked);
mcVideoControls.btnVolumeBar.addEventListener(MouseEvent.MOUSE_DOWN, volumeScrubberClicked);
mcVideoControls.mcVolumeScrubber.btnVolumeScrubber.addEventListener(MouseEvent.MOUSE_DOWN , volumeScrubberClicked);
mcVideoControls.btnProgressBar.addEventListener(MouseEvent.MOUSE_DOWN, progressScrubberClicked);
mcVideoControls.mcProgressScrubber.btnProgressScrubber.addEventListener(MouseEvent.MOUSE_ DOWN, progressScrubberClicked);
mcVideoControls.mcVideoDescription.btnDescription.addEventListener(MouseEvent.MOUSE_OVER, startDescriptionScroll);
mcVideoControls.mcVideoDescription.btnDescription.addEventListener(MouseEvent.MOUSE_OUT, stopDescriptionScroll);
// create timer for updating all visual parts of player and add
// event listener
tmrDisplay = new Timer(DISPLAY_TIMER_UPDATE_DELAY);
tmrDisplay.addEventListener(TimerEvent.TIMER, updateDisplay);
// create a new net connection, add event listener and connect
// to null because we don't have a media server
ncConnection = new NetConnection();
ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
ncConnection.connect(null);
// create a new netstream with the net connection, add event
// listener, set client to this for handling meta data and
// set the buffer time to the value from the constant
nsStream = new NetStream(ncConnection);
nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nsStream.client = this;
nsStream.bufferTime = BUFFER_TIME;
// attach net stream to video object on the stage
vidDisplay.attachNetStream(nsStream);
// set the smoothing value from the constant
vidDisplay.smoothing = SMOOTHING;
// set default volume and get volume from shared object if available
var tmpVolume:Number = DEFAULT_VOLUME;
if(shoVideoPlayerSettings.data.playerVolume != undefined) {
tmpVolume = shoVideoPlayerSettings.data.playerVolume;
intLastVolume = tmpVolume;
// update volume bar and set volume
mcVideoControls.mcVolumeScrubber.x = (53 * tmpVolume) + 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
setVolume(tmpVolume);
// create new request for loading the playlist xml, add an event listener
// and load it
urlRequest = new URLRequest(strSource);
urlLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, playlistLoaded);
urlLoader.load(urlRequest);
function playClicked(e:MouseEvent):void {
// check's, if the flv has already begun
// to download. if so, resume playback, else
// load the file
if(!bolLoaded) {
nsStream.play(strSource);
bolLoaded = true;
else{
nsStream.resume();
vidDisplay.visible = true;
// switch play/pause visibility
mcVideoControls.btnPause.visible = true;
mcVideoControls.btnPlay.visible = false;
function pauseClicked(e:MouseEvent):void {
// pause video
nsStream.pause();
// switch play/pause visibility
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnPlay.visible = true;
function stopClicked(e:MouseEvent):void {
// calls stop function
stopVideoPlayer();
function muteClicked(e:MouseEvent):void {
// set volume to 0
setVolume(0);
// update scrubber and fill position/width
mcVideoControls.mcVolumeScrubber.x = 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = 1;
function unmuteClicked(e:MouseEvent):void {
// set volume to last used value or DEFAULT_VOLUME if last volume is zero
var tmpVolume:Number = intLastVolume == 0 ? DEFAULT_VOLUME : intLastVolume
setVolume(tmpVolume);
// update scrubber and fill position/width
mcVideoControls.mcVolumeScrubber.x = (53 * tmpVolume) + 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
function volumeScrubberClicked(e:MouseEvent):void {
// set volume scrub flag to true
bolVolumeScrub = true;
// start drag
mcVideoControls.mcVolumeScrubber.startDrag(true, new Rectangle(318, 19, 53, 0)); // NOW TRUE
function progressScrubberClicked(e:MouseEvent):void {
// set progress scrub flag to true
bolProgressScrub = true;
// start drag
mcVideoControls.mcProgressScrubber.startDrag(true, new Rectangle(0, 2, 432, 0)); // NOW TRUE
function mouseReleased(e:MouseEvent):void {
// set progress/volume scrub to false
bolVolumeScrub = false;
bolProgressScrub = false;
// stop all dragging actions
mcVideoControls.mcProgressScrubber.stopDrag();
mcVideoControls.mcVolumeScrubber.stopDrag();
// update progress/volume fill
mcVideoControls.mcProgressFill.mcFillRed.width = mcVideoControls.mcProgressScrubber.x + 5;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
// save the volume if it's greater than zero
if((mcVideoControls.mcVolumeScrubber.x - 318) / 53 > 0)
intLastVolume = (mcVideoControls.mcVolumeScrubber.x - 318) / 53;
function updateDisplay(e:TimerEvent):void {
// checks, if user is scrubbing. if so, seek in the video
// if not, just update the position of the scrubber according
// to the current time
if(bolProgressScrub)
nsStream.seek(Math.round(mcVideoControls.mcProgressScrubber.x * objInfo.duration / 432))
else
mcVideoControls.mcProgressScrubber.x = nsStream.time * 432 / objInfo.duration;
// set time and duration label
mcVideoControls.lblTimeDuration.htmlText = "<font color='#ffffff'>" + formatTime(nsStream.time) + "</font> / " + formatTime(objInfo.duration);
// update the width from the progress bar. the grey one displays
// the loading progress
mcVideoControls.mcProgressFill.mcFillRed.width = mcVideoControls.mcProgressScrubber.x + 5;
mcVideoControls.mcProgressFill.mcFillGrey.width = nsStream.bytesLoaded * 438 / nsStream.bytesTotal;
// update volume and the red fill width when user is scrubbing
if(bolVolumeScrub) {
setVolume((mcVideoControls.mcVolumeScrubber.x - 318) / 53);
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
// chech if user is currently hovering over description label
if(bolDescriptionHover) {
// check in which direction we're currently moving
if(bolDescriptionHoverForward) {
// move to the left and check if we've shown everthing
mcVideoControls.mcVideoDescription.lblDescription.x -= 0.1;
if(mcVideoControls.mcVideoDescription.lblDescription.textWidth - 133 <= Math.abs(mcVideoControls.mcVideoDescription.lblDescription.x))
bolDescriptionHoverForward = false;
} else {
// move to the right and check if we're back to normal
mcVideoControls.mcVideoDescription.lblDescription.x += 0.1;
if(mcVideoControls.mcVideoDescription.lblDescription.x >= 0)
bolDescriptionHoverForward = true;
} else {
// reset label position and direction variable
mcVideoControls.mcVideoDescription.lblDescription.x = 0;
bolDescriptionHoverForward = true;
function onMetaData(info:Object):void {
// stores meta data in a object
objInfo = info;
// now we can start the timer because
// we have all the neccesary data
if(!tmrDisplay.running)
tmrDisplay.start();
function netStatusHandler(event:NetStatusEvent):void {
// handles net status events
switch (event.info.code) {
// trace a messeage when the stream is not found
case "NetStream.Play.StreamNotFound":
trace("Stream not found: " + strSource);
break;
// when the video reaches its end, we check if there are
// more video left or stop the player
case "NetStream.Play.Stop":
if(intActiveVid + 1 < xmlPlaylist..vid.length())
playNext();
else
stopVideoPlayer();
break;
function stopVideoPlayer():void {
// pause netstream, set time position to zero
nsStream.pause();
nsStream.seek(0);
// in order to clear the display, we need to
// set the visibility to false since the clear
// function has a bug
vidDisplay.visible = false;
// switch play/pause button visibility
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnPlay.visible = true;
function setVolume(intVolume:Number = 0):void {
// create soundtransform object with the volume from
// the parameter
var sndTransform = new SoundTransform(intVolume);
// assign object to netstream sound transform object
nsStream.soundTransform = sndTransform;
// hides/shows mute and unmute button according to the
// volume
if(intVolume > 0) {
mcVideoControls.btnMute.visible = true;
mcVideoControls.btnUnmute.visible = false;
} else {
mcVideoControls.btnMute.visible = false;
mcVideoControls.btnUnmute.visible = true;
// store the volume in the flash cookie
shoVideoPlayerSettings.data.playerVolume = intVolume;
shoVideoPlayerSettings.flush();
function formatTime(t:int):String {
// returns the minutes and seconds with leading zeros
// for example: 70 returns 01:10
var s:int = Math.round(t);
var m:int = 0;
if (s > 0) {
while (s > 59) {
m++; s -= 60;
return String((m < 10 ? "0" : "") + m + ":" + (s < 10 ? "0" : "") + s);
} else {
return "00:00";
function fullscreenOnClicked(e:MouseEvent):void {
// go to fullscreen mode
stage.displayState = StageDisplayState.FULL_SCREEN;
function fullscreenOffClicked(e:MouseEvent):void {
// go to back to normal mode
stage.displayState = StageDisplayState.NORMAL;
function onFullscreen(e:FullScreenEvent):void {
// check if we're entering or leaving fullscreen mode
if (e.fullScreen) {
// switch fullscreen buttons
mcVideoControls.btnFullscreenOn.visible = false;
mcVideoControls.btnFullscreenOff.visible = true;
// bottom center align controls
mcVideoControls.x = (Capabilities.screenResolutionX - 440) / 2;
mcVideoControls.y = (Capabilities.screenResolutionY - 33);
// size up video display
vidDisplay.height = (Capabilities.screenResolutionY - 33);
vidDisplay.width = vidDisplay.height * 4 / 3;
vidDisplay.x = (Capabilities.screenResolutionX - vidDisplay.width) / 2;
} else {
// switch fullscreen buttons
mcVideoControls.btnFullscreenOn.visible = true;
mcVideoControls.btnFullscreenOff.visible = false;
// reset controls position
mcVideoControls.x = 0;
mcVideoControls.y = 330;
// reset video display
vidDisplay.y = 0;
vidDisplay.x = 0;
vidDisplay.width = 440;
vidDisplay.height = 241;
function playlistLoaded(e:Event):void {
// create new xml with loaded data from loader
xmlPlaylist = new XML(urlLoader.data);
// set source of the first video but don't play it
playVid(0, true)
// show controls
mcVideoControls.visible = true;
function playVid(intVid:int = 0, bolPlay = true):void {
if(bolPlay) {
// stop timer
tmrDisplay.stop();
// play requested video
nsStream.play(String(xmlPlaylist..vid[intVid].@src));
// switch button visibility
mcVideoControls.btnPause.visible = true;
mcVideoControls.btnPlay.visible = false;
} else {
strSource = xmlPlaylist..vid[intVid].@src;
// show video display
vidDisplay.visible = true;
// reset description label position and assign new description
mcVideoControls.mcVideoDescription.lblDescription.x = 0;
mcVideoControls.mcVideoDescription.lblDescription.htmlText = (intVid + 1) + ". <font color='#ffffff'>" + String(xmlPlaylist..vid[intVid].@desc) + "</font>";
// update active video number
intActiveVid = intVid;
function playNext(e:MouseEvent = null):void {
// check if there are video left to play and play them
if(intActiveVid + 1 < xmlPlaylist..vid.length())
playVid(intActiveVid + 1);
function playPrevious(e:MouseEvent = null):void {
// check if we're not and the beginning of the playlist and go back
if(intActiveVid - 1 >= 0)
playVid(intActiveVid - 1);
function startDescriptionScroll(e:MouseEvent):void {
// check if description label is too long and we need to enable scrolling
if(mcVideoControls.mcVideoDescription.lblDescription.textWidth > 138)
bolDescriptionHover = true;
function stopDescriptionScroll(e:MouseEvent):void {
// disable scrolling
bolDescriptionHover = false;
// ############# INIT PLAYER
initVideoPlayer();No,im not using flvplayback component (i think).
Heres the video player that i'm using:
http://www.thetechlabs.com/tutorials/xml/expanding-the-as3-videoplayer/ -
N8 Video Player and Photo Viewer not working prop...
Hi I just got a N8 a few months ago and its been going great until a month ago.
My video player is not displaying any the videos that I had on the phone or any of the videos I try putting on after. I then tried the photo viewer (it displays video as well for some reason) but that didn't have any of the videos and only some of my photos are being displayed.
I previously had the problem with the music player where it would be stuck on the music updating screen (not frozen) but I solved that by looking through the net and finding that you delete a certain file and it fixed that.
ThanksHaven't figured it out yet, but will post if I find a solution.
The problem is, I'm trying to find a solution to a whole host of other problems on my N97, e.g. The problems I'm having with GPS (Maps 2 and 3 are both currently unusable), the problems I'm having getting my widgets, email etc to detect which connection I need using etc, the problems I'm having with reception, the problems I'm having with my ringtone etc. So this photo viewer problem is just another issue to add to the list.
As for the Facebook App, if I take a picture using the camera link within the application, it won't let me upload anyway, so I've stopped using it. I just use the standard Facebook Mobile site as the Nokia Facebook App is so slow, it's borders on useless. -
Hi All.
My son has Autism, is 23 and I am trying to teach him to control a video player on ipad 2, I just need a video player with controls ( THAT STAY ON SCREEN CONSTANTLY).
He is able to press the next > icon but when it disappears from the screen he gets confused.
Thank You All In Advance
Rgs
brendanAnother thing I do get this error randomly with other apps like Firefox 22 and Skype too which is strange. my S/N : 602-V260-050B1201119526.
This error is from Skype
Description
A problem caused this program to stop interacting with Windows.
Faulting Application Path: C:\Windows\SysWOW64\WWAHost.exe
Problem signature
Problem Event Name: MoAppHang
Package Full Name: Microsoft.SkypeApp_1.8.0.111_x86__kzf8q xf38zg5c
Application Name: praid:App
Application Version: 6.2.9200.16420
Application Timestamp: 505a90d6
Hang Signature: d908
Hang Type: 2097152
OS Version: 6.2.9200.2.0.0.256.48
Locale ID: 2057
Additional Hang Signature 1: d908164defd45e704df38cec71cdb6e9
Additional Hang Signature 2: db7a
Additional Hang Signature 3: db7a68a61e111f839b8a39fd0e33855c
Additional Hang Signature 4: d908
Additional Hang Signature 5: d908164defd45e704df38cec71cdb6e9
Additional Hang Signature 6: db7a
Additional Hang Signature 7: db7a68a61e111f839b8a39fd0e33855c
Description
A problem with your video hardware caused Windows to stop working correctly.
Problem signature
Problem Event Name: LiveKernelEvent
OS Version: 6.2.9200.2.0.0.256.48
Locale ID: 2057
Files that help describe the problem
WD-20130626-0316-01.dmp
sysdata.xml
WERInternalMetadata.xml
View a temporary copy of these files
Warning: If a virus or other security threat caused the problem, opening a copy of the files could harm your computer.
Extra information about the problem
BCCode: 141
BCP1: FFFFFA8007997010
BCP2: FFFFF880069D42B0
BCP3: 0000000000000000
BCP4: 0000000000000150
OS Version: 6_2_9200
Service Pack: 0_0
Product: 256_1 -
The video player doesn't !!
My iphone is a new 5s, its video player doesn't work sometimes and sometimes it just play the first 10 second then stops !!
Pleas tell me if this a common issue so i can get another iphone >>List the troubleshooting steps that you have tried so far.
Examples:
1) Restart the device
2) Reset the device
3) Reset All Settings of the device
4) Restore from a backup
5) Restore as new
Which of these have you tried, and what effect has it had? -
Tv show won't display or play in iPhone 6 Video player
I have an iPhone 6, kept up to date with the latest version and backed up every day. I purchase a subscription to The Soup TV show through iTunes but I can't get the latest, downloaded episode to display in the standard iPhone Video player (or any of the video player apps I've tried downloading). I have tried downloading it from the "Get More Episodes" link on my iPhone, by clicking on the link to the episode in the email alert, and downloading it on my Macbook Pro then dragging and dropping it over to my iPhone. I cannot get it to show up! And old episodes I've deleted will not stop displaying, even if I delete them on my iPhone or manually delete them using iTunes. They used to stop displaying if I managed them in iTunes but upgrades .
Is it just this TV show or is there something I'm just not doing? Thanks!
LauraYamiPod is third party software for retrieving files from your iPod and copying them to iTunes. You can check out the web page for documentation. It's normally used on a fully functioning iPod where there's been a loss of iTunes due to a crash for instance. It may or may not work in your case but you'll find it at this link: YamiPod
-
Why are Java and Video Player updates appearing in Safari
Today these fake Java and Video Player update pop ups started appearing in Safari 6.2.4, in OS 10.8.5. The Java updates say I need version 13 which doesn't exist and the video player pop ups are gray with a red square that resemble the Adobe colors. These are popping up on almost every page I load in Safari.
I've looked in the Launch Daemons folder and that other Launch folder that keeps being recommended in the post that says I don't need to download anything and there is nothing out of the ordinary there. How do I stop these pop ups?
TracyThe update alerts are indeed fake, and are intended to dupe you into installing malware or disclosing private information so that your identity can be stolen.
You might get the alerts when visiting a website that has been hacked. Don't visit the site again. If applicable, notify the site administrator of the problem, but don't send email to an unknown party.
If you get the alerts when visiting more than one well-known website, such as Google, YouTube, or Facebook, then they may be the result of an attack on your router that has caused you to get false results from looking up the addresses of Internet servers. Requests sent to those sites are redirected to a server controlled by the attacker. It's possible, but less likely, that the DNS server used by your ISP has been attacked.
Back up all data.
Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
8.8.8.8
8.8.4.4
That's Google DNS. Click OK, then Apply.
In Safari, select
Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
and confirm. If you’re using another browser, empty the cache. Test. If the fake update alerts stop, see below. Otherwise, ask for instructions.
The router's documentation should tell you how to reset it to the factory default state. Usually there's a pinhole switch somewhere in the back. It may be labeled "RESET." Insert the end of a straightened paper clip or a similar tool and press the button inside for perhaps 15 seconds, or as long as the instructions specify.
After resetting the router, quit the web browser and relaunch it while holding down the shift key. From the Safari menu bar, select
Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
and confirm. Do the equivalent if you use another browser. Open the Downloads folder and delete anything you don't recognize.
Then go through the router's initial setup procedure. I can't be specific, because it's different for every model. The key points are these:
1. Don't allow the router to be administered from the WAN (Internet) port, if it has that option. Most do.
2. Set a strong password to protect the router's settings: at least ten random upper- and lower-case letters and digits. Don't use the default password or any other that could be guessed. Save the password in your keychain. Any password that you can remember is weak.
3. If the router is wireless, or if you have a wireless access point on the network, use "WPA 2 Personal" security and set a different strong password to protect the network. If the router or access point doesn't support WPA 2, it's obsolete and must be replaced.
During the time the router was compromised, you were redirected to bogus websites. If you ever connected to a secure site and got a warning from your browser that the identity of the server could not be verified, and you dismissed that warning in order to log in, assume that your credentials for the site have been stolen and that the attacker has control of the account. This warning also applies to all websites on which you saw the fake update alerts.
Check the router manufacturer's website for a firmware update.
If you downloaded and installed what you thought was a software update, ask for instructions.
Maybe you are looking for
-
Retrival of Control Key of Operation & Table underneeth the structure
Hi Experts, Right now i'm working on PP and PM related stuff, I'm in the middle of the project and stucked down at a point in how to retrive the control key of operation that triggered the update in production order: opoerational view. (CO03). Als
-
Binary file data plugin : navigating through different data types
Hi I am currently trying to load a binary file into DIAdem with the following structure: block 1 1x 8-bit ascii 12x double block 2 1280x int16 block 3 1280x int16 block 4 12x double block 5 1280x int16 block 6 1280x int16 block 7 12x double block 8 1
-
i got the windows 7 with the latest version of itunes and every time that i try to plug my iphone 3gs to my computer (itunes) it starts syncing by itself i think thats normal but as soon it finish sync... an error meseges pops out saying: "itunes has
-
Flash Player 13 not working on Youtube
I have just downloaded the lastest Flash Player [13] and now cannot view Youtube videoes.Why?
-
Configuring Checkpoint() in DEV and Prod
Hi Gurus, BPEL process has many java EmbedS with checkpoint() ( no java code) and want to configure to avoid the checkpoints being executed in the process in Production and keep them running in DEV. Is there any way to configure it ? Thanks, Carl