Re: Embedding <OBJECT> in ASP.NET

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 -


.



Relevant Pages

  • Re: I can not produce the file *.aspx.designer.vb
    ... That clears up that confusion. ... read about the Web Application Project and see no reason to go that way. ... when I open an .aspx file in Design mode only the ...
    (microsoft.public.dotnet.framework.aspnet)
  • I can not produce the file *.aspx.designer.vb
    ... Useing vs2008 I created a new web site. ... I opened .aspx file to get the tab titled Default.aspx, ... I draged a couple of components on to the .aspx (design) surface. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: n-tier performance trade-off (guidance needed)
    ... > for server farm deployments. ... > from business-logic from data-access is simply good design, ... > every user interaction we instantiate the BL which instantiates the DAL? ... I fully appreciate why a stateless ...
    (microsoft.public.dotnet.general)
  • Re: Xilinx ModelSim VHDL Running Two Models
    ... You say you instantiate the CPU, memory, etc, ... bidirectional signals for me and the group? ... > The usual way is to create a design that will ... > Don't worry about bidirectionnal signals at the testbench level. ...
    (comp.arch.fpga)
  • Re: Collection, collectioneditor and constructor
    ... It's certainly a possible design, and if the editor class is generally the object that creates these members, that's where you'd instantiate it. ... As for "which one and how", you'd instantiate it in the same place you'd instantiate a member that doesn't override the default, and you'd instantiate it in exactly the same way you instantiate any class: ...
    (microsoft.public.dotnet.languages.csharp)