Staredit Network > Forums > Staredit Network > Topic: Youtube - Embedded Videos
Youtube - Embedded Videos
Jun 5 2011, 3:52 am
By: Sand Wraith  

Jun 5 2011, 3:52 am Sand Wraith Post #1



Example post containing the issue: http://www.staredit.net/297494/

If you look at the BB code, each video is separated by merely a space - no line break. However, when posted, there is a line break after each video. This is a detriment to the control of the poster and also to readers of the forum; it leads to unnecessarily tall threads when I honestly want to keep my videos embedded on one line. Thus, it is very annoying.

So is it all right to take less than a minute to fix this?




Jun 5 2011, 4:09 am Apos Post #2

I order you to forgive yourself!

I looked at the code:

<object width="425" height="344">
<br> (This does the line break.)
<param name="movie" value="http://www.youtube.com/v/SomethingGoesHere"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/SomethingGoesHere" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</object>

I went on youtube, and it seems like the new code to embed a video looks like this:
Code
<iframe width="425" height="349" src="http://www.youtube.com/embed/SomethingGoesHere?rel=0" frameborder="0" allowfullscreen></iframe>


Post has been edited 2 time(s), last time on Jun 5 2011, 4:15 am by Apos.




Jun 5 2011, 11:14 pm Aristocrat Post #3



The outdated embed is also causing youtube videos to not show up in SEN posts when viewed through an iDevice. I'm not sure if this is the case with other smartphones/mobile devices.



None.

Jun 6 2011, 12:33 am DavidJCobb Post #4



Quote from Aristocrat
The outdated embed is also causing youtube videos to not show up in SEN posts when viewed through an iDevice. I'm not sure if this is the case with other smartphones/mobile devices.
It's the case with anything that chose HTML5 and not Flash, I think.



None.

Jun 8 2011, 11:30 pm Sand Wraith Post #5



Will we see any fixes or are there other stuff on your plate?




Jun 10 2011, 12:30 am DavidJCobb Post #6



Quote from Sand Wraith
Will we see any fixes or are there other stuff on your plate?
This is part of the core PHP code that translates BBCode into HTML. I can't touch it.

(I can't really touch anything -- as of the last time I tried, months ago, my FTP access wasn't working. But even if it was, I can only access the skin files and this is an issue in the site core.)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:48 am]
Symmetry -- I added a couple more screenshots :)
[09:35 pm]
Symmetry -- hopefully I can provide an awesome map!
[09:26 pm]
Butch -- sounds effing awesome
[08:56 pm]
Symmetry -- I need some more concrete ideas for episode 3. My idea is that you're an emerging consciousness in a Flat Earth experiment trying to escape the cruel grip of science.
[08:53 pm]
Symmetry -- I promise it's moderately fun :hurr:
[05:37 am]
Ultraviolet -- :lol:
[2026-10-18. : 4:11 am]
l)ark_ssj9kevin -- You got me at Rizzagal
[2026-10-18. : 1:22 am]
Symmetry -- https://staredit.net/topic/18946/ <- Look
[2026-10-17. : 2:31 am]
Symmetry -- ...you know what nevermind we're cool
[2026-10-17. : 2:31 am]
Symmetry -- Dammit Moose I always take the center when it's open D:
Please log in to shout.


Members Online: l)ark_ssj9kevin, Roy