473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Does Embed or Object Tag have "events"?

I want to embed using an embed tag or object tag (like YouTube or others do)
to embed a video file in a web page. I want to know if there is an event
related to the video being done playing. Also are there other events?

Thanx in advance,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Jun 1 '07 #1
3 2552
"Anil Gupte" <an*******@icinema.comschrieb:
>I want to embed using an embed tag or object tag (like YouTube or others
do) to embed a video file in a web page. I want to know if there is an
event related to the video being done playing. Also are there other
events?

ActiveX controls embedded into Web pages can have events. These events are
listed in the documentation and they can be handled using client-side
JavaScript/JScript/VBScript.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jun 2 '07 #2
But how do I get an event? Actually, what I want to do is to use Embed or
Object to show a Flash Video or a Windows Media file. When the video
finished playing, I want to play the next video or redirect to another page.
So, I want to capture the "Done Playing" or whatever event. I could look
for an EOF in the stream, but I am not sure how to do that?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com

"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:uI**************@TK2MSFTNGP04.phx.gbl...
"Anil Gupte" <an*******@icinema.comschrieb:
>>I want to embed using an embed tag or object tag (like YouTube or others
do) to embed a video file in a web page. I want to know if there is an
event related to the video being done playing. Also are there other
events?


ActiveX controls embedded into Web pages can have events. These events
are listed in the documentation and they can be handled using client-side
JavaScript/JScript/VBScript.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jun 5 '07 #3
I only have part of the answer. In IE the script tag supports FOR and EVENT keywords. You can handle a custom ActiveX event in an OBJECT tag like this:

<SCRIPT FOR="MyObjectId" EVENT="MyEvent">
</SCRIPT>

The only part I couldn't figure out is how to retrieve the event parameter if there was one. Anyone know how???

Paul Chan

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Jun 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Lauren Wilson | last post by:
Hello group, Somehow, I have not yet fully understood the meaning and purpose of "DoEvents". Can someone post or point me to a clear, concise explanation of it -- one that includes situational...
0
by: Robin Tucker | last post by:
Hi people, Is it possible for me to handle events raised by an object which is embeded in a web browser control, from my VB.NET code? I am able to gain access to the object itself through the...
2
by: Jonathan | last post by:
Hi I need implement loosely coupled events to raise events in a Classibrary project from one Windows Application project, and hanlde these from other Windows Application project. I found this...
3
by: Ricardo Vazquez | last post by:
THIS IS MY SCENARIO: - PBX (a private telephone exchange or switch) - A Telephony server running on computer "A" (it communicates with the PBX via IP) - An ASP.NET application (running on...
8
by: timor.super | last post by:
Hi group, I would like to simulate something that can be quite similar to "Events". I would like that a member function of a class can be "setted" as an Event and that this method can be called...
6
by: Smithers | last post by:
Just looking to compile a list of "all the ways to implement events". I'm NOT looking to get into the merits or mechanics of each in this thread... just want to identify them all - good, bad, and...
5
by: raylopez99 | last post by:
I understand delegates (static and non-static) and I agree they are very useful, and that the "Forms" used in the Windows .NET API could not work without them. That said, I'm curious as to how...
0
by: miarfej | last post by:
Hi to all.. i am just new here, hoping to find some suggestions. I am writing a code in VC++. It is about creating an activeX control using MFC. This control exposes the properties and methods of...
5
by: phub11 | last post by:
Hi all, I have some onmousedown and onmouseup events that dynamically insert buttons (and input text fields) into a table. However, when I click on one of the buttons (or enter text into one of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.