![]() |
Disable YouTube autoplay?
Hopefully a small & easy question, but some of my users have found that autoplay can be enabled using the BBCode YouTube tags. Is there any way to disable this?
|
You mean automatically remove the "&autoplay=1" from the end of a link? I've never seen anything like that, but I imagine it wouldn't be too difficult to write such a mod.
Modification Requests/Questions (Unpaid) Personally, if it really got annoying I would just modify our "no spamming" rule to include autoplaying and hand out a few warnings. |
Create a plugin using:
$text = str_replace("&autoplay=1", "&autoplay=0", $text); |
Quote:
I've added it to postbit_display_complete hook, since yeah, I was kinda guessing. By the way, are there any hooks that would work more globally for such things? |
Anyone at all knows how to use that plugin? >.<
I'm not letting this die in the ocean of forgotten threads so easily, the issue is way too annoying. |
Easy thing to do would be to add it to your styles replacement variables.
|
Nope, replacements didn't work, I inputted &autoplay=1 and &autoplay=0, but nothing changed, even for new posts.
|
Try
&autoplay=1 to nothing |
That one worked, thanks~
|
Quote:
|
All times are GMT. The time now is 05:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|