flv sometimes they play often not...

  • floydus
  • Born
  • Born
  • floydus
  • Posts: 3

Post 3+ Months Ago

I've choose to use flv files to display videos into the website I'm making...
On my computer, it does work, I have XP with IE 6.0....
My friend cannot see it, and an other of my friend too(he's got a MAC OS with IE).

I'm posting my code and the url as well, please explain to me why's that.
Can you see the video ?
You have to click "Visite virtuelle" which means virtual visit in English.
Thanks guys, hope I'll be able to help you out when necessary.

http://www.popessa.net/menufr.html

here is the code

Code: [ Select ]
_global.myVids = new Array();
_global.myVids[0] = new new_Movie("best1.flv",1);
_global.myVids[1] = new new_Movie("best2.flv",1);
_global.myVids[2] = new new_Movie("best3.flv",1);
_global.myVids[3] = new new_Movie("best4.flv",1);
_global.myVids[4] = new new_Movie("best5.flv",1);
_global.myVids[5] = new new_Movie("best6.flv",1);
_global.myVids[6] = new new_Movie("best7.flv",1);
_global.myVids[7] = new new_Movie("best8.flv",1);
_global.myVids[8] = new new_Movie("best9.flv",1);
_global.myVids[9] = new new_Movie("best10.flv",1);
_global.myVids[10] = new new_Movie("best11.flv",1);
_global.actual = 0;
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
     var infomsg = infoObject.code;

   if (infomsg == "NetConnection.Connect.Success") {
       statenow = "we connected up, go get the vid";
   } else if (infomsg == "NetConnection.Connect.Rejected") {
       statenow ="somebody doesn't like us...";
   } else if (infomsg == "NetConnection.Connect.Closed") {
       statenow ="did the network go down? or have we failed to connect up?";
   } else if (infomsg == "NetConnection.Connect.Failed") {
       statenow ="server is down, or the URL is wrong, or the app is not defined on the server";
   }

};
//******************************PRELOAD******************************
checkProgress = function (streamObject) {
var bytesLoaded = streamObject.bytesLoaded;
var bytesTotal = streamObject.bytesTotal;
var percentLoaded = Math.floor(bytesLoaded / bytesTotal * 100);
percent = percentLoaded + " %";
if (percentLoaded == 100) {
    txtPercent._visible=false;
    }
else
    txtPercent._visible=true;
}
function new_Movie(txttitle, numb) {
    this.movie = txttitle;
    this.isloaded = false;
    this.txttitle = numb;
}
//*******************************************************************
my_video.attachVideo(netStream);

var poll = setInterval(checkProgress, 100, netStream);

netStream.play(_global.myVids[_global.actual].movie);
image.loadMovie("image/antoine.swf");
titant.gotoAndPlay(2);

Empty._x=-20;
Empty._y=-116;
stop();
  1. _global.myVids = new Array();
  2. _global.myVids[0] = new new_Movie("best1.flv",1);
  3. _global.myVids[1] = new new_Movie("best2.flv",1);
  4. _global.myVids[2] = new new_Movie("best3.flv",1);
  5. _global.myVids[3] = new new_Movie("best4.flv",1);
  6. _global.myVids[4] = new new_Movie("best5.flv",1);
  7. _global.myVids[5] = new new_Movie("best6.flv",1);
  8. _global.myVids[6] = new new_Movie("best7.flv",1);
  9. _global.myVids[7] = new new_Movie("best8.flv",1);
  10. _global.myVids[8] = new new_Movie("best9.flv",1);
  11. _global.myVids[9] = new new_Movie("best10.flv",1);
  12. _global.myVids[10] = new new_Movie("best11.flv",1);
  13. _global.actual = 0;
  14. var netStream:NetStream = new NetStream(netConn);
  15. netStream.onStatus = function(infoObject) {
  16.      var infomsg = infoObject.code;
  17.    if (infomsg == "NetConnection.Connect.Success") {
  18.        statenow = "we connected up, go get the vid";
  19.    } else if (infomsg == "NetConnection.Connect.Rejected") {
  20.        statenow ="somebody doesn't like us...";
  21.    } else if (infomsg == "NetConnection.Connect.Closed") {
  22.        statenow ="did the network go down? or have we failed to connect up?";
  23.    } else if (infomsg == "NetConnection.Connect.Failed") {
  24.        statenow ="server is down, or the URL is wrong, or the app is not defined on the server";
  25.    }
  26. };
  27. //******************************PRELOAD******************************
  28. checkProgress = function (streamObject) {
  29. var bytesLoaded = streamObject.bytesLoaded;
  30. var bytesTotal = streamObject.bytesTotal;
  31. var percentLoaded = Math.floor(bytesLoaded / bytesTotal * 100);
  32. percent = percentLoaded + " %";
  33. if (percentLoaded == 100) {
  34.     txtPercent._visible=false;
  35.     }
  36. else
  37.     txtPercent._visible=true;
  38. }
  39. function new_Movie(txttitle, numb) {
  40.     this.movie = txttitle;
  41.     this.isloaded = false;
  42.     this.txttitle = numb;
  43. }
  44. //*******************************************************************
  45. my_video.attachVideo(netStream);
  46. var poll = setInterval(checkProgress, 100, netStream);
  47. netStream.play(_global.myVids[_global.actual].movie);
  48. image.loadMovie("image/antoine.swf");
  49. titant.gotoAndPlay(2);
  50. Empty._x=-20;
  51. Empty._y=-116;
  52. stop();
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.