Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / July 2004

Tip: Looking for answers? Try searching our database.

Playing MPEG-2 video in IE6.0 browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jacky - 23 Jul 2004 12:52 GMT
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.
name - 25 Jul 2004 07:26 GMT
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.

> 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>
[quoted text clipped - 19 lines]
>
> 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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.