437371 Change embed code input field with dropdown selection
N/A
Sürüyor
İlan edilme: 13 yıldan fazla önce
N/A
Teslimde ödenir
I have a video player at the following address. [login to view URL]
At the bottom of the player is a piece of embed code that says "SHARE 'THE TRIP ++' WITH YOUR FRIENDS:", then has some html in an input field.
I need a dropdown menu to place next to the embed code with three options: 'small' 'medium' and 'large.' Based on the selection, the corresponding code below will replace the embed code in the 'embed code' input field:
---- SMALL CODE BELOW ----
<div style="height: 440px; width: 450px; background:url([login to view URL]) no-repeat;"><embed src="[login to view URL]" flashvars="&desc=The%20Trip%20%2B%2B%20http%3A%2F%2Fthetripped%2Ecom&vdo=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fpromo%2Dvideo%2Emp4&splashscreen=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fposter%2Ejpg" width="320" height="240" allowFullScreen="true" quality="best" wmode="transparent" allowScriptAccess="always" pluginspage="[login to view URL]" type="application/x-shockwave-flash" style="margin-left: 116px; margin-top: 35px;"></embed></div>
-----MEDIUM CODE BELOW-------
<div style="height: 525px; width: 575px; background:url([login to view URL]) no-repeat bottom left;"><embed src="[login to view URL]" flashvars="&desc=The%20Trip%20%2B%2B%20http%3A%2F%2Fthetripped%2Ecom&vdo=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fpromo%2Dvideo%2Emp4&splashscreen=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fposter%2Ejpg" width="450" height="340" allowFullScreen="true" quality="best" wmode="transparent" allowScriptAccess="always" pluginspage="[login to view URL]" type="application/x-shockwave-flash" style="margin-left: 120px; margin-top: 10px;"></embed></div>
------LARGE CODE BELOW--------
<div style="height: 626px; width: 720px; background:url([login to view URL]) no-repeat bottom left;"><embed src="[login to view URL]" flashvars="&desc=The%20Trip%20%2B%2B%20http%3A%2F%2Fthetripped%2Ecom&vdo=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fpromo%2Dvideo%2Emp4&splashscreen=http%3A%2F%2Fthetripped%2Ecom%2Fvideo%2Fposter%2Ejpg" width="550" height="440" allowFullScreen="true" quality="best" wmode="transparent" allowScriptAccess="always" pluginspage="[login to view URL]" type="application/x-shockwave-flash" style="margin-left: 120px; margin-top: 10px;"></embed></div>