.NETGURU
Playing MPEG-2 video in IE6.0 browser
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.jscript.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Jacky (VIP)
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. Here is my code for HTML+TIME:

<html xmlns:time="urn:schemas-microsoft-com:time">
<head>
<?import namespace="time" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
</head>
<body>
<div>
<time:seq player="dvd" style="width:300;height:200" repeatDur="indefinite">
<time:video src="video/a1.mpg" />
<time:video src="video/a2.mpg" />
<time:video src="video/a3.mpg" />
<time:video src="video/a4.mpg" />
<time:video src="video/a5.mpg" />
<time:video src="video/a6.mpg" />
<time:video src="video/a7.mpg" />
<time:video src="video/a8.mpg" />
<time:video src="video/a9.mpg" />
</time:seq>
</div>
</body>
</html>

I can play the video without problem in the first 1-2 hours. However, after 2-3 hours, my IE6.0 browser will become no responding. I want to ask why this happen and how to solve it.

Thank You very much.

Reply to this message...
 
    
name
Memory issues.

Give it a breazer.

Have your page unload/load/reload/refresh periodically.

================

This will also yield to all waiting components you may have monitoring

browser (ads, poups, cache...).

----------------------

It is a law of physics congestion thingy.

Like 300 cars merging/trying to get up the interstate lane
at once, without breaking or stopping.

No matter how careful or fast. It is just not in the stars.

It is like when for a driver's license one had to stop
or fail the test. Remember.

Don't know Mr. Gates physics grades.

And don't know of many people who successfully

ran stop lights for a couple of hours either.

"Jacky" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
> 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:
[Original message clipped]

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?
[Original message clipped]

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. Here is my code for
HTML+TIME:
[Original message clipped]

why this happen and how to solve it.
[Original message clipped]

Reply to this message...
 
    
Jacky (VIP)
Then how can I solve the problem?
Thanks.

"name" wrote:

[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification