Allow your visitors to play YouTube videos on your site, brings your visitors closer to you in a way that is not typical of most websites.
Create a New webpage and name it: Youtube.aspx.
Create a Form with a text field and a Submit button.
Set the Method of the form to [POST
] and the action, set to the same page we are on.
Using an [IF STATEMENT
] allows us to have the content on the same page and only show it when the visitor supplies a YouTube video ID.
And the Submit Button has been fired, with the Value of [Play YouTube Video
The YouTube Object Properties.
The Video will be displayed here.
You can change the values of the width and height to the following.
Going Higher than this can make some visitors' pages too big for their monitor.