Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




FLV Video Wont Play For Some People



I recently shot a short video for a company and put an FLV file on there website. They sent a link out to all there customers, and it played fine for me and most of them. But one customer (It's always one) is having trouble viewing the video. They have upgraded to the latest version of flash (I put a download flash button on top of the webpage), and from what I have been told they are using IE 6.

They say "No video screen is visible – there is a blank area where the video should be, and then there is a “play/forward” bar that has black and green striped bar in the download indicator area."

I suggested that they upgrade there version of IE, but I have a feeling they will still have trouble with this.

Any help would be appreciated.



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 09-04-2008, 07:29 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How To Make One Scene In An Auto Loader Pause And Then Play On Its Own (so People Can
how to make one scene in an auto loader pause and then play on its own

Play Diffrent Video Infront Of Bigger Video
Hey guys, and many thanks to all the gurus for taking the time to help us none gurus out.

I'm using Flash CS3 with AS3, and using .swf to stream .flv

Here is want i would like to do:


I have some video clips that i am playing in a .swf (MAIN.swf)(i am doing this via streaming .flv) and its working fine. What i would like to is have a shorter video (SMALL.swf)(which will also be a .swf via .flv) play before the MAIN.swf, and i want to rotate or change the SMALL.swf every 3 times the SMALL.swf gets played and keep the MAIN.swf constant. With a cycle of about 3 diffrent SMALL.swf's going down a list SMALL1.swf, SMALL2.swf, etc. I would, if it is an all-in-one .swf, to have a preloader. Kinda like this:

Page loads...
Preload....
SMALL1.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL1.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL1.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL2.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL2.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL2.swf...plays....MAIN.swf.....done.

Page loads...
Preload....
SMALL3.swf...plays....MAIN.swf.....done.

etc.....

I'm pretty sure you have to store a varible somewhere, somehow to keep up with the loads.

I'm not sure where to begin with this, Im not the best at AS...so any code you can give me would be awesome. Thanks
__________________
Sorry....I can't spell to save my life...Enjoy

XML Video Gallery: How Do I Target A Video To Play In Popup?
Ok, so we have an XML driven video gallery... pretty common.

On our site, we have various stories that will need links to open a popup containing the video gallery and play a specific video from the library.

How can I target a certain video (define the contentPath) with a link on an HTML page thru the window.open javascript command.

For instance:

This link will open videoA.flv

This link will open videoB.flv

Hope that makes sense.

Flash Video: Play Intro Before Video
Hey guys, first post, and already i'm requesting something, sorry about that. I wish to give a big thanks to Lee and all the users helping out here, being a total newb at actionscript, I found alot of useful tips and tuts. Ok now to the point of my request.

I created a custom player following the video basics (which is a great tut by the way), now what I would like to do is that each time someone plays a video on my website, they have this short 2 second intro play first, and then have the actual video start playing, and when it reaches the end, have the player return to the start of this video and stop, so that people don't have to watch the intro a 2nd time (unless they go and play another video, or leave and come back).

So in other words, have 2 flv files, one for the intro and one for the video, just so I don't have to edit each of my videos manually to add the intro, before encoding them. I thought of using a XML playlist, the problem is that i'm loading the videos dynamically through flashvars so it wouldn't be practical.

Hope this makes sense. Any help at all with this would be greatly appreciated. Thanks in advance!

XML Video Playlist: Cannot Get 2nd Video To Play Upon Click
Hey guys. I did the video tutorials exactly as indicated on the site here but I cannot seem to get the second video to play once I click on that item in the video list. There are not action script errors. I have attached my action script and the .xml file. Any help would be greatly appreciated since I'm trying to meet a deadline. Thanks.

Here is my action script code:
Code:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(3);
ns.onStatus = function(info) {
   if (info.code == "NetStream.Buffer.Full") {
      bufferClip._visible = false;
   }
   if (info.code == "NetStream.Buffer.Empty") {
   }
   if (info.code == "NetStream.Play.Stop") {
      ns.seek(0);
   }
};
theVideo.attachVideo(ns);
rewindButton.onRelease = function() {
   ns.seek(0);
};
playButton.onRelease = function() {
   ns.pause();
};
var videoInterval = setInterval(videoStatus, 100);
var amountLoaded:Number;
var duration:Number;
ns["onMetaData"] = function (obj) {
   duration = obj.duration;
};
function videoStatus() {
   amountLoaded = ns.bytesLoaded/ns.bytesTotal;
   loader.loadbar._width = amountLoaded*137.5;
   loader.scrub._x = ns.time/duration*137.5;
}
var scrubInterval;
loader.scrub.onPress = function() {
   clearInterval(videoInterval);
   scrubInterval = setInterval(scrubit, 10);
   this.startDrag(false, -7, this._y, 128, this._y);
};
loader.scrub.onRelease = loader.scrub.onReleaseOutside=function () {
   clearInterval(scrubInterval);
   videoInterval = setInterval(videoStatus, 100);
   this.stopDrag();
};
function scrubit() {
   ns.seek(Math.floor((leader.scrub._x/128)*duration));
}
var theMenu:ContextMenu = new ContextMenu();
theMenu.hideBuiltInItems();
_root.menu = theMenu;
//new menu
var i1:ContextMenuItem = new ContextMenuItem("::::: Video Controls :::::", trace);
theMenu.customItems[0] = i1;
var i2:ContextMenuItem = new ContextMenuItem("Play / Pause Video", pauseIt, true);
theMenu.customItems[1] = i2;
var i3:ContextMenuItem = new ContextMenuItem("Replay Video", replayIt);
theMenu.customItems[2] = i3;
var i4:ContextMenuItem = new ContextMenuItem("Copyright Brevard Public Schools", trace);
theMenu.customItems[3] = i4;
function pauseIt() {
   ns.pause();
}
function replayIt() {
   ns.seek(0);
}
_root.createEmptyMovieClip("vSound", _root.getNextHightstDepth());
vSound.attachAudio(ns);
var so:Sound = new Sound(vSound);
so.setVolume(100);
mute.onRollover = function() {
   if (so.getVolume() == 100) {
      this.gotoAndStop("onOver");
   } else {
      this.gotoAndStop("muteOver");
   }
};
mute.onOut = function() {
   if (so.getVolume() == 100) {
      this.gotoAndStop("on");
   } else {
      this.gotoAndStop("mute");
   }
};
mute.onRelease = function() {
   if (so.getVolume() == 100) {
      so.setVolume(0);
      this.gotoAndStop("muteOver");
   } else {
      so.setVolume(100);
      this.gotoAndStop("onOver");
   }
};
var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.onLoad = function() {
   var videos:Array = this.firstChild.childNodes;
   for (i=0; i<videos.length; i++) {
      videoList.addItem(videos[i].attributes.desc, videos[i].attributes.url);
   }
   ns.play(videoList.getItemAt(0).data);
   videoList.selectedIndex = 0;
};
var vidList:Object = new Object();
vidlist.change = function() {
   ns.play(videoList.getItemAt(videoList.selectedIndex).data);
};
videoList.addEventListener("change", vidList);
vlist.load("videos.xml");


here is my videos.xml file
Code:

<?xml version ="1.0" encoding="ISO-8859-1"?>
<videos>
<video url="vid1.flv" desc="Introduction" />
<video url="05intro.flv" desc="Interviews" />
<video url="vid1.flv" desc="Employee of the Year" />
<video url="vid1.flv" desc="Assistant Superintendent" />
</videos>[/code]

Some People It Updates, Some People Not...
Hey guys -- mainly oldnewbie...I'm having a connection problem -- Heres my code so far...


//Create the LoadVars object and load data into it
ind = new Array();
name = new Array();
team = new Array();
hp = new Array();
ap = new Array();
x = new Array();
y = new Array();

ih = new String()
nh = new String()
th = new String()
hh = new String()
ah = new String()
xh = new String()
yh = new String()

nh = ""
th = ""
hah = ""
xyh = ""

myData = new LoadVars();
myData.load("http://68.59.134.62/live.php");
myData.onLoad = function(succes){
    for(var i=0; i<33; i++){
        ind = this["ind"+i];
        name = this["name"+i];
        team = this["team"+i];
        hp = this["hp"+i];
        ap = this["ap"+i];
        x = this["x"+i];
        y = this["y"+i];
        // A few traces to check...
        
        nh = nh + name + "<br>";
        th = th + team + "<br>";
        hah = hah + hp + ", " + ap + "<br>";
        xyh = xyh + x + ", " + y + "<br>";
        //trace("ind"+i+": "+ind);
        //trace("name"+i+": "+name);
        //trace("team"+i+": "+team);
        //trace("hp"+i+": "+hp);
    }
        NamesTxt.htmlText = nh;
        TeamsTxt.htmlText = th;
        hpapTxt.htmlText = hah;
        xyTxt.htmlText = xyh;

};
myData.unload
myData = null


Now, my problem, I have 2 layers, 1 with the actionscript in like 15 frames (not 15 keyframes), and the text boxes in a 2nd frame -- now the problem is...some people see it refresh, others dont.

What would be the best way to be refreshing this php in flash?? -- if the people go to live.php in IE -- and hit refresh, it takes no time at all to refresh all the data.

Why are some people not getting the refresh and others are?

Oldnewbie, if you want the files to look at email me at tktiger@tkwired.com -- I will send them to you...I need to have everyone that sees the flash document to be able to be getting these refreshed values pretty quickly.

[F8] Pop Up To Play A Video
I'm making my portfolio and I have a dynamic slideshow that works well for still images.

I tried adding an embedded video. When I did that, for some unknown reason the slideshow stopped working.

I haven't have the heart to try to fix this up, so to disply the movie, I thought that I could have the movie play in a pop-up window by another app (like quicktime).

is this possible and if yes how?

Thanks

p.

Play Video
I want to create a swf file to embed on a webpage. I want the swf to play a video at runtime (passed as a parameter). Can this be done ?


I tried this without success in a FLV object

var vid:NetConnection = new NetConnection();
vid.connect(null);
var vidstr:NetStream= NetStream(vid);
vidstr.play("fire.flv");
vFLV.attachVideo(vidstr);

var dur:Number =0;

vidstr.onMetaData = function(oMData:Object ):Void {
dur=oMData.duration;
};

Next-next-next Video Won't Play
Here is a description of the flash file in question:
On the stage is a video object and a next and previous button. In the code there is an array of strings that is a list of .flv file names. The next button increments the current video number, and then plays the next .flv in the list. The previous button, decrements the variable and plays the previous .flv. Very simple.

Here's the problem:
Apparently, when viewing the .swf in Safari (either mac or windows), if you hit the next or previous button repeatedly and very rapidly a few times, the video that is supposed to play at that point doesn't. The video player just remains blank. If you hit the buttons at, say, 1 second intervals, the videos play with no problem. So it has to do with how rapidly you hit the buttons. And apparently (from my initial tests) this problem does not occur in Internet Explorer. It does seem to occur occaisionally in Firefox. But in Safari the problem seem pretty consistent.

I have tried doing a ns.close() before playing the next .flv, I tried putting in a pause before playing via setTimeout, nothing seems to help. Does anyone have any insight into this problem?

The test can be seen at: http://www.donaustencreative.com/test.html. Open this URL in Safari, and as soon as the first video starts playing, hit the next button like 3 or 4 times as fast as you can. At this point the video player should be blank. Now hit next or previous a few times at 1 or 2 second intervals, and the videos should play fine.

Here is the code:

Code:
stop();

var videoList:Array = new Array;
var numVids:Number;
var currVideo:Number = 0;
var vidPath:String = "media/";

videoList = [
"TOSTIDOS_The_Audit.flv",
"LITTLE_CAESARS_Vegetarian_Society.flv",
"LITTLE_CAESARS_High_Chair.flv",
"JIFFY_LUBE_Vegas.flv",
"ATT_Neighbor.flv",
"ATT_Sweden.flv",
"LITTLE_CAESARS_Patty_and_Roger.flv",
"DAILY_SOUP_Pee_Soup.flv",
"DAILY_SOUP_Park_Bench.flv",
"LITTLE_CAESARS_Gurney.flv",
"DelsumElevator.flv"];

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);

currVideo = 0;
numVids = videoList.length;
ns.play(vidPath + videoList[currVideo]);

btnRwd.onRelease = function() {
if (currVideo > 0) {
currVideo--;
ns.play(vidPath + videoList[currVideo]);
}
}

btnFfwd.onRelease = function() {
if (currVideo < numVids-1) {
currVideo++;
ns.play(vidPath + videoList[currVideo]);
}
}

Play Video Only Once
Hello Guys

I have designed a flash movie player, it gives a user the option to select between four videos, the video starts playing once the selection is made. I have give the option to stop, pause, and rewind. so far the flash works perfect.

Now what i am looking for is once the video is over, it should not start again

actually i will be using mepg files, but for now i am using swf files,

I have place this code on frame 10

container.loadMovie("ball.swf");
container.play();

and this code on frame 20

stop();
this.onEnterFrame = function() {
if (container._currentframe == container._totalframes && container._currentframe >= 100) {
unloadMovie(_root.videos.container);
_root.gotoAndPlay("pic");
}
};

can someone please help me on this

Thanking you
Shriram

Play Video
I want to create a swf file to embed on a webpage. I want the swf to play a video at runtime (passed as a parameter). Can this be done ?


I tried this without success in a FLV object

var vid:NetConnection = new NetConnection();
vid.connect(null);
var vidstr:NetStream= NetStream(vid);
vidstr.play("fire.flv");
vFLV.attachVideo(vidstr);

var dur:Number =0;

vidstr.onMetaData = function(oMData:Object ):Void {
dur=oMData.duration;
};

Play Video.
Can any Way To Play External Video File In Flash.ie,By Using Load Movie() We Can Play The External swf.Like That Any Function Are Available ,Or Any Other way Other Than Importing Video In File Menu.

Video Won't Play More Than Once
My video is in a swf that just has the video in it done by the video component. That swf is imported into my main movie. It appears fine the first time, but if the user closes and repoens the video, only the player controls appear and no video. Any ideas? thanks
Dan

Help Play Video In Two Swf
Does anyone know how to play same video at same time in two different swf files. If I refresh second SWF file then video can not start from starting it will play from same position where the first video plays like in camera live streaming.


I am using Flash 8 and Actionscript 2.0
Reference of mogulus.com

Anybody knows solution for this please help me!!!

My Video Won't Play
Hello .... I'm embedded a short video sequence into my website. It played perfectly when tested on my browser - but now I've uploaded the site, it just doesn't appear.

Has anyone got any ideas?

cheers

How To Play FLV Ad Before FLV Video?
I have a Flash video player (FLV). I want to auto play a FLV ad before I play the video. It would be great to have the Ad random if possible, but that's not necessary. Any suggestions?

Would the best way be to pass the ad FLV & mail FLV path in the EMBED tag, then use AS to play it? If so, any sample code? I'm VERY NEW to AS and am lost.

Thanks in advance. You all are great!!!!

Flv Video Does Not Play On The Web
swf video does not play on the web, but it plays in Dreamweaver preview

http://happynick.com/sheflash/index.html - its says flv is missing on window activity on safari

Play Video
I want to create a swf file to embed on a webpage. I want the swf to play a video at runtime (passed as a parameter). Can this be done ?


I tried this without success in a FLV object

var vid:NetConnection = new NetConnection();
vid.connect(null);
var vidstr:NetStream= NetStream(vid);
vidstr.play("fire.flv");
vFLV.attachVideo(vidstr);

var dur:Number =0;

vidstr.onMetaData = function(oMData:Object ):Void {
dur=oMData.duration;
};

Next Video Won't Play
Here is a description of the flash file in question:
On the stage is a video object and a next and previous button. In the code there is an array of strings that is a list of .flv file names. The next button increments the current video number, and then plays the next .flv in the list. The previous button, decrements the variable and plays the previous .flv. Very simple.

Here's the problem::
Apparently, when viewing the .swf in Safari, (and FIrefox, tho it seems more intermittent) if you hit the next or previous button repeatedly and very rapidly a few times, the video that is supposed to play at that point doesn't. The video player just remains blank. If you hit the buttons at, say, 1 second intervals, the videos play with no problem. So it has to do with how rapidly you hit the buttons. And apparently (from my initial tests) this problem does not occur in Internet Explorer.

I have tried doing a ns.close() before playing the next .flv, I tried putting in a pause before playing via setTimeout, nothing seems to help. Does anyone have any insight into this problem?

The test can be seen at: http://www.donaustencreative.com/test.html - Open this URL in Safari, and as soon as the first video starts playing, hit the next button like 3 or 4 times as fast as you can. At this point the video player should just sit there blank. Now hit next or previous a few times at 1 or 2 second intervals, and the videos should play fine. I could post the code, but it is literally as simple as I described above.





























Edited: 08/29/2007 at 05:41:58 PM by fisheye999

PLay Video.
Can any Way To Play External Video File In Flash.ie,By Using Load Movie() We Can Play The External swf.Like That Any Function Are Available ,Or Any Other way.

Play Next Video
I'm trying to make my video player to play the next video when the current video it's done... but I don't know why the code is not working how it should...

Here is the whole code, I think I have to add a line or two of code but I don't really know where... :)

This is the video player I'm working on:
http://vamapaull.com/video/

Code:

//--------NETCONNECTION SETUP--------------
var nc:NetConnection = new NetConnection();
nc.connect(null);

//--------NETSTREAM SETUP------------------
var ns:NetStream = new NetStream(nc);

ns.onStatus = function(info) {
   if(info.code == "NetStream.Play.Start") {
      progressBar.onEnterFrame = videoUpdate;
   }
   if(info.code == "NetStream.Play.Stop") { //when at the end of a video
      whoIsOn++;
         
      if (whoIsOn>=videoList.length) { //you are on the last video
       whoIsOn=0; //go back to 1st video
      }   
   //otherwise you are NOT on the last video...go on
      trace("whoIsOn = "+whoIsOn);
      ns.play(videoList.getItemAt(whoIsOn).data);
        videoList.selectedIndex = whoIsOn;
   }
}
var myDuration:String; //NOT Number

ns.onMetaData = function(info) {
   ns.duration = info.duration;
   myDuration = getTimecode(ns.duration);
}

//--------ATTACHING NETSTREAM--------------
video.attachVideo(ns);

//--------PLAYING EXTERNAL FLV-------------
//ns.play("http://lax-v122.lax.youtube.com/get_video?video_id=zsbGkqvSC64");
//ns.play("http://lax-v74.lax.youtube.com/get_video?video_id=toHQ3eUH5Ek");

//------------REWIND BUTTON----------------
rewind.onRelease = function() {
   ns.seek(0);
}

//------------PLAY PAUSE TOGGLE-------------
playPause.onRollOver = function() {
   if(this._currentframe == 1) {
      this.gotoAndStop("pauseOver");
   }
   else {
      this.gotoAndStop("playOver");
   }
}

playPause.onRollOut = function() {
   if(this._currentframe == 10) {
      this.gotoAndStop("pause");
   }
   else {
      this.gotoAndStop("play");
   }
}

playPause.onRelease = function() {
   if(this._currentframe == 10) {
      this.gotoAndStop("playOver");
      ns.pause(true);
   }
   else {
      this.gotoAndStop("pauseOver");
      ns.pause(false);
   }
}

playPause.onKeyDown = function() {
   if (Key.isDown(Key.SPACE)) {
      if(this._currentframe == 10) {
         this.gotoAndStop("playOver");
         ns.pause(true);
      }
      else{
         this.gotoAndStop("pauseOver");
         ns.pause(false);
      }
   }
};
Key.addListener(playPause);

//------------LOADBAR-------------
loadbar.onEnterFrame = function() {
   this._xscale = (ns.bytesLoaded/ns.bytesTotal)*100;
   if(this._xscale == 100) {
      delete this.onEnterFrame;
   }
}

//------------VIDEO UPDATE-----------
function videoUpdate() {
   loadbar._xscale = (ns.bytesLoaded/ns.bytesTotal)*100;
   progressBar._xscale = (ns.time/ns.duration)*100;
   timecode.text = getTimecode(ns.time) + " / " + myDuration;
}

//------------VIDEO SCRUBBER----------
loadbar.onPress = function() {
   progressBar.onEnterFrame = videoScrub;
}

loadbar.onRelease = loadbar.onReleaseOutside = function() {
   progressBar.onEnterFrame = videoUpdate;
}

function videoScrub() {
   var dist:Number = (_root._xmouse-loadbar._x)/loadbar._width;
   ns.seek(Math.floor(ns.duration*dist));
   progressBar._xscale = (ns.time/ns.duration)*100;
   timecode.text = getTimecode(ns.time) + " / " + myDuration;
}

//don't want to use hand cursor for scrollbar and sound volume
loadbar.useHandCursor = false;
volBottom.useHandCursor = false;
//------------TIME CODE----------
function getTimecode(theTime) {
   var t:Number = Math.round(theTime);
   var min:Number = Math.floor(t/60);
   var sec:Number = t%60;
   var s:String = "";
   if(min < 10) {
      s += "0";
   }
   if(min >= 1) {
      s += min.toString();
   }
   else {
      s += "0";
   }
   s += ":";
   if(sec < 10) {
      s += "0";
      s += sec.toString();
   }
   else {
      s += sec.toString();
   }
   return s;
}
//-----------AUDIO CONTROLS----------
this.createEmptyMovieClip("vidSound",2);
vidSound.attachAudio(ns);
var vSound:Sound = new Sound(vidSound);
vSound.setVolume(75);

volScrub._xscale = 75;

volBottom.onPress = function() {
   adjustSound();
   this.onMouseMove = adjustSound;
}

volBottom.onRelease = volBottom.onReleaseOutside = function() {
   delete this.onMouseMove;
}

function adjustSound() {
   var dist:Number = Math.floor(((_root._xmouse-volBottom._x)/volBottom._width)*100);
   if(dist >= 0 && dist <= 100) {
      volScrub._xscale = dist;
      vSound.setVolume(dist);
   }
}
//-----------------------------
preloader._visible = true;
choose._visible = false;
//the xml tree list
//var xmlfile:String = "video_tree.xml?cachebuster=" + new Date().getTime();
var xmlfile:String = "video_tree.xml";
var xml:XML = new XML();
xml.ignoreWhite = true;


xml.onLoad = function(success) : Void {
   if(success)
   {
      //ns.play("http://lax-v74.lax.youtube.com/get_video?video_id=toHQ3eUH5Ek");
      preloader.gotoAndStop(1);
      preloader._visible = false;
      choose._visible = true;
      choose.gotoAndPlay(2);
   }
   else
   {
      trace("Error loading XML file");
   }
   theTree.dataProvider = this.firstChild;
}

xml.load(xmlfile);

var treeL:Object = new Object();
treeL.change = function(eventObject) {
   var theSelectedNode = eventObject.target.selectedNode;
   if(_root.theTree.getIsBranch(theSelectedNode)){
   theTree.setIsOpen (theSelectedNode, true,true);
   theTree.setIsOpen (theSelectedNode, false,true);
   }
   var item = theTree.selectedItem;
   var earl = item.attributes.url;
   if (earl) {
   }
   ns.play(earl);
   loadInt = setInterval(loadFunction,50);
   //buffclip._visible = true;
   topBar.loadhit.down.onRelease = function(){
         getURL(earl, "_blank");
   }
};

theTree.addEventListener("change",treeL);

How Do I Play Video In Flash
Can anyone tell me what I need to do to put a video file into a Flash file??? What is the procedure and what files/extensions can be used??
design o.d.

Video Play And Stop
Hello,

i placed a video on my flash movie. I created 5 buttons. Is it possible to make the video stop, play, pause, go forward and go back with actionscript?

Is it also possible to stream a video?

I am using Flash MX (Not 2004)

Thanks,
Miguel

Best Way To Play Video..version MX
hello,
i have a 3 minute music video in quicktime format that i would like to play over the web with the shortest download time possible.
the rest of my site is entirely flash, so i would have to link to the video from flash or embed the video. i have tried embedding the video using the streaming function but with no success, however i could be doing something wrong here.
can anyone make any suggestions as to what may be the best way forward.
thanks in anticipation.
geronimo

VIDEO Only Needs To Play Initially...
So my php skills are sweet but my flash/actionscript skills are not...

I have a movie clip that needs to play the FIRST time a user visits a page, but should they return to the page, the movie clip will skip to the ending portion...
this entire process can be reset if they close the browser... ie: the page does not have to remember them long term... i would like to avoid using cookies at all costs...

PLEASE HELP!
THANK YOU IN ADVANCE!

Play Video Without Compression
How to play a video in flash without compression and without making the sound delay? (the video is 320*240)

How Do You Play A Video Clip?
I have been trying to get a movie clip to play through once but it wont play and it just stays still nomater how many frames I add to the backround. please help me.

Stream_us.play Video Name?
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play("http://www.helpexamples.com/flash/video/typing_short.flv");

I replaced video name to my_video.flv. I created my_video.flv and save in WEB folder.

But it doesn't work, I tried many times, but it didn;t work at all. Please HEEEELP me!!!

Play Video Continues
hi, cand anybody tell me, if is any possibilities to play a video continuos, without stoping ? PLS reply



sorry for my english

SWF Video Won't Play Remotely
Hi!

I have created an SWF file with a FVL movie embedded in it. Everything works fine when it is on my local machine. It will even work if I copy both the SWF & FLV files to a mapped network drive. My problem occurs when I try to access it either through my browser or by using windows explorer to open it (Eg. \remotepcsharefile.swf). I just get a blank white webpage or if I'm trying to open it with the flash viewer, nothing happens.

Any ideas?

Video Doesn't Play
Why doesn't this load the video?

It is a Red5 Server:


ActionScript Code:
nc = new NetConnection();
nc.connect("rtmp://localhost:1935/demo");
nc.onStatus = function(obj){
    for(e in obj){
        //trace(obj[e]);
        if(obj[e] == 'NetConnection.Connect.Success'){
            var ns:NetStream = new NetStream(nc);
            myVid.attachVideo(ns);
            ns.play("http://localhost:6666/EO.flv");
           
            break;
        }else{
            //trace("no connection");
        }
    }
}

Play Same Video In Two Files
Hi, I want to play same video at same time in two different file like camera live streaming. If I refresh second file then also video play from the point where video in first file no from starting.
I am using Flash 8 and Actionscript 2.0.

Can anyone help me!!!
I attached the whole file.

About Play External Fla Video
when I cakk function play_video as following:

"

play_video("absc122");

function play_video(video_id) {
var my_video:Video; //
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.setBufferTime(5);
my_ns.play(video_id+".flv");
}

".

it does not work.
but when run same code as "
var my_video:Video; //
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.setBufferTime(5);
my_ns.play(video_id+".flv");
"
without that function, it works.

what's the problem with tha function?

please help !

FLV Video Won't Play On Webhost
I have an embedded flash file in an ASP.NET page. This flash file passes a FlashVar to tell it what video to play from the database. This works great on my localhost (PC) when I'm testing the app. When I upload it to the server though the flv file that is accessed won't play on my webhost. I've searched for an answer and tried to mess with the MIME types (using 2003 server and IIS 6) but to no avail. Has anyone else had this problem?

Play External Video In CD-ROM
Hi,
I'm building a flash presentation which will be deployed as a flash projector (.exe) in a CD.ROM.

I need to play a video (.flv) inside the presentation, which is stored in a folder next to the .exe. I inserted an instance of the FLVPlayback component on stage, filled out the parameters, but can't get it to work!!

After setting the "contentPath" parameter, the component resizes to the movie size, so I guess it found it... but when I publish the flash file and test the projector, nothing shows in the flv player (using relative or absolute paths)

What parameters should I use to make this symbol find the .flv video? Can someone help me or point me to some tutorial? I can't seem to find any...

Thanks,
Carlos

Video Play Time
I'm kinda new to flash but I plan on using it for my site to put EVERYTHING in flash since I have a lot of video and I believe flash is the best way to go.

So I was wondering how would I display the length of a video along with the time its on while its playing(like the videos on youtube i.e 2:34/5:30)

OnRollOver Play Video
Hello people. I have a problem with something I expected to be simpler.
I have a subject which I shot on a green screen, in order to make the background transparent and the subject to interact with the site.
I already imported the video into the flash movie. Now I would like to get the video playing only when the user rolls over it.
I have tried the following:

video.onRollOver{
play();
}

but it didn't work. I couldn't find any tutorial on the web.
Any suggestion will be highly appreciated.

Dani
Thiez Multimedia

FLV Video Won't Play In Windows
Hi,

I'm creating a stand-alone [projector] flash player presentation. In it, I have a FLV playing. I'm using the FLVPlayback component to play the file. It works perfectly on my Mac, but when I try it out in Windows XP, it doesn't play the video. Everything else in the presentation works fine.

The FLV is about 3 minutes long and is 16.8 MB. It was converted in Quicktime.

Most of the paramaters in the FLVPlayback component are the defaults, with a couple of edits:
autoPlay = true
autoRewind = true
autoSize = false
bufferTime = 0.1
contentPath = Assets/filename.flv
cuePoints = None
isLive = false
skin = ClearOverPlaySeekMute.swf
skinAutoHide = true
totalTime = 0
volume = 100

Using Flash 8 on a Mac.

Any thoughts as to what the problem might be?

Thanks!

Video Doesn't Play To The End
I have tried many different ways to get my flash movie to play all the way through? It is only a 32 second commercial. I start with a .mov file and export out of Quicktime to a .flv file. I pull this into Flash CS3 and create a .fla file. I publish and test and the movie will not play to the end? I'm not sure what to do next? I have exported the .flv out of Quicktime numerous times.

Please help...

http://www.marshallad.com/flash/versato.swf





























Edited: 09/20/2007 at 08:49:31 AM by markad007

Flash Video Won't Play
Hi, I have been trying to figure out this. I am importing a video into flash, I have tried MPG and MOV formats. After I import the video I publish the movie and on my local machine everything seems to work fine, but when I upload all the files to the server (video.HTML, video.FLV, video.SWF, SkinUnderPlaySeekStop.SWF and AC_RunActiveContentJS) I just get to see the "Play Control" with the seek bar trying to connect.

Any Idea what is wrong here?

I found this forum post in another website, I think that person was in the same trouble, but I don't understand how he fixed it. http://forum.powweb.com/showthread.php?t=70406

Thanks in advanced for any help!!

Ato

Play Video Then Show JPG
I am a novice newbie, so please forgive. I am using Flash 8 Pro and Dreamweaver 8.
My goal is to have my web page (landing.htm) play a video (info.flv) then show my ad (ad.jpg) in the same 520w X 278h space.

I used Dreamweaver to make my initial web page and currently plays the video perfect. I simply have know idea where to start to now have it finish with a jpg.

Many Thanks

Hide And Play Video
Is there someone out there who can help an absolute beginner? We´ll see.

The idea is to open a flash site with nothing else to bee seen, as a simple black sqare. but inside this sqare, there should be some innvisible buttons. And if the mousefinger rolls over those buttons, a small video should be visible at a defined place inside the black square, that ends and can be seen after rolling over a button again.
If someone knows how to programm this, please show me the script code for only one button, and in a beginner - easy way- of expanation - thanks A LOT!

Can't Play Video On Device
hi.
I have written a Flash lite application for an N80 that plays video from a URL in 3gp format.Everything works well on the emulator but when I run it on the device i get the error message - error preparing video for playing. I copied the video file straight to the device and it plays well, so I dn't think memory space or format is an issue.
Please help. Thanks.

Video Stop And Play
I wrote an action script that controls the video stop and play. The video Instance was given a name, both stop and play buttons were given a name and an action script was written using event listener. This works. However, my timeline has text objects that are to appear and disappear at certain times (syncronized to the video). When I Control>Test Movie, the video stops and plays when I hit the appropriate button but the timeline just continues playing. Is there some way of stopping the timeline at the same time the video stops??

Swf To Play Mp4 Video File
Is it true that Flash Media player can support playing MPEG-4 video?

What do I need to change in my existing code that plays flv to also play an .mp4 file?

Here is my existing code...

var my_video:Video; // my_video is a Video object on the Stage
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);

