473,320 Members | 2,003 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,320 software developers and data experts.

Embedding <OBJECT> in ASP.NET


anyone have any idea why I might be having an impossible time embedding a
YouTube <objectin an .ASPX file:

<object width="425" height="355">
<param name="movie"
value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param>
<param name="wmode" value="transparent"></param>

<embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed>
</object>

(all just copied to the Clipboard from YouTube)

simple stuff ... never had a problem doing this on a web page; in VS 2005
it's hanging in design mode ... won't accept keystrokes, won't save the
file, etc ...

I also cannot figure how you embed WMP in an ASPX page ... I know people do
this stuff all the time

any suggestions?

TIA
BW

Nov 8 '07 #1
5 5416
Hi, BW

Have you tried to paste the code in the Source view and then saving
the file?

Regards,

Paulo Santos
http://pjondevelopment.50webs.com

On Nov 7, 10:30 pm, "Barrie Wilson" <bwil...@nowhere.comwrote:
anyone have any idea why I might be having an impossible time embedding a
YouTube <objectin an .ASPX file:

<object width="425" height="355">
<param name="movie"
value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param>
<param name="wmode" value="transparent"></param>

<embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed>
</object>

(all just copied to the Clipboard from YouTube)

simple stuff ... never had a problem doing this on a web page; in VS 2005
it's hanging in design mode ... won't accept keystrokes, won't save the
file, etc ...

I also cannot figure how you embed WMP in an ASPX page ... I know people do
this stuff all the time

any suggestions?

TIA
BW

Nov 8 '07 #2
As indicated, do this in source view and save the file. WMP can be embedded
with similar tags, there is an entire help section on MSDN for the Windows
Media SDK that has sample code.
-- Peter
http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Barrie Wilson" wrote:
>
anyone have any idea why I might be having an impossible time embedding a
YouTube <objectin an .ASPX file:

<object width="425" height="355">
<param name="movie"
value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param>
<param name="wmode" value="transparent"></param>

<embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed>
</object>

(all just copied to the Clipboard from YouTube)

simple stuff ... never had a problem doing this on a web page; in VS 2005
it's hanging in design mode ... won't accept keystrokes, won't save the
file, etc ...

I also cannot figure how you embed WMP in an ASPX page ... I know people do
this stuff all the time

any suggestions?

TIA
BW

Nov 8 '07 #3

"Peter Bromberg [C# MVP]" <pb*******@yahoo.NoSpamMaam.comwrote in message
news:37**********************************@microsof t.com...
As indicated, do this in source view and save the file. WMP can be
embedded
with similar tags, there is an entire help section on MSDN for the Windows
Media SDK that has sample code.
-- Peter
thanks, Peter ... guess that makes the schmaltzy VS editor as good as
Notepad in this scenario ... oh well ... maybe VS 2008 will be a better
experience; this kind of thing was easy in FrontPage .... what happened?
"Barrie Wilson" wrote:
>>
anyone have any idea why I might be having an impossible time embedding a
YouTube <objectin an .ASPX file:

<object width="425" height="355">
<param name="movie"
value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param>
<param name="wmode" value="transparent"></param>

<embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed>
</object>

(all just copied to the Clipboard from YouTube)

simple stuff ... never had a problem doing this on a web page; in VS
2005
it's hanging in design mode ... won't accept keystrokes, won't save the
file, etc ...

I also cannot figure how you embed WMP in an ASPX page ... I know people
do
this stuff all the time

any suggestions?

TIA
BW


Nov 9 '07 #4
The point is that the VS really instantiate any component of the page
when working in Design view.

It's almost as working with an <DIVwith contentEditable='true'

So VS tries to instantiate the OBJECT and, probably, it's marked
somwhat unfave, and hence the error.

I don't knwo how FrontPage handled this kind of thing, but probably
the two development teams never got a chance to talk about it.. :-P

Regards,

Paulo Santos
http://pjondevelopment.50webs.com

On Nov 9, 12:56 am, "Barrie Wilson" <bwil...@nowhere.comwrote:
"Peter Bromberg [C# MVP]" <pbromb...@yahoo.NoSpamMaam.comwrote in messagenews:37**********************************@m icrosoft.com...
As indicated, do this in source view and save the file. WMP can be
embedded
with similar tags, there is an entire help section on MSDN for the Windows
Media SDK that has sample code.
-- Peter

thanks, Peter ... guess that makes the schmaltzy VS editor as good as
Notepad in this scenario ... oh well ... maybe VS 2008 will be a better
experience; this kind of thing was easy in FrontPage .... what happened?
"Barrie Wilson" wrote:
anyone have any idea why I might be having an impossible time embedding a
YouTube <objectin an .ASPX file:
<object width="425" height="355">
<param name="movie"
value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed>
</object>
(all just copied to the Clipboard from YouTube)
simple stuff ... never had a problem doing this on a web page; in VS
2005
it's hanging in design mode ... won't accept keystrokes, won't save the
file, etc ...
I also cannot figure how you embed WMP in an ASPX page ... I know people
do
this stuff all the time
any suggestions?
TIA
BW- Hide quoted text -

- Show quoted text -

Nov 12 '07 #5

"PJ on Development" <pj*************@gmail.comwrote in message
news:11**********************@d55g2000hsg.googlegr oups.com...
So VS tries to instantiate the OBJECT and, probably, it's marked
somwhat unfave, and hence the error.
yeah .... but it could at least be handled gracefully ...
I don't knwo how FrontPage handled this kind of thing, but probably
the two development teams never got a chance to talk about it.. :-P
wouldn't be the first time at Microsoft ... but maybe it was "intentional"
... as the Softies are so fond of saying these days
Nov 13 '07 #6

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

Similar topics

0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
6
by: Christopher Benson-Manica | last post by:
(I posted this as a reply to my thread about iframes, but I think it may get mostly ignored there.) http://ataru.gomen.org/files/test.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
4
by: KC | last post by:
Could some one explain to me the casting rules for sending generic lists, ex. List<Person>, to a function that accepts List<object>? I cannot get the following easy-cheesy app to work. I get the...
1
by: easy.lin | last post by:
.... <object id="10">door</object> .... I try to write this in clipse XSD editor <element name="object" type="string"> <attribute name="id" type="int"></attribute> </element> but get wrong...
4
by: colson | last post by:
Hi, If I have a class A, and a List<List<object>> containing instances of A. How do I explicitly cast List<List<object>> as List<List<A>>?
4
by: msnews.microsoft.com | last post by:
hello every one i am using media player in internet explorer but i cannot access it directly in code behind, so do you know a way to access it? <object id="video123"...
9
by: Stephan Steiner | last post by:
Hi I seem to have a bit of trouble understanding one bit of how generics work: In C#, every class automatically derives from object, and inherits a bunch of properties (i.e. ToString()). Thus,...
4
by: Alan Silver | last post by:
Hello, I have an <objecttag that is used to display a Flash file. I would like the whole Flash file to be a link. The obvious thought would be to do this... <a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.