Danny
Guest
|
Posted:
Fri Jul 23, 2004 6:25 am Post subject:
Play video in the browser |
|
|
I make a web page which contain two frames. The upper
frame is to play some MPEG-2 video in sequence and the
lower frame is an sliding text (simialr to HTML marquee
effect) written in java applet. I use IE6.0 browser and
window XP. However, I encounter some problems:
First, I write HTML using the <object> tag to play the
video and use javascript to control playing the next video
when one is finished. Everything is fine except that when
the first video is finished and loading the next video to
play, the sliding text which is written in java applet
will stop for a while. (I test under local LAN and the
stop times is about 1-2 seconds) I want to ask why this
problem happen and can this problem be avoided? If yes,
how to avoid this?
Second, I try doing the same things as the first question.
However, in this time, I use HTML+TIME instead of pure
HTML + javascript. The problem is very strange this time.
The sliding text no longer stopped when finish playing one
video and everything is all right. But after 2-3 hours,
the IE6.0 is no responding and everything is stopped (the
videos and the sliding text). During these 2-3 hours
period, I haven't touch the computer and I do not have any
screen saver opening. I just let the browser to continuous
to play the videos sequentially. So I want to ask why the
browser will have no responding in this case and how to
solve this problem.
Thank You.
|
|