my_ns.play(MyParameter); //MyParameter is the .flv that is passed in as a parameter when the swf is started

Publish Video( To Play On A Dvd)
Ya, I'm sure there are other topics about this, but i have no time to look or be very neat right now. I have made a flash video for an assignment but I don't know what to do to change the file type from the generic one to the type id be able to play on a DVD player

instructions in the most simple manner posted as soon as available would be greatly appreciated

How To Add Play Button On The Video
I'm using Flex and Flash Media Server to display multiple videos on a page. Currently, I've the Play, Pause, and Stop buttons displayed under the videos.How do I display an additional Play button on the video itself? Thanks.

FMS Is Running But Video Won't Play
We're running Flash Media Server streaming version 2.0 under Linux. Recently our sysadmin rebooted the whole server and FMS stopped streaming. It's running, and it's listening on the correct ports, but when a user tries to watch a video on the Web site it doesn't play. The Flash Media Player pops up but it just sits there "transferring data" that never arrives. Sysadmin insists nothing was changed on the server itself, and nothing was changed on the FMS config either. We have a pro license so it's not that. mySQL connection is present, everything seems to be is working perfectly but the stream never starts. Help!

thanks in advance

RACER

Play Video File
Hi!
(in MX 2004)
I have six video file into flash presentation and six button.
How can play a video file when press a buton?
any ideea.
TKX

Copyright © 2005-08 www.BigResource.com, All rights reserved