I am making a page that I am limited to Javascipt, CSS, and HTML, is their anyway to make a dynamic object in which I can call different Youtube videos on the embed to change if you click on a link?
So for example:
[Youtube Embed Object] ->Links to different videos
When links are clicked the embed changes to that video.
The limitations are as follows:
Changes registry entries or otherwise writes to another person's computer hard drive.
Creates automatic pop-ups except for links that open in a new window when clicked on.
Is used to drop or read a cookie on any eBay page.
Loads any binary program on another person's computer automatically, except for Flash content.
Overwrites any area in the listing outside of the item description area.
Manipulates areas outside the listing description, including changing fonts, colors, and backgrounds in areas such as eBay headers and footers.
Posts to scripts on eBay automatically.
Redirects the user from eBay to another web page, such as using the "replace" script.
Solution - 1
It sounds like the easiest solution for you would be to create a playlist on youtube, and then you can embed the whole playlist into your page. Then people can switch between the videos using the thumbnails inside the youtube player. Here is a site that describes how to do it:
Solution - 2
Can you use jQuery plugin on your page?
There is [[LINK href="http://www.tikku.com/jquery-youtube-tubeplayer-plugin"]]jQuery tubeplayer plugin [[/LINK]] that has method to not only dynamically play YouTube url video, but other thing such as pause, stop etc
for changing the video on player this is the method
where YtiFjPVZKHI' is the video id on youTube url;
you can visit the plugin homepage and see the demo.
hope this help