Youtube video player in asp.net with c# -


This is my first question in this site.

I'm designing and coding a new website nowadays in Asp.net with C #. My question is:
I want to add a music player (YouTube player) to the default .aspx In short, this website has 4 or 5 other pages and I want to play non-intrusive voice while browsing other pages.

Is it possible or not? And if this is possible, then how? Thank you.
I researched this site on this topic, but I could not find any real answer.

You will not be able to do it with C # or some other purely server-side technology. Once you go to a new page, your embedded YouTube player will be trashed. To get the results, you have to do some work on the client side with Javascript. The simplest (but least least elegant) approach should be "default .aspx", a page that includes the main navigation framework within an iframe. Navigation of the site is then all within the iframe without refreshing "default.aspx".

One problem with this is that the URL does not update the URL in the bar, and the page history is not updated. You can get the Container page navigating to the hash tag pages and get the same kind (like) "such as default.aspx # page1", "default.aspx # page2" etc., at the same time on the original content on iframe 'd page Say "page1.aspx", "page2.aspx" For this, your tool will be javascript object "window.location".

A very cool and cutting edge approach is using something like this.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -