Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Remove "http://" From "Insert a Video"

When you go to insert a video, there is already "http://" filled in. If we remove this, it will let users simply copy paste their URLs into the space and be done with it. This promotes simplicity and efficiency IMO. I know it has little importance, but I deal with it often. I get you can just remove it before you paste the link, but we could remove that step.

How it looks if you just copy / paste now:


[vid=youtube]https://www.youtube.com/watch?v=TLeLgq2_B40http://[/video] (breaks link)


My proposal:


[vid=youtube]https://www.youtube.com/watch?v=TLeLgq2_B40http://[/video]
[Image: uw2cCW1.gif]
How hard is it to delete the 7 characters from the alert before pasting your URL?
Je t'aime
[Image: fpZ5a5g.png]
(Apr 22, 2022 04:39 PM)-Scrub Wrote:  Jokes on you, I'm not smart enough to know what he's talking about.
(Sep 27, 2018 06:38 AM)Nachfolger Wrote:  How hard is it to delete the 7 characters from the alert before pasting your URL?

"This promotes simplicity and efficiency IMO. I know it has little importance, but I deal with it often. I get you can just remove it before you paste the link, but we could remove that step."

It's just a small fix. Why does it need to be there? Who's going to type the rest of their link after it? Everyone just copy/pastes so I thought it would save a step. Not a big deal just something I noticed.
[Image: uw2cCW1.gif]
And also potentially creates massive security risks.

Of course we could search for https:// or http:// and not append these prefixes in the event that they exist, but actually removing it altogether is dumb.
Imagine if I could make my URL "javascript:alert('ELITAS');"; now everyone on that page will see an alert box saying "ELITAS". Not 100% sure if this XSS would be possible with youtube videos, but it still creates numerous other issues.

So yeah, not a great solution.
I think the https:// is there for new users. That shows them that all they have to do for the video to appear is to paste a full link in there.
Tell yo' paps you love'm while he here.
(Sep 27, 2018 09:02 AM)Hunion Wrote:  I think the https:// is there for new users. That shows them that all they have to do for the video to appear is to paste a full link in there.

Then a better solution would be to use the placeholder attribute:

[Image: 2018-09-27_18-57-16.gif]
This is more of a MyBB problem with their WYSIWYG. Altering the SCeditor is a pain in the ass. I think it even requires core file edits which I don't bother with over small things like this.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SerialcodeAug 24, 2026 04:48 PM 19 309 Aug 24, 2026 04:48 PM
Last Post: Binance
by Black HatJun 24, 2018 11:59 AM 3 107 Jun 24, 2018 11:59 AM
Last Post: Black Hat
by 1734673Mar 31, 2013 12:39 PM 4 145 Mar 31, 2013 12:39 PM
Last Post: 1734673