2023-02-23, 01:58 AM
template video_bitchute_embed is similar.
class_parser.php code for both is simple, until they permit variations like youtube uses. Since the rumble video plays without requiring the $queries element, I've dropped it as unnecessary.
And since I'm adding these features for my forum, if it breaks in the future, I'll return with a fix. I've already made so many core edits to fix PHP8 warnings, one more mod to keep track of is a drop in the bucket.
<iframe width="640" height="360" src="https://bitchute.com/embed/{$id}" frameborder="0" allowfullscreen></iframe>
class_parser.php code for both is simple, until they permit variations like youtube uses. Since the rumble video plays without requiring the $queries element, I've dropped it as unnecessary.
case "rumble":
$id = $path[2]; // https://www.rumble.com/embed/vxxxxxx/?pub=xxxx
break;
case "bitchute":
$id = $path[2]; // https://www.bitchute.com/video/xxxxxxx
break;
And since I'm adding these features for my forum, if it breaks in the future, I'll return with a fix. I've already made so many core edits to fix PHP8 warnings, one more mod to keep track of is a drop in the bucket.