What in the world...?
-
- Redshirt
- Posts: 4324
- Joined: Fri May 04, 2007 2:33 pm
- Real Name: Jeremy
- Gender: Male
- Location: Las Vegas, NV
Re: What in the world...?
Okay, fine. We can discuss our future while being spanked. Will that make you happy?
Insert Banner Here
"The internet is bullcrap! And everyone on it is retarded!" - Muspar
"All threads should degenerate into the bumming of JermCool." - Rorschach
"The internet is bullcrap! And everyone on it is retarded!" - Muspar
"All threads should degenerate into the bumming of JermCool." - Rorschach
-
- Redshirt
- Posts: 3147
- Joined: Mon Aug 18, 2003 7:48 pm
- Real Name: Neil
- Gender: Male
- Location: Austin, TX
Re: What in the world...?
Maybe.
It just felt like the spankings were disingenuous is all...
It just felt like the spankings were disingenuous is all...
My sig would have contained the secret of life, but I'd already clicked submit.
-
- Knower of Things
- Posts: 12729
- Joined: Fri Feb 07, 2003 4:11 am
- Real Name: Jarrod Frates
- Gender: Male
- Location: Dallas, TX
Re: What in the world...?
Like this?JermCool wrote:I wonder if 3.2 will allow youtube embedding in browsers outside of IE?
The BBCode needed an update. The BBCode for what's above is:
Code: Select all
[youtube]https://www.youtube.com/watch?v=P99qJGrPNLs[/youtube]
If I show up at your door, chances are you did something to bring me there.
-
- Redshirt
- Posts: 1903
- Joined: Fri May 30, 2003 5:19 pm
- Real Name: Zachary
- Gender: Male
- Location: Seattle, WA
Re: What in the world...?
You marvelous bastard. Also, I see why you raved about Cyberpunk 2077 now, that looks cool.

-
- Redshirt
- Posts: 4324
- Joined: Fri May 04, 2007 2:33 pm
- Real Name: Jeremy
- Gender: Male
- Location: Las Vegas, NV
Re: What in the world...?
And this is why MB is glorious to behold!
Holy crap, that looks bad-ass.
Holy crap, that looks bad-ass.
Insert Banner Here
"The internet is bullcrap! And everyone on it is retarded!" - Muspar
"All threads should degenerate into the bumming of JermCool." - Rorschach
"The internet is bullcrap! And everyone on it is retarded!" - Muspar
"All threads should degenerate into the bumming of JermCool." - Rorschach
-
- Shining Adonis
- Posts: 44268
- Joined: Wed Jul 30, 2003 3:00 pm
- Gender: Male
- Location: Lakehills, TX
Re: What in the world...?
So now we should use the full URL, not just the video ID?
Edited for testing:
[youtube]P99qJGrPNLs[/youtube]
Edited for results: well, yeah, apparently now is the full URL. Good to know! I wonder what happens to previous posts.
Edited for testing:
[youtube]P99qJGrPNLs[/youtube]
Edited for results: well, yeah, apparently now is the full URL. Good to know! I wonder what happens to previous posts.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922
-
- Knower of Things
- Posts: 12729
- Joined: Fri Feb 07, 2003 4:11 am
- Real Name: Jarrod Frates
- Gender: Male
- Location: Dallas, TX
Re: What in the world...?
They're broken, and I could fix them, but I'm not sure there's a major reason to do so. Or I can go back and fix it (maybe), but use a different BBCode for full URLs. That would just add confusion.
I suppose I could technically create a new BBCode for the old ones and do a SQL query to fix them, but that could get ugly.
I suppose I could technically create a new BBCode for the old ones and do a SQL query to fix them, but that could get ugly.
If I show up at your door, chances are you did something to bring me there.
-
- Redshirt
- Posts: 2764
- Joined: Fri May 23, 2003 8:13 pm
- Real Name: Alex
- Gender: Male
- Location: Brooklyn, NY
Re: What in the world...?
Martin Blank wrote:I suppose I could technically create a new BBCode for the old ones and do a SQL query to fix them, but that could get ugly.

"I guess I have a gift for expressing pedestrian tastes. In a way, it's kind of depressing." -Bill Watterson
-
- Knower of Things
- Posts: 12729
- Joined: Fri Feb 07, 2003 4:11 am
- Real Name: Jarrod Frates
- Gender: Male
- Location: Dallas, TX
Re: What in the world...?
Actually, I can probably hit up Brian to put together the code for it. He's become something of a name in the JavaScript coding world.
If I show up at your door, chances are you did something to bring me there.
-
- Redshirt
- Posts: 2764
- Joined: Fri May 23, 2003 8:13 pm
- Real Name: Alex
- Gender: Male
- Location: Brooklyn, NY
Re: What in the world...?
[youtube]dQw4w9WgXcQ[/youtube]
"I guess I have a gift for expressing pedestrian tastes. In a way, it's kind of depressing." -Bill Watterson
-
- Redshirt
- Posts: 2764
- Joined: Fri May 23, 2003 8:13 pm
- Real Name: Alex
- Gender: Male
- Location: Brooklyn, NY
Re: What in the world...?
Code: Select all
document.addEventListener('DOMContentLoaded', function() {
[].slice.call(document.getElementsByClassName('postcontent')).forEach(
function(content) {
var html = content.innerHTML;
if (html.match(/\[youtube\]/)) {
content.innerHTML = html.replace(/\[youtube\]\s*(\w+)\s*\[\/youtube\]/g,
'<iframe width="560" height="315" src="https://www.youtube.com/embed/$1" frameborder="0" allowfullscreen></iframe>');
}
});
});
"I guess I have a gift for expressing pedestrian tastes. In a way, it's kind of depressing." -Bill Watterson
-
- Knower of Things
- Posts: 12729
- Joined: Fri Feb 07, 2003 4:11 am
- Real Name: Jarrod Frates
- Gender: Male
- Location: Dallas, TX
Re: What in the world...?
It's not quite that simple. Here's the BBCode usage:
And here's the HTML replacement:
That is, of course, the Flash version. I'd prefer to have the HTML5 version, which I think is what you provided, NC. If you can tweak it to work with that, I'll get it in place.
Code: Select all
[youtube]{IDENTIFIER}://{SIMPLETEXT1}youtube.com/watch?v={SIMPLETEXT2}[/youtube]
Code: Select all
<object width="425" height="350"><param name="movie" value="{IDENTIFIER}://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}"></param><param name="wmode" value="transparent"></param><embed src="{IDENTIFIER}://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
If I show up at your door, chances are you did something to bring me there.
Who is online
Users browsing this forum: Common Crawl (Research) and 0 guests