Re: Embedding <OBJECT> in ASP.NET
- From: PJ on Development <pjondevelopment@xxxxxxxxx>
- Date: Mon, 12 Nov 2007 13:59:18 -0800
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 <DIV> with 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...@xxxxxxxxxxx> wrote:
"Peter Bromberg [C# MVP]" <pbromb...@xxxxxxxxxxxxxxxxxxxx> wrote in messagenews:374D7C3D-B626-42C4-BF71-ED81CE6DEB81@xxxxxxxxxxxxxxxx
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 <object> in 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 -
.
- Follow-Ups:
- Re: Embedding <OBJECT> in ASP.NET
- From: Barrie Wilson
- Re: Embedding <OBJECT> in ASP.NET
- References:
- Embedding <OBJECT> in ASP.NET
- From: Barrie Wilson
- Re: Embedding <OBJECT> in ASP.NET
- From: Barrie Wilson
- Embedding <OBJECT> in ASP.NET
- Prev by Date: Problem with <div> tags in masterpage not spanning to default.aspx
- Next by Date: Navigation menu question
- Previous by thread: Re: Embedding <OBJECT> in ASP.NET
- Next by thread: Re: Embedding <OBJECT> in ASP.NET
- Index(es):
Relevant Pages
|