B. Collier -- FIX THE HTML EMBEDDING FOR VIDEOS!!! (PAW!!)
posted about 12 years ago
Here's the old embed code for youtube:
<object height="360"
width="640"><param name="movie"
value="http://www.youtube.com/watch?v=o7pe3_VQbUM" ><param name="allowFullScreen" value="true"><param
name="allowscriptaccess" value="always"><embed
src="http://www.youtube.com/watch?v=o7pe3_VQbUM"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true"
height="360" width="640"></object>
Okay, here's the template for the old embed code:
Here's what I tried to change it to:
<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/SH3Q6O_7w8?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SH3Q6O_7w8?version=3&hl=en_US" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
still not working. Any tips?
Here's the new embed code:
<iframe width="560" height="315" src="http://www.youtube.com/embed/o7pe3_VQbUM" frameborder="0" allowfullscreen></iframe>
MyUMBC does not support the latter embed code. And youtube just discontinued the 'old embed code.' I can't embed videos on myumbc at all.
Please fix this immediately.
If there is a way to embed videos and someone knows how to do it, please tell us below.
Thanks, everyone.
Here is the template code:
<object height="315" width="560"><param name="movie" value="http://www.youtube.com/v/xSH3Q6O_7w8?version=3&hl=en_US"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/xSH3Q6O_7w8?version=3&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="315" width="560"></object>
You take the 11 characters that are immediately to the right of the watch?v= in youtube and you place them in the above template immediately to the right of the youtube.com/v/ (replacing the 11 characters there, which above are xSH3Q6O_7w8 ).
You do this in both locations, and your video will work. (Ahmad, feel free to copy this section into your 'support thread.')
**Boldface is added for clarity, it is not part of the actual code.
You have me and only me to thank, because I figured this out by myself. Gregorio Vazquez was being a jackass the entire time, so don't believe anything he says. Thanks everyone.
<object height="360"
width="640"><param name="movie"
value="http://www.youtube.com/watch?v=o7pe3_VQbUM" ><param name="allowFullScreen" value="true"><param
name="allowscriptaccess" value="always"><embed
src="http://www.youtube.com/watch?v=o7pe3_VQbUM"
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true"
height="360" width="640"></object>
Okay, here's the template for the old embed code:
<objectwidth="420"height="315"><paramname="movie"value="http://www.youtube.com/v/YD4isUSWHfM?version=3&hl=en_US"></param><paramname="allowFullScreen"value="true"></param><paramname="allowscriptaccess"value="always"></param><embedsrc="http://www.youtube.com/v/YD4isUSWHfM?version=3&hl=en_US"type="application/x-shockwave-flash"width="420"height="315"allowscriptaccess="always"allowfullscreen="true"></embed></object>
Here's what I tried to change it to:
<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/SH3Q6O_7w8?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SH3Q6O_7w8?version=3&hl=en_US" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
still not working. Any tips?
Here's the new embed code:
<iframe width="560" height="315" src="http://www.youtube.com/embed/o7pe3_VQbUM" frameborder="0" allowfullscreen></iframe>
MyUMBC does not support the latter embed code. And youtube just discontinued the 'old embed code.' I can't embed videos on myumbc at all.
Please fix this immediately.
If there is a way to embed videos and someone knows how to do it, please tell us below.
Paw this to get the myumbc programmers' attention so that they'll deal with this video.
Thanks, everyone.
The conclusion of the matter:
Here is the template code:
<object height="315" width="560"><param name="movie" value="http://www.youtube.com/v/xSH3Q6O_7w8?version=3&hl=en_US"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/xSH3Q6O_7w8?version=3&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="315" width="560"></object>
You take the 11 characters that are immediately to the right of the watch?v= in youtube and you place them in the above template immediately to the right of the youtube.com/v/ (replacing the 11 characters there, which above are xSH3Q6O_7w8 ).
You do this in both locations, and your video will work. (Ahmad, feel free to copy this section into your 'support thread.')
**Boldface is added for clarity, it is not part of the actual code.
You have me and only me to thank, because I figured this out by myself. Gregorio Vazquez was being a jackass the entire time, so don't believe anything he says. Thanks everyone.
(edited about 12 years ago)